One of these days... it works to add a property to a BeanModel. If I
- RTFM i. e., the javadocs.
- Provide a PropertyConduit to add(). (I missed that)
Sorry for wasting bandwidth
--alec.
Michael Kolmodin wrote:
Thanks for taking time for silly me :-)
Should have said that, but I tried to add a property to a BeanModel.
However, this seems to fail if the class which was fed to the model's
constructor doesn't have the property getter. As I understand it, I
can enable/disable existing properties on a bean, but not create new
ones?!
-----
BeanModel model = beanModelSource.create( LdapRow.getClass(), false,
componentResources);
model.add( "orvar"); -> Exception:
--------------------
Error: Render queue error in SetupRender[ReportPage:grid]: Failure
reading parameter 'model' of component ReportPage:grid: Class
net.kln.yalt.pages.ReportPage$LdapRow does not contain a property
named 'orvar' (within property expression 'orvar'). Available
properties: class.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]