struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: {shale] Backing bean (prerender) functionality in buttons on a tile
Date Fri, 10 Feb 2006 22:14:21 GMT wrote on 02/10/2006 04:54:15 PM:

> wrote on 02/10/2006 03:58:11 PM:
> > 
> > I would clarify this "recommended method" to have one backing bean per
> > *Tile* not just for the whole page.  That sounds pretty much like what 

> you
> > did below.
> > 
> Ah, I didn't know that! Ok, so my app certainly doesn't follow this 
> but somehow I guess it is somehow bumbling along.. I will have to go 
> and fix that, but first..
> > 
> > On the outer JSP page, did you include each Tile inside an 
> No, I didn't have this, so i added it, but according to the tld I have 
> add an id to this tag.  What should I use? I googled and the 
> recommendation was to use the same name as the tile attribute. I don't 
> think this is right since I get the foll. warning:
> [WARN] Subview - No managed bean for subview menu

Never mind; I renamed the managed bean name in faces-config to "menu" and 
the subview id in layout.jsp to "menu" and now the prerender is indeed 
being called in both outer and inner backing beans..:) Thank you very much 
for the pointer, Craig - this is certainly a nice solution..:)


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message