You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joe Lam <jo...@moni-media.net> on 2007/08/13 13:28:53 UTC
[s2] what is your practice to do Sidebar thing??
May I know what is your practice to do Sidebar thing? here the sidebar means
a block lets say on the left side showing login form for guest user and
showing user menu for logged in user.
<s:include> ?
<s:action> ?
or do it in decorator level (sitemesh) ?
thank you very much.
Joe
--
View this message in context: http://www.nabble.com/-s2--what-is-your-practice-to-do-Sidebar-thing---tf4260692.html#a12124636
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [s2] what is your practice to do Sidebar thing??
Posted by mraible <ma...@raibledesigns.com>.
I've done it in the past using a combination of SiteMesh and <s:action>.
http://raibledesigns.com/rd/entry/dependency_injection_with_sitemesh
Matt
Joe Lam wrote:
>
> May I know what is your practice to do Sidebar thing? here the sidebar
> means a block lets say on the left side showing login form for guest user
> and showing user menu for logged in user.
>
> <s:include> ?
> <s:action> ?
> or do it in decorator level (sitemesh) ?
>
> thank you very much.
>
> Joe
>
--
View this message in context: http://www.nabble.com/-s2--what-is-your-practice-to-do-Sidebar-thing---tf4260692.html#a12131832
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org