Aejaz Muslim wrote:
> Hi,
> 
> I have a simple application in which I am trying to set a property from 
> on page to another with proper get/Set methods for the property as 
> required, but I continue to get the following exception,
> 
> Name: com.primix.tapestry.RequestCycleException
> 
> Message: Unable to resolve property ckbx of 
> tutorial.formTest.Values@3f3d87[Values].
> 
> component: tutorial.formTest.Values@3f3d87[Values]
> 
> Name: com.primix.tapestry.BindingException
> 
> Message: Unable to resolve property ckbx of 
> tutorial.formTest.Values@3f3d87[Values].
> 
> binding: PropertyBinding[Values ckbx]
> 
> Name: com.primix.tapestry.util.prop.MissingAccessorException
> 
> Message: No accessor method for property ckbx.
> 
> propertyName: ckbx

I haven't tried this, but I think you may need to have set and get 
methods which use the same type.

That is, if you have a method void setFoo(String foo) the get method 
should have the signature String getFoo().

In your case you would need to change getCbx() to return a boolean, or 
change setCbx(...) to accept a String.

This would make your class conform to the standard Javabean pattern.

Tom


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to