Alf,

I did that using a few techniques. First, using both actionListener and
action methods. When something happens, like a click or else, the
actionlistener do all the "persist" work, while the action is just to
adjust a "layout" bean with the specific need of the transition.

Another technique would be using FacesContext, so from somewhere from the
code, you are able to change things in other beans. 

Sorry if I am not able to send you an example of that now, for I am on
work time and since all my code is in brazilian portuguese, you won´t be
able to understand it fully. But the ideas are there, and I´ve seen them in
different parts of tobago-examples.

Best Regards,

Fernando Augusto

On Thu, 18 Mar 2010 16:17:57 +0100, "Alf Felis" <[email protected]> wrote:
> I will try to discribe what I am going to do...
> 
> For example I will create a sheet (panel, box, etc.) which I can use in
> different pages. The sheet content should be filled from different
beans.
> Some pages should contain the sheet twice with two different beans
> containing the data to be displayed.
> 
> How do I solve this problem?
> 
> My approach was using jsp tag files containing the sheet part with <%@
> attribute name=... %>, but apparently this doesn't work. 
> 
> Possibly there is a better solution?
> 
> 
> Best regards,
> 
> Alf

Reply via email to