I've solved it.

Bean class MUST override equals() and hashCode() methods!

4 hours of my life ;)

On Mon, Jan 26, 2009 at 3:31 PM, Davor Miku <davorm...@gmail.com> wrote:

> Thanks!
> There is progress however now I'm getting:
>
> Render queue error in BeginRender[content/Add:content.form]: Bean editor
>> model for com.autobrief.content.model.Content does not contain a property
>> named 'categories'. Available properties: action, author, creationDate, id,
>> intro, publishedDate, source, status, text, title, type.
>>
>
> exception and there is categories property.
>
> Any clue?
>
>
> On Mon, Jan 26, 2009 at 4:20 PM, Thiago H. de Paula Figueiredo <
> thiag...@gmail.com> wrote:
>
>> Em Mon, 26 Jan 2009 16:25:12 -0300, Davor Miku <davorm...@gmail.com>
>> escreveu:
>>
>>  Yes, I understand that, but with <t:parameter /> I should be able to
>>> override that, and to provide my own rendering
>>> of categories property. At least, that's how I understood documentation.
>>>
>>
>> The property rendering can be overriden if it was created in the
>> BeanModel, and your categories property wasn't. To add it, use the include
>> parameter of BeanEditForm:
>>
>> <t:beaneditform t:id="content" exclude="id" include="categories">.
>>
>> It should work now. :)
>>
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Independent Java consultant, developer, and instructor
>> http://www.arsmachina.com.br/thiago
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to