You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jorg Heymans <jh...@domek.be> on 2004/09/14 19:04:53 UTC

is fb:multivalue working or not?

Hi,

This came up a while ago already
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=108732350717304&w=2

I couldn't get it to work in the following situation :

- bean has an Object[] array called "style" (tried with List or String[] 
as well)
- <fd:multivaluefield id="style" > ....
- <fb:multi-value id="style" parent-path="." row-path="style"/>

I am getting a
Exception trying to create xpath style[1]; Factory is not set on the 
JXPathContext - cannot create path: /personalisations[1]/style[1]

(style is inside a repeater called personalisations)

So i guess for now, the way to go is a custom binding that saves and 
loads the values itself...

Regards
Jorg


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