Jorg Heymans wrote:

<snip/>


From what I understand, your target bean that is bound to the form has a "style" property of type Object[], right?

well first it was String[] but yes, it's Object[] now.


I had a quick look at the code: multivalue field effectively builds its value as an Object[], i.e. an untyped array. We could change it so that it creates an array of the associated datatype, i.e. for a <datatype base="integer"> it would give an Integer[].

But for now, you have to stick with Object[].

Since a multivaluefield has a value of type Object[] also, why don't you simply use <fb:value>?

did that, it works, i'm baffled.


:-D

When would one have to use fb:multi-value then?


It should be mainly useful to bind a multivaluefield to an XML document, where the surrounding structure (parent and row elements) have to be defined.

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


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



Reply via email to