DropDown Control not working after upgrading Orbeon to 4.5

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

DropDown Control not working after upgrading Orbeon to 4.5

Arjun
Hi ,
 
     After updating Orbeon from 4.2 to 4.5 version ,Drop-down values are not coming up as expected.
I am getting the drop-down values dynamically.please find the attachment with example form.In the  resource instance I have added a root-element for the drop-down control ,then its not working if there is no root element embedded then its working fine.
test.xhtml
test.xml

Thanks,
Arjun
Reply | Threaded
Open this post in threaded view
|

Re: DropDown Control not working after upgrading Orbeon to 4.5

Erik Bruchez
Administrator
Your resources instance is incorrect. Here is what you have:

<resource xml:lang="en">
   <Root-element>
        <control-2>
            <label>DropDown </label>
            <hint/>
        </control-2>
        <section-1>
            <label>Untitled Section</label>
        </section-1>
    </Root-element>
</resource>

Here is what you must have:

<resource xml:lang="en">
    <control-2>
        <label>DropDown </label>
        <hint/>
    </control-2>
    <section-1>
        <label>Untitled Section</label>
    </section-1>
</resource>

It seems that you have modified the source of the form and added a custom <Root-element>. Form Runner doesn't expect an element in that place, and the service doesn't work.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: DropDown Control not working after upgrading Orbeon to 4.5

Arjun
Hi Erik,

            Yeah that's correct but when I have done the same approach in previous versions other than 4.5 by editing the form and adding a root element it is working fine.So can we achieve the same in 4.5 version?

Regards,
Arjun
Reply | Threaded
Open this post in threaded view
|

Re: DropDown Control not working after upgrading Orbeon to 4.5

Erik Bruchez
Administrator
Arjun,

No, that's not possible. You have to follow the format imposed by Form Runner. Any change from that is risky and can break forms in subtle ways.

-Erik