cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corin Moss <>
Subject Factory is not set on the JXPathContext when adding to a bound collection
Date Wed, 13 Apr 2005 17:47:00 GMT
Hi all,

I'm currently trying to bind a fairly simple object collection (set)
using a repeater.  The set originates from Hibernate, the set consists
of x number of objects.  The loading binding works perfectly,and I can
save the bean back, however when I try to create a new one I get the
following error:

Factory is not set on the JXPathContext - cannot create
path: /timeslotSet[3]

I'm a little confused as to why it wants to create a new timeslotSet - I
expected it to try and create a new timeslot as a member of the
timeslotSet set.

I saw a few mentions of this error, but not within repeaters bound to

The binding fragment is below:

 <fb:repeater id="timeslots"

		<fb:value id="id" path="id" />

     	<fb:value id="time" path="timeslotTime"/>
      	<fb:value id="date" path="timeslotDate"/>.
		<fb:value id="channel_id" path="channel/id"/>
		<fb:value id="programme_id" path="programme/id"/>




As you can see it's very simple.

Can anyone see anything I'm doing wrong? Or another way to accomplish
the same thing?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message