cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: fd:selection-list selected item
Date Mon, 25 Apr 2005 08:47:34 GMT
Arsen A. Gutsal wrote:
> Hi List.
> 
> How to set up default item within fd:selection-list (HTML equivalent is
> <option selected/>)?

You have to set the value of the widget. AFAIK there is a new, undocumented fd: 
element: <fd:initial-value>...</>. Of course you can access the widget in the

controller and set the value there using the cForms API.

Of course you have to make sure that the value you set is part of the selection 
list.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------


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


Mime
View raw message