Re: [Webwork-user] Web components?
Brought to you by:
baldree,
rickardoberg
From: Rickard <ri...@jb...> - 2000-12-15 12:03:52
|
Sorry, won't work. Need to tweak this approach a little. Rickard Öberg wrote: > Answer: use the "bean" tag and $ names! Won't work...$ names expect there to be a real property to get info from, and we just want to get the request parameter corresponding to a name. > Like this. In menu.jsp: > > <webwork:bean name="$class"> > Menu: > <UL> > <webwork:iterator name="menu"> > <LI><webwork:property/></LI> > </webwork:iterator> > </UL> > </webwork:bean> This should work though: <webwork:bean name="webwork.util.Servlet" id="param"/> <webwork:bean name="param@parameter:class"> Menu: <UL> <webwork:iterator name="menu"> <LI><webwork:property/></LI> </webwork:iterator> </UL> </webwork:bean> -- Rickard Öberg Email: ri...@jb... |