You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pat Quinn <pa...@hotmail.com> on 2003/07/22 10:42:41 UTC

Struts Expandable Trees

I'm currently developing a prototype using struts tiles for my layout 
definition. I want to have a dynamic html tree (i.e. 
http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp) on the left hand 
side, this menu will control the body content.

I'm trying to avoid using frames and javascript as i really like the clean 
development process i get from using tiles. My problem however is when i 
navigate down the tree and select a node (i.e. request a new view) my tree 
resort back to it initial state i.e. root node visible only.

I could use a frameset and refresh only the main content area but this means 
using javascript and possibly not using tiles... am i correct in assuming 
this or is there an alternative solution???

Any comments or suggestions appreciated.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Struts Expandable Trees

Posted by "K.C. Baltz" <kc...@lollimail.com>.
The javascript tree menu at www.softcomplex.com automaticallyremembers 
state between refreshes.

K.C.

Pat Quinn wrote:

> I'm currently developing a prototype using struts tiles for my layout 
> definition. I want to have a dynamic html tree (i.e. 
> http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp) on the left 
> hand side, this menu will control the body content.
>
> I'm trying to avoid using frames and javascript as i really like the 
> clean development process i get from using tiles. My problem however 
> is when i navigate down the tree and select a node (i.e. request a new 
> view) my tree resort back to it initial state i.e. root node visible 
> only.
>
> I could use a frameset and refresh only the main content area but this 
> means using javascript and possibly not using tiles... am i correct in 
> assuming this or is there an alternative solution???
>
> Any comments or suggestions appreciated.
>
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org