Re: T5: @OnEvent value

2007-06-01 Thread Howard Lewis Ship

You can do this, if you want, by constructing the Link instance via
ComponentResources.createActionLink();  But the intent of having different
event types was to support different types of requests (such as Ajax) or
different types of operations within a request (such as validation and other
lifecycle).  Why not use a component id of "refresh" and a
@OnEvent(component="refresh") (or onActionFromRefresh() ).

On 5/31/07, Joshua Jackson <[EMAIL PROTECTED]> wrote:


Dear all,

How do I change the default event type "action" for @OnEvent?

Let's say I have  @OnEvent( value = "refresh" )
What do I write in the corresponding html page for value?

I tried:
${index}


But it didn't work. Can anyone tell me how to change the default value of
event type from action to something else.

Thanks in advance.

--
YM!: thejavafreak
Blog: http://www.nagasakti.or.id/roller/joshua/





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com


T5: @OnEvent value

2007-05-31 Thread Joshua Jackson

Dear all,

How do I change the default event type "action" for @OnEvent?

Let's say I have  @OnEvent( value = "refresh" )
What do I write in the corresponding html page for value?

I tried:
${index}


But it didn't work. Can anyone tell me how to change the default value of
event type from action to something else.

Thanks in advance.

--
YM!: thejavafreak
Blog: http://www.nagasakti.or.id/roller/joshua/