Re: Grids Bean Model does not support is methods

2014-05-30 Thread Howard Lewis Ship
If you getter method is is, not get, prefixed then the type MUST be boolean, not Boolean. That's well defined in the Java Beans specification. On Thu, May 29, 2014 at 12:41 AM, Lance Java lance.j...@googlemail.com wrote: Eg: https://gist.github.com/uklance/0d461f9618b3a131ca3b On 28 May

Re: Grids Bean Model does not support is methods

2014-05-30 Thread Erich Gormann
Thanks Howard, we fixed the way CXF generates our webservice types and now we have the desired getter. Of course it was not compliant to the bean spec before, but I saw no way to change the generation behavior. Regards Eric Am 30.05.2014 18:43, schrieb Howard Lewis Ship: If you getter

Re: Grids Bean Model does not support is methods

2014-05-29 Thread Lance Java
Eg: https://gist.github.com/uklance/0d461f9618b3a131ca3b On 28 May 2014 12:43, Lance Java lance.j...@googlemail.com wrote: Another solution is to override / decorate BeanModelSource. The easiest solution is call the default implementation then add the extra PropertyModel(s) to the BeanModel.

Re: Grids Bean Model does not support is methods

2014-05-28 Thread Erich Gormann
Theoretically yes, but the problem is, that the property is not even in the grids bean model present. Nothing doing. On Tue, 27 May 2014 17:40:56 +0100, Lance Java lance.j...@googlemail.com wrote: As a quick workaround you can use the grid's add parameter to add the property and provide a

Re: Grids Bean Model does not support is methods

2014-05-28 Thread Lance Java
Exactly... And specifying an add parameter adds it to the model thus working around the issue. On 28 May 2014 07:35, Erich Gormann e.gorm...@gormann.de wrote: Theoretically yes, but the problem is, that the property is not even in the grids bean model present. Nothing doing. On Tue, 27 May

Re: Grids Bean Model does not support is methods

2014-05-28 Thread Lance Java
Another solution is to override / decorate BeanModelSource. The easiest solution is call the default implementation then add the extra PropertyModel(s) to the BeanModel.

Grids Bean Model does not support is methods

2014-05-27 Thread Erich Gormann
Hi all, in my grid I want to display a bean containig a property of type Boolean, which has not getter, but an is method. The grids reports the error, that the property is missing in the bean to render. How to get grid working with is methods? Thanks in advance for your help Eric

Re: Grids Bean Model does not support is methods

2014-05-27 Thread Lance Java
If you read the java beans spec, you'll see that is can only be used for primitive boolean, not java.lang.Boolean. I remember this was discussed in the past that tapestry could be a bit more lenient here and support Boolean but I don't think anything done. Please file a jira. On 27 May 2014

Re: Grids Bean Model does not support is methods

2014-05-27 Thread Erich Gormann
Hi, yes I know this but I forgot to tell that the bean is generated from a WSDL file and the generation process seems not to know about the bean spec ;-) Thanks for your help. Regards Eric On Tue, 27 May 2014 14:18:28 +0100, Lance Java lance.j...@googlemail.com wrote: If you read the java

Re: Grids Bean Model does not support is methods

2014-05-27 Thread Lance Java
As a quick workaround you can use the grid's add parameter to add the property and provide a custom block to render the column.