CN102622224A - Method for achieving tree-like control piece with search function in Windchill system - Google Patents
Method for achieving tree-like control piece with search function in Windchill system Download PDFInfo
- Publication number
- CN102622224A CN102622224A CN2012100432769A CN201210043276A CN102622224A CN 102622224 A CN102622224 A CN 102622224A CN 2012100432769 A CN2012100432769 A CN 2012100432769A CN 201210043276 A CN201210043276 A CN 201210043276A CN 102622224 A CN102622224 A CN 102622224A
- Authority
- CN
- China
- Prior art keywords
- search
- tree
- function
- jsp
- attribute
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention relates to a method for achieving an tree-like control piece with a search function in a Windchill system, which comprises the steps of enabling a standard type selection page in the Windchill system to be redirected to a customized type selection java server page (JSP); providing a display type tree JSP including a plurality of nodes and radio buttons arranged corresponding to at least partial nodes, and enabling an sid attribute for storing node names, an alt attribute for storing node key values and a title attribute for storing node positions to be arranged on each radio button; adding a search text box, a search button and an iframe control piece directing to the display type tree JSP in the customized type selection JSP; arranging an onclick event for each radio button in the customized type selection JSP; and adding a client site dynamic script at least including an ClickAndHide function to be responsible for the function of automatically unfolding the search nodes after completion of search in the customized type selection JSP. Therefore, the method can achieve dynamic type tree display and support functions of radio, search and the like.
Description
Technical field
The invention relates to Production Lifecycle Management technology, particularly about the secondary exploitation technology of Windchill system.
Background technology
Production Lifecycle Management (Product Lifecycle Management; PLM) belong to a kind of enterprise application system; Information such as various file that seeing through manufactures a product is derived or design drawing; Management product design, co-development, digitizing manufacturing, reclaim and flow process such as scrap, become the application platform that the enterprise practice essence is grown directly from seeds and produced.
The Windchill system is a kind of integrated application software with the Java language exploitation that is provided by PLM solution provider parameter science and technology (PTC); It is from whole file of special project angle close examination product and relevance; The collocation cad tools; Assistance enterprise adopts the feasibility of virtual environment test and analog equipment manufacturing, makes the recessive factor of Operations Supervisor's ability analysis process and cost, obtains production efficiency or lower manufacturing cost faster.
Summary of the invention
The object of the invention is to provide a kind of method that in the Windchill system, realizes the tree-shaped control of band function of search, to strengthen the ease of use of Windchill system.
Therefore, a kind of method that in the Windchill system, realizes the tree-shaped control of band function of search that the embodiment of the invention provides, it comprises step: select page reorientation to the customized type selecting JSP page type in the Windchill system; Display type tree JSP is provided the page; The radio button that comprises a plurality of nodes and corresponding part node at least in this display type tree JSP page and be provided with respectively; Each radio button is provided with sid attribute, alt attribute and title attribute, and wherein the sid attribute is deposited the title of corresponding node, key assignments and the title attribute that the alt attribute is deposited corresponding node deposited the position of corresponding node in the type tree; In the customized type selecting JSP page, increase search text box, search button and iframe control, this iframe control points to the display type tree JSP page to be responsible for the display type tree; In the customized type selecting JSP page, the onclick incident is set respectively for each radio button in the display type tree JSP page; And in the customized type selecting JSP page, increasing the client dynamic script, this client dynamic script comprises the ClickandHide function at least and after being responsible for accomplishing search, is deployed into the function of searching for node automatically.
In embodiments of the present invention, above-mentioned client dynamic script for example also comprises the autoResize function and chooses radio button with the self-adaptation height function of being responsible for the iframe control, CheckRadio function when being responsible for search automatically to be responsible for the initialization page and/or toclick function; Above-mentioned sid attribute is deposited the title of corresponding node to be used for when carrying out search, can accurately navigating to this correspondence node, and above-mentioned title attribute is deposited the position of corresponding node in the type tree to be used for when carrying out search, can automatically the type tree successively being deployed into this correspondence node.
In embodiments of the present invention, above-mentionedly select page reorientation for example to be the type in the Windchill system: through operation xconfmanager order realization in the shell of Windchill system to the step of the customized type selecting JSP page.
The embodiment of the invention is through increasing radio button and being radio button increase onclick incident; Make tree-shaped control of the present invention can use in the Windchill systemic-function; Through for radio button increases sid, alt, three attributes of title, make tree-shaped control of the present invention have function of search and the automatic function of launching contraction in addition; So, the user of Windchill system can realize in various browsers very easily that dynamic type tree shows, and supports functions such as single choosing and search.
Above-mentioned explanation only is the general introduction of technical scheme of the present invention; Understand technological means of the present invention in order can more to know; And can implement according to the content of instructions, and for let above and other objects of the present invention, feature and advantage can be more obviously understandable, below special act preferred embodiment; And conjunction with figs., specify as follows.
Description of drawings
Fig. 1 is the embodiment of the invention shows the tree-shaped control of being with function of search in the Windchill system a view.
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention; Below in conjunction with accompanying drawing and preferred embodiment; To a kind of its embodiment of method, structure, characteristic and the effect thereof that in the Windchill system, realizes the tree-shaped control of band function of search that proposes according to the present invention, specify as after.
Fig. 1 is the embodiment of the invention shows the tree-shaped control of being with function of search in the Windchill system a view.To combine Fig. 1 that the method for the tree-shaped control 10 of realization band function of search in the Windchill system that the embodiment of the invention proposes is elaborated below.
At first; Select page reorientation to customized type selecting JSP (JavaServer Page the type of Windchill system through operation xconfmanager order in the shell of Windchill system; Java service end webpage) page 11 defineItemWizStep.jsp for example, specific instructions can be: xconfmanager-s wt.services/rsc/default/com.ptc.netmarkets.util.misc.Fil ePathFactory/define ItemWizStep/wt.doc.WTDocument/0=/netmarkets/jsp/ext/geel y/document/def ineItem WizStep.jsp-t codebase/typedservices.properties-p.
Secondly, the display type tree JSP page 13 is provided, embodiment for example is: in the Windchill system, storing the type structure of building according to the practical business scene, and guaranteeing that the storage of data is that compliance with system requires and the data storage standard; According to system modelling understand between the data object incidence relation and with the corresponding relation of practical business; A newly-increased again modeling object (for example name is called DocTypeDisplay) is used to encapsulate the final data that checks out, and this newly-increased modeling object DocTypeDisplay must comprise in the practical business and required attribute when building tree construction; Type package result according to the tree-shaped mapping structure (TreeMap) of relational query between Windchill system object WTTypeDefinitionMaster and the WTTypeDefinition and the modeling object DocTypeDisplay that obtains increasing newly supplies system call afterwards; Next travel through resulting encapsulated result, build type tree, and in type is set title (caption) attribute of the part node 131 in a plurality of nodes 131, increase the radio button (Radio) 133 that is used for selecting according to the form of expectation; In addition; In each radio button 133, increase sid, alt, three attributes of title more respectively; Wherein, The sid attribute is deposited the title of corresponding node 131 to be used for when carrying out function of search, can accurate localization arriving this correspondence node 131; The alt attribute is deposited key (key) value of corresponding node 131, the title attribute deposit the position of corresponding node 131 in type tree (also promptly should the correspondence node with the top layer node between relation) successively be deployed into this corresponding node 131 to be used for when carrying out function of search, can automatically type being set.So far, realize for example tree.jsp of this display type tree JSP page 13.
Next, for example increase search text box 111, search button 113 and iframe control 115 among the defineItemWizStep.jsp at the customized type selecting JSP page 11; Wherein, the search condition input when search text box 111 is responsible for type search, search button 113 is responsible for triggering inquiry/search events, iframe control 115 point to the display types tree JSP pages 13 for example tree.jsp to be responsible for the demonstration that type is set.
Then; The customized type selecting JSP page 11 for example among the defineItemWizStep.jsp for the display type tree JSP page 13 for example each radio button 133 among the tree.jsp increase the onclick incident respectively so that the user can click radio button 133.
For example increase client dynamic script (Javascript) among the defineItemWizStep.jsp at the customized type selecting JSP page 11 at last, make display page have dynamic function.Wherein, the client dynamic script for example comprises one or more in ClickAndHide, autoResize, CheckRadio and the toclick function.Wherein, The ClickandHide function is deployed into the function of searching for node after being responsible for accomplishing search automatically; The autoResize function is responsible for the self-adaptation height function of iframe control 115; Make the height of the page with the expansion of type tree with shrink automatically and change, the CheckRadio function is responsible for the initialization display type tree JSP page 13, and the toclick function is responsible for when search, removing to choose automatically radio button 133.
After accomplishing above-mentioned steps; In the time of in the use of Windchill system, need using the Doctype selection; For example the user carries out the new document function; Then can click [new document] button in the toolbar in the Windchill system, system will show tree-shaped control 10 pages of band function of search as shown in Figure 1.In addition, need to prove that the narrative order of above-mentioned each step is merely convenient and describes, and is not the sequencing that is used for limiting each step.
By on can know; The embodiment of the invention is through increasing radio button and being radio button increase onclick incident; Make tree-shaped control of the present invention can use in the Windchill systemic-function; Through for radio button increases sid, alt, three attributes of title, make tree-shaped control of the present invention have function of search and the automatic function of launching contraction in addition; So, the user of Windchill system can realize in various browsers very easily that dynamic type tree shows, and supports functions such as single choosing and search.
The above only is preferred embodiment of the present invention, is not the present invention is done any pro forma restriction; Though the present invention discloses as above with preferred embodiment; Yet be not in order to limiting the present invention, anyly be familiar with the professional and technical personnel, in not breaking away from technical scheme scope of the present invention; When the technology contents of above-mentioned announcement capable of using is made a little change or is modified to the equivalent embodiment of equivalent variations; In every case be not break away from technical scheme content of the present invention, to any simple modification, equivalent variations and modification that above embodiment did, all still belong in the scope of technical scheme of the present invention according to technical spirit of the present invention.
Claims (7)
1. method that in the Windchill system, realizes the tree-shaped control of band function of search comprises step:
Select page reorientation to the customized type selecting JSP page type in the Windchill system;
Display type tree JSP is provided the page; The radio button that comprises a plurality of nodes and corresponding part node at least in this display type tree JSP page and be provided with respectively; Each radio button is provided with sid attribute, alt attribute and title attribute, and this sid attribute is deposited the title of corresponding node, key assignments and this title attribute that this alt attribute is deposited corresponding node deposited the position of corresponding node in the type tree;
In this customized type selecting JSP page, increase search text box, search button and iframe control, this iframe control points to this display type tree JSP page to be responsible for showing the type tree;
In this customized type selecting JSP page, the onclick incident is set respectively for each radio button in this display type tree JSP page; And
In this customized type selecting JSP page, increase the client dynamic script, this client dynamic script comprises the ClickAndHide function at least and after being responsible for accomplishing search, is deployed into the function of searching for node automatically.
2. the method that in the Windchill system, realizes the tree-shaped control of band function of search as claimed in claim 1 is characterized in that:
This client dynamic script also comprises the autoResize function to be responsible for the self-adaptation height function of this iframe control.
3. the method that in the Windchill system, realizes the tree-shaped control of band function of search as claimed in claim 1 is characterized in that:
This client dynamic script also comprises the CheckRadio function to be responsible for this display type tree JSP page of initialization.
4. the method that in the Windchill system, realizes the tree-shaped control of band function of search as claimed in claim 1 is characterized in that:
When also comprising the toclick function with responsible search, this client dynamic script chooses radio button automatically.
5. the method that in the Windchill system, realizes the tree-shaped control of band function of search as claimed in claim 1 is characterized in that:
Said sid attribute is deposited the title of corresponding node to be used for when carrying out search, can accurately navigating to this correspondence node.
6. the method that in the Windchill system, realizes the tree-shaped control of band function of search as claimed in claim 1 is characterized in that:
Said title attribute is deposited the position of corresponding node in the type tree to be used for when carrying out search, can automatically the type tree successively being deployed into this correspondence node.
7. like any described method that in the Windchill system, realizes the tree-shaped control of band function of search of claim 1 to 6, it is characterized in that:
It is to realize through operation xconfmanager order in the shell of Windchill system to the step of the customized type selecting JSP page that type in the Windchill system is selected page reorientation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210043276.9A CN102622224B (en) | 2012-02-24 | 2012-02-24 | Method for achieving tree-like control piece with search function in Windchill system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210043276.9A CN102622224B (en) | 2012-02-24 | 2012-02-24 | Method for achieving tree-like control piece with search function in Windchill system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102622224A true CN102622224A (en) | 2012-08-01 |
CN102622224B CN102622224B (en) | 2015-05-06 |
Family
ID=46562154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210043276.9A Active CN102622224B (en) | 2012-02-24 | 2012-02-24 | Method for achieving tree-like control piece with search function in Windchill system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102622224B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461518A (en) * | 2014-11-23 | 2015-03-25 | 国云科技股份有限公司 | Method for managing java program system configuration files |
CN105117234A (en) * | 2015-09-16 | 2015-12-02 | 北京金和网络股份有限公司 | Web control combination method |
CN106406683A (en) * | 2016-11-30 | 2017-02-15 | 武汉斗鱼网络科技有限公司 | Radio button setting method and device and radio button click response method and device |
CN107329745A (en) * | 2017-06-16 | 2017-11-07 | 贵州广思信息网络有限公司 | A kind of method of enhancing WORD document operability |
CN107340946A (en) * | 2017-06-16 | 2017-11-10 | 贵州广思信息网络有限公司 | The method of content control is managed collectively under a kind of big document |
CN107357770A (en) * | 2017-06-16 | 2017-11-17 | 贵州广思信息网络有限公司 | A kind of method that list is uniformly made a report under big file |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101218585A (en) * | 2005-07-11 | 2008-07-09 | 空中客车公司 | Method and tool for searching in several data sources for a selected community of users |
CN101488151A (en) * | 2009-01-20 | 2009-07-22 | 中国科学院计算技术研究所 | System and method for gathering website contents |
-
2012
- 2012-02-24 CN CN201210043276.9A patent/CN102622224B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101218585A (en) * | 2005-07-11 | 2008-07-09 | 空中客车公司 | Method and tool for searching in several data sources for a selected community of users |
CN101488151A (en) * | 2009-01-20 | 2009-07-22 | 中国科学院计算技术研究所 | System and method for gathering website contents |
Non-Patent Citations (2)
Title |
---|
殷晓丽: "基于SharePoint的Windchill Web部件的研究与实现", 《中国优秀硕士学位论文全文数据库》 * |
范小东等: "Windchill PDM工作流管理系统改进研究", 《高技术通讯》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461518A (en) * | 2014-11-23 | 2015-03-25 | 国云科技股份有限公司 | Method for managing java program system configuration files |
CN105117234A (en) * | 2015-09-16 | 2015-12-02 | 北京金和网络股份有限公司 | Web control combination method |
CN105117234B (en) * | 2015-09-16 | 2019-04-09 | 北京金和网络股份有限公司 | A kind of web control combination method |
CN106406683A (en) * | 2016-11-30 | 2017-02-15 | 武汉斗鱼网络科技有限公司 | Radio button setting method and device and radio button click response method and device |
CN106406683B (en) * | 2016-11-30 | 2019-08-02 | 武汉斗鱼网络科技有限公司 | Response method and device are clicked in a kind of setting of radio button |
CN107329745A (en) * | 2017-06-16 | 2017-11-07 | 贵州广思信息网络有限公司 | A kind of method of enhancing WORD document operability |
CN107340946A (en) * | 2017-06-16 | 2017-11-10 | 贵州广思信息网络有限公司 | The method of content control is managed collectively under a kind of big document |
CN107357770A (en) * | 2017-06-16 | 2017-11-17 | 贵州广思信息网络有限公司 | A kind of method that list is uniformly made a report under big file |
Also Published As
Publication number | Publication date |
---|---|
CN102622224B (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10831453B2 (en) | Connectors framework | |
US8010479B2 (en) | Simplifying the creation of user-defined custom elements for use in a graphical modeling application | |
CN102622224A (en) | Method for achieving tree-like control piece with search function in Windchill system | |
US9395890B2 (en) | Automatic discovery of system behavior | |
CN109408699B (en) | Method for realizing rapid retrieval of tree nodes by synchronous cache zTree | |
CN105183768B (en) | A kind of file management method, device and terminal device | |
US20200004806A1 (en) | Hierarchical navigation control | |
WO2016095365A1 (en) | Authorization processing method and apparatus | |
JP2009123022A (en) | Document management apparatus, document management method, program and storage medium | |
CN106354843A (en) | Web crawler system and method | |
CN102163193A (en) | Hyperlink map information system | |
CN109471838A (en) | The operating method of Catalog Documents, device, electronic equipment, readable storage medium storing program for executing | |
CN106033303A (en) | Information searching and identifying method and device | |
CN115098098A (en) | Page generation method, page display method and device | |
CN106066874B (en) | Object processing method and terminal | |
CN105095376A (en) | Method and device for establishing browser local homepage in mobile terminal | |
CN112861059A (en) | Visual component generation method and device, computer equipment and readable storage medium | |
CN109783596B (en) | ArcGIS map configuration preview method based on Angular component | |
CN110309239B (en) | Visual map editing method and device | |
CN102930021A (en) | Data processing method of cloud computing system | |
CN111001157B (en) | Method and device for generating reference information, storage medium and electronic device | |
CN112162731B (en) | Data expansion method, device, storage medium and electronic device | |
CN101650689A (en) | Nonvolatile data storage and search method and device | |
JP2018032113A (en) | Information management device and file management method | |
CN113656127A (en) | Page routing method, device, storage medium and processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |