cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
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 

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

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message