> On Mon, 13 Feb 2012 18:11:17 -0200, Markus Grell <tapes...@military.de>
> wrote:
>
>
>> Greetings!
>>
>>
>> For my forms I use something like the following:
>>
>>
>> ...
>> @Component(id = "form")
>> private Form form; ...
>> form.recordError("Could not save blabla");
>>
>> And in the template I'm using
>> ...
>> <t:errors/>
>> ...
>>
>>
>>
>> Is there something similar for the beaneditform?
>>
>
> Yes. Have you even tried before posting? ;)

:-)
Yes, I did, but it now turned out that I tried it the wrong way:

--------------------
<t:beaneditform id="form" object="supplier"/>

...

@Persist
private Supplier supplier;
@Component(id="form")
private Form form;
--------------------

It needs to be
@Persist
@Property
private Supplier supplier;
@Component(id="form")
private BeanEditForm form;

My bad, sorry for confusion.

Markus



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to