struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Re: template tags
Date Fri, 24 Aug 2001 09:02:18 GMT
> > I put a special header and footer on all my pages. I'd like
> > to do this with the template tags. Template tags allow
> > you to pass named parameters to the template. However, I need
> > to pass a list of things (navigation URLs) into my header
> > so it can print a list of hyperlinks. It doesn't seem possible
> > to pass a list of items with the template tags. Can anyone
> > suggest anything?
> You can put the list in an request scoped bean with defined name.
> The template can then access it, e.g. with <ligic:iterate>

That's what I'm doing at the moment with the old <jsp:setProperty>
and <jsp:include> tags. I guess what I'm asking is can I do
this cleaner somehow with the template tags?


View raw message