Filtered Tree [message #717233] |
Fri, 19 August 2011 16:46 |
Kamesh Sampath Messages: 213 Registered: July 2009 |
Senior Member |
|
|
Is it possible to display the Tree View of the Editor page created using Sapphire to display selected or filtered items.
e.g I have a tree view like this
+ Parent
- Child-Type-1
- Child-Type-2
- Child-Type-3
Let say I have three editor pages for each Child-Type, and i want to edit their details on the respective page, so when the user selects the Child-type it should take the use to the respect Child-Type-Page that i have created to edit their details.
I remember that with the Eclipse Forms and the Tree View Part we do the filtering , does Sapphire support that ? Its quiet similar to the MANIFEST editor that we have for plugins with an Overview page and each page for each sub/or child items
if someone has tried please let me know how to do it ?
~ Kamesh
[Updated on: Fri, 19 August 2011 16:47] Report message to a moderator
|
|
|
|
Re: Filtered Tree [message #717328 is a reply to message #717305] |
Sat, 20 August 2011 01:48 |
Kamesh Sampath Messages: 213 Registered: July 2009 |
Senior Member |
|
|
thanks for the response Konstantin. To explain in detail let us take the web.xml
Let me put my scenario with web.xml, let say i categorize web.xml as,
-- Basic (name, description, display-name etc.,)
-- Servlets (servlet, servlet-url-mapping etc.,)
-- Jsp Config( tag libs, jsp property group etc.,)
All these sections/parts will come under one roof called "web-app"
So when I create the editor, i will have three pages for Basic, Servlets and Jsp Config and ideally these will so the tree or sections that are applicable for them
e.g
when on page Basic the editor will display a section which will have name, description, display-name etc.,
when on page Servlets the editor will display a section which will have name, ervlet, servlet-url-mapping etc.,
But all page will have the web-app tree displayed as one of the parts on the left hand side (the traditional) way, but will be filtered to display only the appropriate page model items
I hope to made it clear.
2. Is it possible to add Doctype with DTD information using Sapphire Annotation like we add the @XmlNamespace?
~Kamesh
[Updated on: Sat, 20 August 2011 01:57] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04299 seconds