cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <b.molenk...@bizzdesign.nl>
Subject RE: Selection-List CocoonForms
Date Thu, 02 Jun 2005 12:50:37 GMT
Hi,

There is a Java implementation. You can write a class that extends
org.apache.cocoon.forms.datatype.AbstractJavaSelectionList and then add
something like this to your <fd:field>:

<fd:selection-list type="java"
  class="my.cocoon.MySelectionList"

I use it myself to create a list from some database resources.

HTH,
Bart.

> -----Oorspronkelijk bericht-----
> Van: dennis_riedel@web.de [mailto:dennis_riedel@web.de]
> Verzonden: donderdag 2 juni 2005 14:15
> Aan: cocoon user mailing list
> Onderwerp: Selection-List CocoonForms
> 
> Hello.
> Is there no other possibility for dynamic selection lists than
> -flow-jxpath implementation
> -enum implementation
> ??
> 
> I want to load the data for my selection list from database and like
the
> JSF idea with backing beans load my bean into my form.
> So the selection list should be able to read the collection of items,
> display them and I must save the selection in my bean to save the data
> to database.
> 
> Thx for any idea.
> 
> Dennis
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



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


Mime
View raw message