Please read the documentation of displaytag
1. You need to implement DisplaytagColumnDecorator, not TableDecorator (See
my last email)
2. You need to tell displaytag to use this decorator (see
http://displaytag.sourceforge.net/11/tut_decorators.html, part "Column
decorator") -> You need to add the attribute "decorator="..." to your
display:column
Bye,
Peter
2008/9/30 overseastars <[EMAIL PROTECTED]>
>
>
> I just wrote a MyRoleDecorator.java file.
> and added <display:column property="roles" titleKey="user.email"/> into
> userList.jsp
>
> nothing happened......
>
> public class MyRoleDecorator extends TableDecorator {
>
> /**
> *
> */
> public MyRoleDecorator() {
> // TODO Auto-generated constructor stub
> }
>
> public String getRoles(){
>
> return "test123";
> }
>
> }
>
>
>
>
>
>
>
> overseastars wrote:
> >
> > 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-tp19718548s2369p19738483.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]
>
>