Sounds like an issue with 2.2-beta-3.  I'll check in the morning.  You have
to initialize OGNL to "understand" IPublicBean, something must be amiss.

----- Original Message -----
From: "Craig Miskell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 29, 2002 10:05 PM
Subject: [Tapestry-developer] 2.2beta3 - IPublicBean no longer enough


> Hi,
> Just pulling a small test app from 2.1 to 2.2beta3.  I've found
> that IPublicBean no longer seems to work as advertised (it worked before).
> I get the following stack trace (well, the relevant portion anyway):
>
> Component Home/wrapper does not have accessor methods for property title.
> net.sf.tapestry.param.ParameterManager.setup(ParameterManager.java:170)
>
net.sf.tapestry.param.ParameterManager.setParameters(ParameterManager.java:9
2)
>
net.sf.tapestry.AbstractComponent.prepareForRender(AbstractComponent.java:91
5)
> net.sf.tapestry.AbstractComponent.render(AbstractComponent.java:889)
> net.sf.tapestry.BaseComponent.renderComponent(BaseComponent.java:460)
> net.sf.tapestry.AbstractComponent.render(AbstractComponent.java:891)
> net.sf.tapestry.AbstractPage.renderPage(AbstractPage.java:303)
> net.sf.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:413)
>
net.sf.tapestry.engine.AbstractEngine.renderResponse(AbstractEngine.java:621
)
> net.sf.tapestry.engine.DirectService.service(DirectService.java:156)
> net.sf.tapestry.engine.AbstractEngine.service(AbstractEngine.java:746)
> net.sf.tapestry.ApplicationServlet.doService(ApplicationServlet.java:175)
> net.sf.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:290)
>
> The "wrapper" component has
> public String title;
> and implements IPublicBean.
>
> If I put in accessors, I don't get that error anymore.  Well, I do, but
> for a different property in a different component.
>
> Am I doing something wrong, or is there some issue with 2.2Beta3?
>
> Thanks,
>
> Craig Miskell
> Programmer, Black Albatross, Otago University, New Zealand
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS d- s+:- a-->? C++++(++)$ ULXH+++$>++++ P+>++++ L++$>++++$ E--- W+++$
> N+ K? w--- !O M-- V? PS--- PE Y t++ 5 X+++ R-- tv+ b+>+++ DI++++ D+ G+ e++
> h--- r+++ y+++
> ------END GEEK CODE BLOCK------
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to