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


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).



my formmodel has it though defined inside the repeater.

    <fd:widgets>
        <fd:repeater id="personalisations">
            <fd:label>Personalisations</fd:label>
            <fd:widgets>
                .....                           
                <!-- the font -->
                <fd:field id="font" required="true">
                    <fd:label>Font</fd:label>
                    <fd:datatype base="string"/>
                </fd:field>

the binding

<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"/>

    <fb:repeater id="personalisations"
      parent-path="."
      row-path="personalisations"
      unique-row-id="id"
      unique-path="@id"
    >
      <fb:on-bind>
        <!-- executed on updates AND right after the insert
        <fb:value id="font" path="font"/>
      </fb:on-bind>
    .....


what's the catch?

thanks
Jorg


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



Reply via email to