> 24.09.2001 17:23:24, "Remy Maucherat" <[EMAIL PROTECTED]> wrote:
>
> >I wanted to have a list of the namespces on the front page, like
> this:
> >
> > <slide:domain id="domain">
> >
> > <logic:iterate id="name" name="domain"
> >property="namespaceNames">
> >....
> >
> >Can I do it without modifying the domain tag ?
> >
> >Remy
>
> Definitely. The line <slide:domain id="domain"> means you'll be
> exposing a page-context scoped DomainBean named 'domain', that you can
> refer to inside the body of that tag. So you're not putting the tag
> itself in the page-context attributes, but the associated bean.
>
> The above should have worked out of the box, actually. And the change
> shouldn't have made it work if it didn't work before, I think ;o)
Thanks for the explanation :) I don't know anything yet about taglibs and
Struts, so I still have a lot to learn :)
I have to confess I didn't try it before modifying the tag class. I'll
revert my changes to DomainTagSupport then (since they're useless).
Remy