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:[EMAIL PROTECTED]
http://www.workflow.at

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to