Greetings,
I have a form that contains a single input text box and an actionlink
component.  The action link is an event handled by a method in the
implementing java class.  What I'd like to be able to do is in the event
handler, be able to access the value entered in the input field.  This is
pretty much a search function, where the event handler executes a search
based on the input value.  This is being done in AJAX so the search needs to
execute without a full page refresh.

.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")
  ...
}

Is there anyway to access the value for the "criteria" input field in the
searchExecute method?  I tried looking at the
Request.getParameter("criteria"), but that returned null.

Thanks,
Marcel Sammut
-- 
View this message in context: 
http://www.nabble.com/-T5--actionlink-context-tp20597202p20597202.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