Here's an example of a decorator for Date values:

http://displaytag.sourceforge.net/11/displaytag-examples/xref/org/displaytag/sample/LongDateWrapper.html

Bye

Peter

2008/9/29 overseastars <[EMAIL PROTECTED]>

>
>
> Hi Peter
>
> I checked the link but I didnt understand where i can write my decorator.
> should I write a new class to extends some default decorators? I actually
> tried to write but I even couldnt find any useful and extensible classes.
> What are the basic steps??? Thanks
>
> Regards
>
>
>
>
>
> Peter Schneider-Manzell wrote:
> >
> > I would suggest to add the "roles" attribute to the display:table in
> > userList.jsp.
> > Add a custom decorator on the roles column to tell displaytag how to
> > renderer a collection of roles (See
> > http://displaytag.sourceforge.net/11/tut_decorators.html for more
> details)
> >
> > Bye,
> >
> > Peter
> >
> > 2008/9/29 overseastars <[EMAIL PROTECTED]>
> >
> >>
> >> Hi all
> >>
> >> I noticed that the userList.jsp didnt show the roles of each user. I
> >> wanna
> >> show the role attribute in the list. Does any genius have ideas on this?
> >> Thanks in advance.
> >>
> >>
> >> Regards
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/how-to-show-roles-in-userList.jsp-tp19718548s2369p19718548.html
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/how-to-show-roles-in-userList.jsp-tp19718548s2369p19720649.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to