Have you tried running the example app on your container?  Which
appserver are you using?

Matt

> -----Original Message-----
> From: Sergey Konyshev [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 16, 2003 2:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [displaytag-user] display tag library question
> 
> 
> Hi!
> 
> >It looks like com.pm.Wrapper is not in WEB-INF/classes/com/pm/
> Hm... no, class is placed correctly... :(
> What can be problem except location?
> 
> 
> Regerds,
> Sergey
> 
> 
> > --- Sergey Konyshev <[EMAIL PROTECTED]> wrote:
> > > Hi!
> > >
> > > I have difficulties to use decorator :(
> > >
> > > I have created the following tag:
> > > *******************************************
> > > <display:table width="75%" name="projects" 
> decorator="com.pm.Wrapper">
> > >   <display:column property="client" sort="true" />
> > >   <display:column property="username" sort="true" />    
> <-- this is the
> > > property which must be decorated
> > > </display:table>
> > > *******************************************
> > >
> > > And wrapper class:
> > > *******************************************
> > > package com.pm;
> > >
> > > import org.apache.taglibs.display.TableDecorator;
> > > import org.dotalfa.com.User;
> > > import org.dotalfa.com.Project;
> > >
> > > public class Wrapper extends TableDecorator
> > > {
> > >
> > >    public String getUsername()
> > >    {
> > >       Project prj = (Project)this.getObject();
> > >       User user = prj.getManager();
> > >
> > >       return user.getName()+" <"+user.getEmail()+">";
> > >    }
> > > }
> > >
> > > *******************************************
> > >
> > > ...and have the following exception: 
> > > org.apache.jasper.JasperException:
> > > java.lang.ClassNotFoundException: No ClassLoaders found for:
> com.pm.Wrapper
> > >
> > > What's wrong?
> > >
> > > And I don't understand how properties links to methods in wrapper
> class...
> > > May be you skip some urgent in exaples?
> > >
> > > And one more question... I think you must write it down to 
> > > todo-list... If at one page more than one tag, all 
> actions which has 
> > > applied to first tag, such as sorting and paging will be 
> > > automatically applied to another tag. I think the solution is to 
> > > create unique identifyer for each tag, and
> pass
> > > it to parameters, like
> > > sort=...&ident=df34dff43rr4rt54
> > > where ident- unque id of a tag on page...
> > >
> > > If you need a help in releasing this project I can to 
> join your team 
> > > ;)
> > >
> > >
> > >
> > > Thank you!
> > >
> > > Sergey
> > >
> > > P.S. There are any forums about this taglib?
> > >
> > >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). 
> > http://calendar.yahoo.com
> >
> 




-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to