tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amol Yadwadkar" <ayadwad...@webifyservices.com>
Subject Fw: Getting Errors as "adaptor for class"
Date Mon, 25 Aug 2003 13:04:33 GMT

----- Original Message -----
From: "Amol Yadwadkar" <ayadwadkar@webifyservices.com>
To: "Howard M. Lewis Ship" <hlship@comcast.net>
Sent: Monday, August 25, 2003 5:44 PM
Subject: Re: Getting Errors as "adaptor for class"


> Hi Howard,
> Can you please explain me a with suitable example.That will be the most
> Useful.As we are hardlly getting ant material to serach for this Issue
> Thankx
> Amol
> ----- Original Message -----
> From: "Howard M. Lewis Ship" <hlship@comcast.net>
> To: "'Amol Yadwadkar'" <ayadwadkar@webifyservices.com>
> Cc: "Tapestry Users" <tapestry-user@jakarta.apache.org>
> Sent: Monday, August 25, 2003 5:17 PM
> Subject: RE: Getting Errors as "adaptor for class"
>
>
> > Your SimpleBean isn't serializable, yet you used it as the source for a
> ListEdit. ListEdit attempted
> > to convert the bean into a string to record it into the form using
> DataSqueezer, but could not.
> > Either
> >
> > 1) Store a key, not the bean itself
> > 2) Register a squeeze adaptor with DataSqueezer for SimpleBean
> > 3) Make SimpleBean serializable
> >
> > --
> > Howard M. Lewis Ship
> > Creator, Tapestry: Java Web Components
> > http://jakarta.apache.org/tapestry
> > http://jakarta.apache.org/commons/sandbox/hivemind/
> > http://javatapestry.blogspot.com
> >
> > > -----Original Message-----
> > > From: Amol Yadwadkar [mailto:ayadwadkar@webifyservices.com]
> > > Sent: Monday, August 25, 2003 1:26 AM
> > > To: Howard M. Lewis Ship
> > > Subject: Re: Getting Errors as "adaptor for class"
> > >
> > >
> > >       Hi Howard,
> > >       This was the Stack Generated while using ListEdit Component
> > >       Can you please guide me in the Usage of the ListEdit Component.
> > >       STACK GENERATED IS AS FOLLOWS:-
> > >
> > >       Could not find an adaptor for class SimpleBean.
> > >       Stack Trace:
> > >         a..
> > > org.apache.tapestry.util.AdaptorRegistry.searchForAdaptor(Adap
> > > torRegistry.ja
> > > va:304)
> > >         b..
> > > org.apache.tapestry.util.AdaptorRegistry.getAdaptor(AdaptorReg
> > > istry.java:193
> > > )
> > >         c..
> > > org.apache.tapestry.util.io.DataSqueezer.squeeze(DataSqueezer.
> > > java:211)
> > >         d..
> > > org.apache.tapestry.form.ListEdit.writeValue(ListEdit.java:169)
> > >         e..
> > > org.apache.tapestry.form.ListEdit.renderComponent(ListEdit.java:141)
> > >         f..
> > > org.apache.tapestry.AbstractComponent.render(AbstractComponent
> > > .java:896)
> > >         g..
> > > org.apache.tapestry.AbstractComponent.renderBody(AbstractCompo
> > > nent.java:673)
> > >         h..
> > > org.apache.tapestry.form.Form.renderComponent(Form.java:393)
> > >         i..
> > > org.apache.tapestry.AbstractComponent.render(AbstractComponent
> > > .java:896)
> > >         j..
> > > org.apache.tapestry.BaseComponent.renderComponent(BaseComponen
> > > t.java:159)
> > >         k..
> > > org.apache.tapestry.AbstractComponent.render(AbstractComponent
> > > .java:896)
> > >         l..
> > > org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:332)
> > >         m..
> > > org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycl
> > > e.java:411)
> > >         n..
> > > org.apache.tapestry.engine.AbstractEngine.renderResponse(Abstr
> > > actEngine.java
> > > :741)
> > >         o..
> > > org.apache.tapestry.engine.PageService.service(PageService.java:118)
> > >         p..
> > > org.apache.tapestry.engine.AbstractEngine.service(AbstractEngi
> > > ne.java:879)
> > >         q..
> > > org.apache.tapestry.ApplicationServlet.doService(ApplicationSe
> > > rvlet.java:238
> > > )
> > >         r..
> > > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServle
> > > t.java:199)
> > >         s..
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > >         t..
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >         u..
> > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
> > >         v..
> > > org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter
> > > (WebApplicatio
> > > nHandler.java:328)
> > >         w..
> > > org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:147)
> > >         x..
> > > org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter
> > > (WebApplicatio
> > > nHandler.java:320)
> > >         y..
> > > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebAp
> > > plicationHandl
> > > er.java:272)
> > >         z..
> > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler
> > > .java:553)
> > >         aa..
> > > org.mortbay.http.HttpContext.handle(HttpContext.java:1717)
> > >         ab..
> > > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebAppl
> > > icationContext
> > > .java:549)
> > >         ac..
> > > org.mortbay.http.HttpContext.handle(HttpContext.java:1667)
> > >         ad.. org.mortbay.http.HttpServer.service(HttpServer.java:862)
> > >         ae.. org.jboss.jetty.Jetty.service(Jetty.java:497)
> > >         af..
> > > org.mortbay.http.HttpConnection.service(HttpConnection.java:759)
> > >         ag..
> > > org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:923)
> > >         ah..
> > > org.mortbay.http.HttpConnection.handle(HttpConnection.java:776)
> > >         ai..
> > > org.mortbay.http.SocketListener.handleConnection(SocketListene
> > > r.java:202)
> > >         aj..
> > > org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
> > >         ak..
> > > org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
> > >
> > >
> > > ----- Original Message -----
> > > From: "Howard M. Lewis Ship" <hlship@comcast.net>
> > > To: "'Tapestry users'" <tapestry-user@jakarta.apache.org>;
> > > "'Amol Yadwadkar'" <ayadwadkar@webifyservices.com>
> > > Sent: Saturday, August 23, 2003 6:37 PM
> > > Subject: RE: Getting Errors as "adaptor for class"
> > >
> > >
> > > > Need a full stack trace to narrow this down.
> > > >
> > > > --
> > > > Howard M. Lewis Ship
> > > > Creator, Tapestry: Java Web Components
> > > > http://jakarta.apache.org/tapestry
> > > > http://jakarta.apache.org/commons/sandbox/hivemind/
> > > > http://javatapestry.blogspot.com
> > > >
> > > > > -----Original Message-----
> > > > > From: Amol Yadwadkar [mailto:ayadwadkar@webifyservices.com]
> > > > > Sent: Saturday, August 23, 2003 5:19 AM
> > > > > To: Tapestry users
> > > > > Subject: Getting Errors as "adaptor for class"
> > > > >
> > > > >
> > > > > Hi All,
> > > > > I am using the ListEdit Component to  see its
> > > functinality.But I got
> > > > > Stuck up at the following Error:--- "Could not find an
> > > adaptor for
> > > > > class SimpleBean." SimpleBean----It is the simple
> > > Getter/Setter Bean
> > > > > which sets the values forthe List to be Iterarted.
> > > > > Can AnyOne point me to my Mistake? It will be highly
> > > > > apprceiable!!!! Thankx Best regds, Amol
> > > > >
> > > >
> > >
> >
>


Mime
View raw message