You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2010/04/02 20:34:01 UTC

Re: form submitted get by id

Since you are not using a Tapestry component, you have to "drop down"
to the Servlet API.  You can inject the Request and use it to access a
query parameter. Make sure you <select> element has a name attribute.

On Tue, Mar 30, 2010 at 9:38 PM, asianCoolz <se...@yahoo.com> wrote:
> my <form>
>
> has custom element like below that created using custom ajax
>
> <select jwcid="testtest@Any">
> <option value="x">California -- CA</option>
> <option value="y">Colorado -- CO</option>
> <option value="z">Connecticut -- CN</option>
> </select>
>
>
> after the <form.. submitted, in my java , how to i get the value of this custom
> html element?
>
>
> use this cycle.getPage().getComponents().get("testtest")  ?
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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