cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Merico Raffaele <>
Subject AW: Java for generating suggestion-list
Date Tue, 09 Oct 2007 06:47:39 GMT
Hi Gabriel


I do not know if it's possible to integrate a java class directly.

But, we also work with hibernate and we usually solve this kind of problem
in the following way:


<fd:field id="anrede" required="true">

<fd:datatype base="string"/>





Hope this helps ... Raffaele




Von: Gabriel Gruber [] 
Gesendet: Dienstag, 9. Oktober 2007 08:28
Betreff: Java for generating suggestion-list



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"

any ideas?  from looking in the api i couldn't find a way for this to work. 

Mag. Gabriel Gruber
Senior Consultant

View raw message