this makes sense Joerg thanks. The widget is indeed embedded in a repeater. Now setting <fb:value id="font" path="font"/> to <fb:value id="font" path="personalisations/font"/> ("personalisations" is the name of the repeater) does not help.
Setting it on the toplevel fb:context does get me past this error (and on to the next). Should it be possible to set the path on a per element basis?


Thanks
Jorg

Joerg Heinicke wrote:

On 13.09.2004 18:02, Jorg Heymans wrote:

Any quick pointers as to what could be causing this? This container called "" seems suspicious to me....


This is the form itself. IIRC the place where the error text is created has a bug, there is a "if (id == null) then form else container" check in it, but the id is not null but "".

java.lang.RuntimeException: org.apache.cocoon.forms.binding.ValueJXPathBinding: Widget "font" does not exist in container "" (file:/D:/servers/jetty-4.2.21/webapps/cocoon/app/bmplogo/forms/BMPLogoFormModel.xml:6:6).



Somewhat refers to a font widget on the root level of the font definition.

<fb:context
    id="form"
    xmlns:fb="http://apache.org/cocoon/forms/1.0#binding";
    path="/" >

    <!-- map Form widgets to the corresponding fields in the java beans
    <fb:value id="font" path="font"/>


--------------------^^^^
This one !!

Joerg


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



Reply via email to