maybe you can try to be more specific in this way:

${index}</t:comp>

  @OnEvent(value = "action", component = "select")
  void valueChosen(int value)
  {
    this.value = value;
  }

Here you can find more explanation:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html



moritzgilsdorf-2 wrote:
> 
> 
> Yes, they are both persisted. tableParsed is set to true after a file was
> uploaded and parsed success
> fully. This variable is then used to show the next step of this process
> which requires the table to be parsed.
> 
> The whole thing works well except that after the process is finished I
> have
> to restart jetty or wait until the session has expired. :-(
>  
> When I change the OnEvent annotation to component unspecific by removing
> (component="reset"), the reset() method is triggered, but then I never
> reach
> the second step. The method is then triggered when uploading the file.
> 
>  
> 
> 
> 
> Thiago H. de Paula Figueiredo wrote:
>> 
>> Em Mon, 13 Oct 2008 14:22:36 -0200, moritzgilsdorf  
>> <[EMAIL PROTECTED]> escreveu:
>> 
>>>     @OnEvent(component = "reset")
>>>     public Object reset(){
>>>         tableParsed = false;
>>>         saveSucceed = false;
>>>         return null;
>>>     }
>> 
>> Are tableParsed and saveSucceed @Persist'ed?
>> 
>> -- 
>> Thiago H. de Paula Figueiredo
>> Independent Java consultant, developer, and instructor
>> Consultor, desenvolvedor e instrutor em Java
>> http://www.arsmachina.com.br/thiago
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://n2.nabble.com/ActionLink-in-component-tp1329406p1330597.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ActionLink-in-component-tp19958102p19964545.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to