What do fr:view and fr:section do?

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

What do fr:view and fr:section do?

bwallis42
I have a lot of old handcrafted forms that don't currently work in Orbeon 4.10 and I am working through the issues.

One I've found is that if the body of the form is not wrapped in <fr:view> </fr:view> then nothing is displayed in the form runner.

I've also seen that the old forms have   as a wrapper around a section whereas new forms have <fr:section id=... bind=...> </fr:section> wrapped around them.

Are these elements documented anywhere, I haven't managed to find anything.

thanks
Reply | Threaded
Open this post in threaded view
|

Re: What do fr:view and fr:section do?

Alessandro  Vernet
Administrator
Hi Brian,

Unfortunately, the markup generated by Form Builder is considered to be "internal", and isn't documented at that level. When the format changes (and we try to keep it as constant as possible!), we make sure that a form produced by Form Builder in an old version of Orbeon Forms still works in a new version of Orbeon Forms, but we can't make that claim for any code that you might have written by hand.

So I think that you're on the right track: you need to find what works and what doesn't, and for the things that don't work debug the issue and figure how the source needs to be changed. And if course, if there is anything you don't seem to be able to figure out, just let us know!

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet