I am creating form through Xform where I am trying to use fr:section to
divide the form in section as form builder does. This give me error while executing view.xthml. Can any one please suggest about settings to have that feature in Xform. -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Are you using the `fr:section` component from XForms you write "by hand"
(instead of using Form Builder)? Could you attach the relevant part from your `orbeon.log` with the error? Also see: https://doc.orbeon.com/configuration/troubleshooting/orbeon-log -Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
orbeon.log <http://discuss.orbeon.com/file/t375711/orbeon.log>
Hi Alex, Thanks for your response! Log file has been attached here. Please refer the text "An Error has Occurred " to see the relevant log message. I just copy paste the source code from form builder to view.xhtml to run the same form in separate web application. snippet of error message seen in log |An Error has Occurred | |----------------------------------------------------------------------------------------------------------------------| |XPath syntax error at char 62 in {...xt()) or fr:is-readonly-mod...}: | | Cannot find a matching 0-argument function n | |amed {http://orbeon.org/oxf/xml/form-runner}is-readonly-mode() | -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
In reply to this post by Alessandro Vernet
Hi Alex,
I just doing evolution of this tool, so that I can be able to suggest this tool our business team. Trying some experiment with fr:section. It works with form builder but not with xforms. Is there any setting required before going to run the form with that element. Thanks, AK -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi AK,
Indeed, the `fr:section` doesn't work outside of Form Runner, i.e. the runtime used by forms you create with Form Builder, as it uses the `fr:is-readonly-mode()` function, which only makes sense in the context of Form Runner. Some of the `fr:*` components might work outside of Form Runner, in just plain XForms, but they were really designed to run in the context of Form Runner. It's not to say that, at least in some cases, they couldn't be made to work in plain XForms, but you just can't count on it being the case. Out of curiosity, what was your use case for writing XForms by-hand, instead of using Form Builder? -Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |