Thanks, I've heard of this in 5.0.16 but not sure how to use it. In my actual implementation, I am creating the link via ComponentResources.createEventLink. Can I still use that method to create the LinkSubmit? Also, looking at LinkSubmit API, it states that this link will submit the form. Will this not trigger a page refresh though? If the input field is within the form, how do I obtain the value on the event handler? Will all the form field's be posted to the method? I don't understand how using the LinkSubmit differs from EventLink in this case?
Thanks, Marcel Thiago H. de Paula Figueiredo wrote: > > Em Thu, 20 Nov 2008 05:53:34 -0300, Marcel Sammut <[EMAIL PROTECTED]> > escreveu: > >> .tml >> <input type="text" value="" id="criteria"/> >> <t:actionlink t:id="searchExecute" context="" /> >> >> .java >> @OnEvent(value="searchExecute") >> void searchExecute() { >> // need something like >> Stirng value = getValue("critieria") >> ... >> } > > I suggest you to use a Form and and a LinkSubmit (new in 5.0.16) instead > of an ActionLink to do that. > > -- > 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://www.nabble.com/-T5--actionlink-and-accessing-context-tp20597202p20606712.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]