Greg Hess wrote:
Have you consider to use Tiles for the dynamic content ? There is a (simple) example of user customized menu and user customized portal content in the tiles-documentation.war (under examples). It should be easy to adapt the examples to serve user customized body, with dynamic attributes. One key point is that Tiles definition can be created or modified dynamically, for example in a struts action.2) Create new files for each body of content and simply <jsp:include> or <bean:include> the page into the template. The problem here is that as the number of links and content is user defined and I only know how to use the include tags with static resources. Sure I could include an action but how would I dynamically add parameters to inform the include resource as to witch content to retrieve? I see that page param of bean:include is labeled (RT EXPR) does this mean that I can use an expression the provide that attribute, I have never been able to do this??? If I could do it in this manner I think it would be cleaner but obviously not sure how.
Cedric
Well those are my ideas, if anyone has done this before or could provide
some advise on how this should be done it would be greatly appreciated.
Many thanks,
Greg
-- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>