Re: Tree Folder navigation
Pary I am alos interested in your tree tag. Could you please share it? Thank you very much. Keven - Original Message - From: Parveen Kumar Hooda [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 6:12 AM Subject: Re: Tree Folder navigation Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Post your free ad now! http://personals.yahoo.ca -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tree Folder navigation
Regardles I will be writing a tree that talks to some kind of a bean. (looks like 3 people doing similar, if we can coordinate). Can we coordinate? I can provide temporary CVS (on sf.net - opensource). Then we can offer it to the Jakarta tags project if you want. If sf.net is a good way for you, then sign up for sf.net user id (free). [EMAIL PROTECTED] Vic Parveen Kumar Hooda [EMAIL PROTECTED] wrote in message 018e01c25332$73f5bd30$2a0310ac@phooda">news:018e01c25332$73f5bd30$2a0310ac@phooda... Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tree Folder navigation
Why don't you just use the struts project there? http://sourceforge.net/projects/struts/ James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: news [mailto:[EMAIL PROTECTED]]On Behalf Of V. Cekvenich Sent: Wednesday, September 04, 2002 9:48 AM To: [EMAIL PROTECTED] Subject: Re: Tree Folder navigation Regardles I will be writing a tree that talks to some kind of a bean. (looks like 3 people doing similar, if we can coordinate). Can we coordinate? I can provide temporary CVS (on sf.net - opensource). Then we can offer it to the Jakarta tags project if you want. If sf.net is a good way for you, then sign up for sf.net user id (free). [EMAIL PROTECTED] Vic Parveen Kumar Hooda [EMAIL PROTECTED] wrote in message 018e01c25332$73f5bd30$2a0310ac@phooda">news:018e01c25332$73f5bd30$2a0310ac@phooda... Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tree Folder navigation
(Ted would have to offer.) I can offer to add commiters to an area I can get to. Vic James Mitchell [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Why don't you just use the struts project there? http://sourceforge.net/projects/struts/ James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: news [mailto:[EMAIL PROTECTED]]On Behalf Of V. Cekvenich Sent: Wednesday, September 04, 2002 9:48 AM To: [EMAIL PROTECTED] Subject: Re: Tree Folder navigation Regardles I will be writing a tree that talks to some kind of a bean. (looks like 3 people doing similar, if we can coordinate). Can we coordinate? I can provide temporary CVS (on sf.net - opensource). Then we can offer it to the Jakarta tags project if you want. If sf.net is a good way for you, then sign up for sf.net user id (free). [EMAIL PROTECTED] Vic Parveen Kumar Hooda [EMAIL PROTECTED] wrote in message 018e01c25332$73f5bd30$2a0310ac@phooda">news:018e01c25332$73f5bd30$2a0310ac@phooda... Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tree Folder navigation
-Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 6:48 AM To: [EMAIL PROTECTED] Subject: Re: Tree Folder navigation Regardles I will be writing a tree that talks to some kind of a bean. (looks like 3 people doing similar, if we can coordinate). Can we coordinate? I can provide temporary CVS (on sf.net - opensource). Then we can offer it to the Jakarta tags project if you want. If sf.net is a good way for you, then sign up for sf.net user id (free). [EMAIL PROTECTED] Vic Parveen Kumar Hooda [EMAIL PROTECTED] wrote in message 018e01c25332$73f5bd30$2a0310ac@phooda">news:018e01c25332$73f5bd30$2a0310ac@phooda... Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tree Folder navigation
I have 1 design request/comment [bold of me since I am not contributing:)] Please make the tag dynabeans aware. Thanks, Jason -Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 6:48 AM To: [EMAIL PROTECTED] Subject: Re: Tree Folder navigation Regardles I will be writing a tree that talks to some kind of a bean. (looks like 3 people doing similar, if we can coordinate). Can we coordinate? I can provide temporary CVS (on sf.net - opensource). Then we can offer it to the Jakarta tags project if you want. If sf.net is a good way for you, then sign up for sf.net user id (free). [EMAIL PROTECTED] Vic Parveen Kumar Hooda [EMAIL PROTECTED] wrote in message 018e01c25332$73f5bd30$2a0310ac@phooda">news:018e01c25332$73f5bd30$2a0310ac@phooda... Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tree Folder navigation
Sounds good! When do you expect it to be ready? Is there a provision for client side scripting too( via say dhtml) ? Thanks Vishy - Original Message - From: Parveen Kumar Hooda [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 3:42 PM Subject: Re: Tree Folder navigation Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tree Folder navigation
Can you put it on the web so others can also use it? I would be interested since the collection of nodes could be read in from a database or other store (XML). This would make the menu very dynamic. jack -Original Message- From: Parveen Kumar Hooda [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 6:13 AM To: Struts Users Mailing List Subject: Re: Tree Folder navigation Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tree Folder navigation
Thanks alot. And also to Jacob. Am working on the code now. Parveen, i would also like to have a copy of your code. Would like to see how much can i synergise the two codes. Right now am working towards implementing access control via enabling the user to view only folder which they are able to view. cheers K.Viswanathan wrote: Sounds good! When do you expect it to be ready? Is there a provision for client side scripting too( via say dhtml) ? Thanks Vishy - Original Message - From: Parveen Kumar Hooda [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 3:42 PM Subject: Re: Tree Folder navigation Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tree Folder navigation
Sounf interesting. I am also interested in making the tree view easier and faster at client side. Our model is constructed from swing DefaultMutableTreeNode and DefaultTreeModel using Jndi. Users will have different views of the tree. I looked at MonkeyTree. If we can bring the user full view content to the client and use dhtml to control the opening and closing the nodes, the solution will be more elegant and faster. Let's share the codes. - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 7:22 AM Subject: Re: Tree Folder navigation Thanks alot. And also to Jacob. Am working on the code now. Parveen, i would also like to have a copy of your code. Would like to see how much can i synergise the two codes. Right now am working towards implementing access control via enabling the user to view only folder which they are able to view. cheers K.Viswanathan wrote: Sounds good! When do you expect it to be ready? Is there a provision for client side scripting too( via say dhtml) ? Thanks Vishy - Original Message - From: Parveen Kumar Hooda [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 3:42 PM Subject: Re: Tree Folder navigation Hi Alex Are you looking for a tree type control? If so,then I have almost developed a tree tag(needs some polishing..) . This component expects a collection of nodes(the node can have Id , parentId , name etc.) This tag can be used with struts as well as with plain JSP's. It is a pure server side component.If yu want to use it , I can share it. regards Pary - Original Message - From: alex hun [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 02, 2002 9:50 PM Subject: Tree Folder navigation Hi all, I would like to implement tree folder navigation for my project. However, i am quite clueless as to how this is to be done via struts. Has anyone tried that before or anyone know any resources tat i can refer to? thanks. regards alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tree Folder navigation
It's here: http://sourceforge.net/projects/struts-menu/ There's also the Struts nested taglib for this. See Arron's tutorial: http://www.keyboardmonkey.com/pilotlight/index.jsp -- Martin Cooper -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 9:44 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: Tree Folder navigation I think there's a struts menu at source forge, I'm not sure of the link, but it would be easy to search. | -Original Message- | From: alex hun [mailto:[EMAIL PROTECTED]] | Sent: Monday, September 02, 2002 11:20 AM | To: Struts Users Mailing List | Subject: Tree Folder navigation | | | Hi all, | | I would like to implement tree folder navigation for my project. | However, i | am quite clueless as to how this is to be done via struts. Has anyone | tried that | before or anyone know any resources tat i can refer to? thanks. | | regards | alex | | | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tree Folder navigation
I think there's a struts menu at source forge, I'm not sure of the link, but it would be easy to search. | -Original Message- | From: alex hun [mailto:[EMAIL PROTECTED]] | Sent: Monday, September 02, 2002 11:20 AM | To: Struts Users Mailing List | Subject: Tree Folder navigation | | | Hi all, | | I would like to implement tree folder navigation for my project. | However, i | am quite clueless as to how this is to be done via struts. Has anyone | tried that | before or anyone know any resources tat i can refer to? thanks. | | regards | alex | | | | -- | To unsubscribe, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | For additional commands, e-mail: mailto:struts-user- | [EMAIL PROTECTED] | | --- | Incoming mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tree
We are using Cocoon for our presentation (using XML/XSP/XSL). What we have done is to store menus in static XML files. In response to a request an action (making use of a menu manager) can load a specific menu. If the action originated from selecting a menu option then that option is modifed by setting the selected attribute to true. If the option has a sub menu then we set expanded to true. The XSL can then interpret these attributes (i.e. not associating a href with an option if selected=true and showing the sub menu in expanded=true) to display the menu tree. Has anyone else had experience of using menus with Struts/Cocoon. Is there a better way of doing the above? -John -Original Message- From: Matt Raible [SMTP:[EMAIL PROTECTED]] Sent: 19 July 2001 19:56 To: [EMAIL PROTECTED] Subject: Re: Tree Have you seen the struts-menu application - it uses struts, javascript, and xml to build a DHTML tree. Can be found at: http://husted.com/about/struts/resources.htm#extensions Matt --- Levi Cook [EMAIL PROTECTED] wrote: I agree with Matts points, in addition here are a couple more thoughts on the challenge of tree navigation-- 1) From a mvc design perspective, a tree is just a view; assigning responsibility of rendering a tree to a lot of action classes is probably not optimal. 2) Offhand, a key to building an effective tree view rests with thinking about recursive associations-- ie. a container class that may contain itself (self containment) Here's a common example: -- | Folder |-- 1 -- | | *| | | -- In this case, a Folder can have zero or more subfolders-- thus yielding a hierarchy, or tree :) Each folder can be contained by exactly one folder. With this model in mind, I believe you should consider creating a custom tag that expects this *type* of structure. Ideally, you're new tree tag would only need to rely on interfaces from the java collections framework. Regards, Levi - Original Message - From: Gogineni, Pratima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 10:09 AM Subject: Tree Hi I have been thinking for a while about making a tree jsp component using struts. I like the idea of having a jsp based tree rather than using the javascript trees that are normally used. I know I will have to write a lot of action classes to support a *Good* generic tree. But does anyone know of any problems with using a jsp based tree rather than javascript based? Thanks Pratima -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: struts-layout Hi there! I am happy to inform you that the 0.3 version of struts-layout has been released on http://struts.application-servers.com. struts-layout is a tag library for Struts that allows for fast and easy development of jsp pages. With struts-layout, pages are described with only a small set of special tags. HTML tags are not any more needed (well, nearly), as struts-layout tags generates the layout. I kindly invite you to have a look on the site for more information. struts-layout is now used in my company's projects and in http://www.application-servers.com, a French site dedicated to information about application servers. French users can also find an introduction to Struts and struts-layout on this site in the article section. Please feel free to send me feedbacks and bug reports. Cheers, Jean-Noel __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
RE: Tree
Do you have some code to show how you are doing this? Steven -Original Message- From: O'Reilly John [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 6:54 AM To: '[EMAIL PROTECTED]' Subject: RE: Tree We are using Cocoon for our presentation (using XML/XSP/XSL). What we have done is to store menus in static XML files. In response to a request an action (making use of a menu manager) can load a specific menu. If the action originated from selecting a menu option then that option is modifed by setting the selected attribute to true. If the option has a sub menu then we set expanded to true. The XSL can then interpret these attributes (i.e. not associating a href with an option if selected=true and showing the sub menu in expanded=true) to display the menu tree. Has anyone else had experience of using menus with Struts/Cocoon. Is there a better way of doing the above? -John -Original Message- From: Matt Raible [SMTP:[EMAIL PROTECTED]] Sent: 19 July 2001 19:56 To: [EMAIL PROTECTED] Subject: Re: Tree Have you seen the struts-menu application - it uses struts, javascript, and xml to build a DHTML tree. Can be found at: http://husted.com/about/struts/resources.htm#extensions Matt --- Levi Cook [EMAIL PROTECTED] wrote: I agree with Matts points, in addition here are a couple more thoughts on the challenge of tree navigation-- 1) From a mvc design perspective, a tree is just a view; assigning responsibility of rendering a tree to a lot of action classes is probably not optimal. 2) Offhand, a key to building an effective tree view rests with thinking about recursive associations-- ie. a container class that may contain itself (self containment) Here's a common example: -- | Folder |-- 1 -- | | *| | | -- In this case, a Folder can have zero or more subfolders-- thus yielding a hierarchy, or tree :) Each folder can be contained by exactly one folder. With this model in mind, I believe you should consider creating a custom tag that expects this *type* of structure. Ideally, you're new tree tag would only need to rely on interfaces from the java collections framework. Regards, Levi - Original Message - From: Gogineni, Pratima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 10:09 AM Subject: Tree Hi I have been thinking for a while about making a tree jsp component using struts. I like the idea of having a jsp based tree rather than using the javascript trees that are normally used. I know I will have to write a lot of action classes to support a *Good* generic tree. But does anyone know of any problems with using a jsp based tree rather than javascript based? Thanks Pratima -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: struts-layout Hi there! I am happy to inform you that the 0.3 version of struts-layout has been released on http://struts.application-servers.com. struts-layout is a tag library for Struts that allows for fast and easy development of jsp pages. With struts-layout, pages are described with only a small set of special tags. HTML tags are not any more needed (well, nearly), as struts-layout tags generates the layout. I kindly invite you to have a look on the site for more information. struts-layout is now used in my company's projects and in http://www.application-servers.com, a French site dedicated to information about application servers. French users can also find an introduction to Struts and struts-layout on this site in the article section. Please feel free to send me feedbacks and bug reports. Cheers, Jean-Noel __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
RE: Tree
mainmenu.xml menu.xsl PortalAction.java -Original Message- From: Steven Leija [SMTP:[EMAIL PROTECTED]] Sent: 20 July 2001 15:50 To: '[EMAIL PROTECTED]' Subject: RE: Tree Do you have some code to show how you are doing this? Steven -Original Message- From: O'Reilly John [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 6:54 AM To: '[EMAIL PROTECTED]' Subject: RE: Tree We are using Cocoon for our presentation (using XML/XSP/XSL). What we have done is to store menus in static XML files. In response to a request an action (making use of a menu manager) can load a specific menu. If the action originated from selecting a menu option then that option is modifed by setting the selected attribute to true. If the option has a sub menu then we set expanded to true. The XSL can then interpret these attributes (i.e. not associating a href with an option if selected=true and showing the sub menu in expanded=true) to display the menu tree. Has anyone else had experience of using menus with Struts/Cocoon. Is there a better way of doing the above? -John -Original Message- From: Matt Raible [SMTP:[EMAIL PROTECTED]] Sent: 19 July 2001 19:56 To: [EMAIL PROTECTED] Subject:Re: Tree Have you seen the struts-menu application - it uses struts, javascript, and xml to build a DHTML tree. Can be found at: http://husted.com/about/struts/resources.htm#extensions Matt --- Levi Cook [EMAIL PROTECTED] wrote: I agree with Matts points, in addition here are a couple more thoughts on the challenge of tree navigation-- 1) From a mvc design perspective, a tree is just a view; assigning responsibility of rendering a tree to a lot of action classes is probably not optimal. 2) Offhand, a key to building an effective tree view rests with thinking about recursive associations-- ie. a container class that may contain itself (self containment) Here's a common example: -- | Folder |-- 1 -- | | *| | | -- In this case, a Folder can have zero or more subfolders-- thus yielding a hierarchy, or tree :) Each folder can be contained by exactly one folder. With this model in mind, I believe you should consider creating a custom tag that expects this *type* of structure. Ideally, you're new tree tag would only need to rely on interfaces from the java collections framework. Regards, Levi - Original Message - From: Gogineni, Pratima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 10:09 AM Subject: Tree Hi I have been thinking for a while about making a tree jsp component using struts. I like the idea of having a jsp based tree rather than using the javascript trees that are normally used. I know I will have to write a lot of action classes to support a *Good* generic tree. But does anyone know of any problems with using a jsp based tree rather than javascript based? Thanks Pratima -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: struts-layout Hi there! I am happy to inform you that the 0.3 version of struts-layout has been released on http://struts.application-servers.com. struts-layout is a tag library for Struts that allows for fast and easy development of jsp pages. With struts-layout, pages are described with only a small set of special tags. HTML tags are not any more needed (well, nearly), as struts-layout tags generates the layout. I kindly invite you to have a look on the site for more information. struts-layout is now used in my company's projects and in http://www.application-servers.com, a French site dedicated to information about application servers. French users can also find an introduction to Struts and struts-layout on this site in the article section. Please feel free to send me feedbacks and bug reports. Cheers, Jean-Noel __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ mainmenu.xml menu.xsl PortalAction.java
Re: Tree
The problem with a jsp-based three is that you will have to go the server each time a user clicks on a node. If you want anything to change on the screen without hitting the server, you have to use javascript or dhtml (or the dom). --- Gogineni, Pratima [EMAIL PROTECTED] wrote: Hi I have been thinking for a while about making a tree jsp component using struts. I like the idea of having a jsp based tree rather than using the javascript trees that are normally used. I know I will have to write a lot of action classes to support a *Good* generic tree. But does anyone know of any problems with using a jsp based tree rather than javascript based? Thanks Pratima -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: struts-layout Hi there! I am happy to inform you that the 0.3 version of struts-layout has been released on http://struts.application-servers.com. struts-layout is a tag library for Struts that allows for fast and easy development of jsp pages. With struts-layout, pages are described with only a small set of special tags. HTML tags are not any more needed (well, nearly), as struts-layout tags generates the layout. I kindly invite you to have a look on the site for more information. struts-layout is now used in my company's projects and in http://www.application-servers.com, a French site dedicated to information about application servers. French users can also find an introduction to Struts and struts-layout on this site in the article section. Please feel free to send me feedbacks and bug reports. Cheers, Jean-Noel __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
RE: Tree
I guess I would have to use a combination of both javascript and JSP since I would like some actions to go throught the server and some just on the client side ... -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 10:34 AM To: [EMAIL PROTECTED] Subject: Re: Tree The problem with a jsp-based three is that you will have to go the server each time a user clicks on a node. If you want anything to change on the screen without hitting the server, you have to use javascript or dhtml (or the dom). --- Gogineni, Pratima [EMAIL PROTECTED] wrote: Hi I have been thinking for a while about making a tree jsp component using struts. I like the idea of having a jsp based tree rather than using the javascript trees that are normally used. I know I will have to write a lot of action classes to support a *Good* generic tree. But does anyone know of any problems with using a jsp based tree rather than javascript based? Thanks Pratima -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: struts-layout Hi there! I am happy to inform you that the 0.3 version of struts-layout has been released on http://struts.application-servers.com. struts-layout is a tag library for Struts that allows for fast and easy development of jsp pages. With struts-layout, pages are described with only a small set of special tags. HTML tags are not any more needed (well, nearly), as struts-layout tags generates the layout. I kindly invite you to have a look on the site for more information. struts-layout is now used in my company's projects and in http://www.application-servers.com, a French site dedicated to information about application servers. French users can also find an introduction to Struts and struts-layout on this site in the article section. Please feel free to send me feedbacks and bug reports. Cheers, Jean-Noel __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: Tree
I agree with Matts points, in addition here are a couple more thoughts on the challenge of tree navigation-- 1) From a mvc design perspective, a tree is just a view; assigning responsibility of rendering a tree to a lot of action classes is probably not optimal. 2) Offhand, a key to building an effective tree view rests with thinking about recursive associations-- ie. a container class that may contain itself (self containment) Here's a common example: -- | Folder |-- 1 -- | | *| | | -- In this case, a Folder can have zero or more subfolders-- thus yielding a hierarchy, or tree :) Each folder can be contained by exactly one folder. With this model in mind, I believe you should consider creating a custom tag that expects this *type* of structure. Ideally, you're new tree tag would only need to rely on interfaces from the java collections framework. Regards, Levi - Original Message - From: Gogineni, Pratima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 10:09 AM Subject: Tree Hi I have been thinking for a while about making a tree jsp component using struts. I like the idea of having a jsp based tree rather than using the javascript trees that are normally used. I know I will have to write a lot of action classes to support a *Good* generic tree. But does anyone know of any problems with using a jsp based tree rather than javascript based? Thanks Pratima -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: struts-layout Hi there! I am happy to inform you that the 0.3 version of struts-layout has been released on http://struts.application-servers.com. struts-layout is a tag library for Struts that allows for fast and easy development of jsp pages. With struts-layout, pages are described with only a small set of special tags. HTML tags are not any more needed (well, nearly), as struts-layout tags generates the layout. I kindly invite you to have a look on the site for more information. struts-layout is now used in my company's projects and in http://www.application-servers.com, a French site dedicated to information about application servers. French users can also find an introduction to Struts and struts-layout on this site in the article section. Please feel free to send me feedbacks and bug reports. Cheers, Jean-Noel
Re: Tree
I am also *very* interested about every information how trees can be handled in the struts-framework. I have to show a deep hierarchy with the browser. 1st question: the model: May it be good idea to work with deeply nested beans? - I think not, but because JSP-pages does work with beans, could be there a better way?? (The source of that hierarchy is a xml-document). 2nd question: creating the view: Who knows a taglib for managing that? Would it be a good practice to use XSLT with struts to create trees? TIA Hartmut Bernecker
Re: Tree
Have you seen the struts-menu application - it uses struts, javascript, and xml to build a DHTML tree. Can be found at: http://husted.com/about/struts/resources.htm#extensions Matt --- Levi Cook [EMAIL PROTECTED] wrote: I agree with Matts points, in addition here are a couple more thoughts on the challenge of tree navigation-- 1) From a mvc design perspective, a tree is just a view; assigning responsibility of rendering a tree to a lot of action classes is probably not optimal. 2) Offhand, a key to building an effective tree view rests with thinking about recursive associations-- ie. a container class that may contain itself (self containment) Here's a common example: -- | Folder |-- 1 -- | | *| | | -- In this case, a Folder can have zero or more subfolders-- thus yielding a hierarchy, or tree :) Each folder can be contained by exactly one folder. With this model in mind, I believe you should consider creating a custom tag that expects this *type* of structure. Ideally, you're new tree tag would only need to rely on interfaces from the java collections framework. Regards, Levi - Original Message - From: Gogineni, Pratima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 19, 2001 10:09 AM Subject: Tree Hi I have been thinking for a while about making a tree jsp component using struts. I like the idea of having a jsp based tree rather than using the javascript trees that are normally used. I know I will have to write a lot of action classes to support a *Good* generic tree. But does anyone know of any problems with using a jsp based tree rather than javascript based? Thanks Pratima -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: struts-layout Hi there! I am happy to inform you that the 0.3 version of struts-layout has been released on http://struts.application-servers.com. struts-layout is a tag library for Struts that allows for fast and easy development of jsp pages. With struts-layout, pages are described with only a small set of special tags. HTML tags are not any more needed (well, nearly), as struts-layout tags generates the layout. I kindly invite you to have a look on the site for more information. struts-layout is now used in my company's projects and in http://www.application-servers.com, a French site dedicated to information about application servers. French users can also find an introduction to Struts and struts-layout on this site in the article section. Please feel free to send me feedbacks and bug reports. Cheers, Jean-Noel __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
RE: Tree
I am also interested in a system for trees -- phylogenetic trees for biology and paleontology (evolutionary family trees). I plan to build a forum system whereby biologists can click on a node or branch of a tree and hang a threaded discussion from that point. This will facilitate and help focus discussion about specific evolutionary groups. When people are collaborating on a phylogenetic study, it can be difficult to keep straight which part of the tree you are talking about, because not all nodes have taxonomic names. This sort of thing might have use beyond biology? Several tree file formats exist for biology and paleontology. I will have to figure out how to allow a user to upload one of these files, then parse it on the server to produce a forum tree file of some sort. Once the tree is uploaded and parsed, I won't worry with letting them modify the tree for this project, although that could be an eventual feature. Great desktop software exists already for interactive tree manipulation and calculation (PAUP, MacClade, Phylip, etc.). I think that the tree structure will need to be stored in a database along with the forum info and messages (I am looking at modifying Jive for the forum). Today I started looking into the struts-menu example to learn how it works. It has hierarchical menus. (I just saw Matt Raible post about that also). Anyway, just letting you know I will be pondering this problem, and would like to see any thoughts any of you have about how such a system might be designed with struts. Thanks, Jeff Pittman Lamar Univ. Beaumont TX p.s., I have to get something operational by October, when I will give a talk on the subject of specialized forums for paleontology at the Society of Vertebrate Paleontology annual meeting. - links, if you need 'em: struts-menu - http://husted.com/about/struts/resources.htm#extensions Jive - http://www.jivesoftware.com A few programs for biological calculation and manipulation of phylogenetic trees: PAUP (Phylogenetic Analysis Using Parsimony) - http://paup.csit.fsu.edu/ MacClade (cladogram is another name for a phylogenetic tree) - http://phylogeny.arizona.edu/macclade/macclade.html Phylip - http://evolution.genetics.washington.edu/phylip.html Mesquite - http://mesquiteproject.org/mesquite/mesquite.html And the mother of all trees: The Tree of Life - http://phylogeny.arizona.edu/tree/phylogeny.html -Original Message- From: Hartmut Bernecker [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 1:29 PM To: [EMAIL PROTECTED] Subject: Re: Tree I am also *very* interested about every information how trees can be handled in the struts-framework. I have to show a deep hierarchy with the browser. 1st question: the model: May it be good idea to work with deeply nested beans? - I think not, but because JSP-pages does work with beans, could be there a better way?? (The source of that hierarchy is a xml-document). 2nd question: creating the view: Who knows a taglib for managing that? Would it be a good practice to use XSLT with struts to create trees? TIA Hartmut Bernecker