You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Natia Gdzelishvili <ng...@gmail.com> on 2008/09/10 15:14:07 UTC

@onevent anotation

Hello,
I want to know what values can be assigned to
@OnEvent(value=???, component="somecomponent") i kwon only "selected" and
"submit"

Re: @onevent anotation

Posted by Howard Lewis Ship <hl...@gmail.com>.
There is no single definitive list (if there were, it would be an
enum, not a string).  Components are free to define and fire, or
listen for, arbitrarily named events.  The framework mostly uses
"action" as the default, but some components, such as Form, fire lots
of events at different times.

On Wed, Sep 10, 2008 at 6:24 AM, Kristian Marinkovic
<kr...@porsche.co.at> wrote:
> any event that the referenced component can fire :)
>
> ActionLink -> onEvent(value="action",component="actionlink")
> Form -> onEvent(value="prepare",component="form")
> ...
> the possible events should be documented by the  component reference
> (see ActionLink or Form component reference for example)
>
> g,
> kris
>
>
>
>
> "Natia Gdzelishvili" <ng...@gmail.com>
> 10.09.2008 15:14
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> "Tapestry users" <us...@tapestry.apache.org>
> Kopie
>
> Thema
> @onevent anotation
>
>
>
>
>
>
> Hello,
> I want to know what values can be assigned to
> @OnEvent(value=???, component="somecomponent") i kwon only "selected" and
> "submit"
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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


Re: @onevent anotation

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
any event that the referenced component can fire :)

ActionLink -> onEvent(value="action",component="actionlink")
Form -> onEvent(value="prepare",component="form")
...
the possible events should be documented by the  component reference 
(see ActionLink or Form component reference for example)

g,
kris




"Natia Gdzelishvili" <ng...@gmail.com> 
10.09.2008 15:14
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>


An
"Tapestry users" <us...@tapestry.apache.org>
Kopie

Thema
@onevent anotation






Hello,
I want to know what values can be assigned to
@OnEvent(value=???, component="somecomponent") i kwon only "selected" and
"submit"