You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by nquirynen <na...@pensionarchitects.be> on 2011/03/21 14:26:09 UTC

Select dropdown in grid

I have a grid where i can choose which row i want to edit.
When chosen a row it renders the row with a select in one of the columns
instead of the objects value. This select contains all possible values for
this property.
After choosing an option you can click a actionlink in the row to save this
row.
In the event from this actionlink I want to get the chosen value in this
select to use it to change the objects property and save it to the database.

The problem: 
The value variable of the select component is set after my actionlinks event
where i need the value already

Any ideas on how I can get the value of the select component in the
actionlink its event?
Or maybe an idea on how to achieve what I want to do in another way?

Thanks

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Select-dropdown-in-grid-tp4227978p4227978.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: Select dropdown in grid

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Mon, 21 Mar 2011 10:26:09 -0300, nquirynen  
<na...@pensionarchitects.be> wrote:
> Any ideas on how I can get the value of the select component in the
> actionlink its event?
> Or maybe an idea on how to achieve what I want to do in another way?

See the last example in  
http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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