cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen Reijn <j.re...@hippo.nl>
Subject Re: Java for generating suggestion-list
Date Tue, 09 Oct 2007 07:03:48 GMT
Hi Garbriel,

It is possible to create a Java selection  list. In the forms block 
samples a Java selection list is used for the second  selection list of 
birthdays.

http://cocoon.zones.apache.org/demos/release/samples/blocks/forms/form1

Kind regards,

Jeroen Reijn

Gabriel Gruber wrote:
> 
> Hello!
> 
> I was just wondering, if it is possible to use java instead of 
> javascript to generate a suggestion-list for a cforms widget. this java 
> aims to query a database (via hibernate) and should return a list of 
> results.
> 
> something like this...
> <fd:field id="person">
>     <fd:datatype base="string"/>
>     <fd:suggestion-list type="java" 
> src="com.mycompany.SuggestionListHandler"/>
> </fd:field>
> 
> any ideas?  from looking in the api i couldn't find a way for this to work.
> 
> gabriel
> ______________________
> Mag. Gabriel Gruber
> Senior Consultant
> mailto:gabriel.gruber@workflow.at
> http://www.workflow.at

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


Mime
View raw message