> <page:applyDecorator name="panel" page="foo.action" />
>
> foo.action can do whatever it wants. It can also be controlled from
> information from the session if you like. Lo and behold.
>

I assume that you mean you would include two such tags from within the
template page like this:

<html>
<body>
<page:applyDecorator name="panel" page="foo.action" />
<br>
<page:applyDecorator name="panel" page="bar.action" />
</body>
</html>

and then use the foo and bar actions to figure out what content to include.
How can this same template be reused by a diferent page to dispaly
differnent content?

I would not consider using request parameters or session state to make this
choice an adequate solution.


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to