Hey guys, after all this discussion, someone have idea of how I can get the
label of the submit button?

2012/10/17 William Lopes <williamlopes....@gmail.com>

> Man, I tested this today and not works in the practice.
>
> 2012/10/16 Thiago H de Paula Figueiredo <thiag...@gmail.com>
>
>> On Tue, 16 Oct 2012 22:25:48 -0300, William Lopes <
>> williamlopes....@gmail.com> wrote:
>>
>>  So, we go to say that I have 3 atributes in my form:
>>> title(stringGeneric),
>>> author(modeloDadosGeneric), year(numericGeneric).
>>>
>>> Case I try to click in submit of the author, the context received will be
>>> "year", if I add another field, like description(**stringLargeGeneric),
>>> the
>>> return to click in submit button will be "description".
>>>
>>> This happens because the context is loaded just after click in the
>>> submit.
>>>
>>
>> Nope, this isn't correct. The context for a Submit component is defined
>> (loaded) while it's rendered, not when the submit button/link is clicked.
>>
>>
>> --
>> Thiago H. de Paula Figueiredo
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org>
>>
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to