|
Hi everybody,
I got a new problem, I got a CForm
(definition & template). The datatype for the form are well definied in the
cocoon.xconf like:
<forms-datatype
logger="forms">
<datatypes> <datatype name="string" src=""> <convertors default="dummy" plain="dummy"> <convertor name="dummy" src=""/> </convertors> </datatype> <datatype name="integer" src=""> <convertors default="formatting" plain="plain"> <convertor name="plain" src=""/> <convertor name="formatting" src=""/> </convertors> </datatype> . .
.
</form-datatype>
So in CForm I can use only this
one. What happen is that, with the binding file the system give me an error
(of course) because in the CForm I define country as "string" but I want to
bind with a javabean where country is defined as class
Country .
What the best solution you suggest
me? Should I define my bean simple using only basic datatype, as String, boolean
and int, or there is another solution more interesting?
Thanx in advance
Roberto |
- Conversion of type... Roberto Marra
- Re: Conversion of type... Jens Maukisch
- Re: Re: Conversion of type... Roberto Marra
