Form builder - control names with namespace

2 views
Skip to first unread message

Jarosław Kowalewski

unread,
Jul 6, 2019, 5:56:43 AM7/6/19
to orb...@googlegroups.com
Hello,
Is it possible to define control names via builder with namespace?
When I type e.g. myns:firstname builder reports error:
Name is already in use or incorrect

When I change control name via source code builder still works. I can change any parameter of such control. 

BR,
Jarek 

Alessandro Vernet

unread,
Jul 9, 2019, 1:20:31 PM7/9/19
to orb...@googlegroups.com
Hi Jarek,

It isn't. If you need your data to have namespaces, or a different structure
than the one Form Builder creates, you'll most likely want to transform it,
say with XSLT, when your end point receives it from a `send()`.

A while ago, we had implemented support in Form Builder for mapping controls
to nodes in your own XML document. (I'm not sure if that implementation also
supported namespaces.) But we found that it added a lot of complexity
throughout Form Builder, and created an additional concern for every new
feature, so we decided, at least for now, to stay with a simple
automatically generated data format. I hope this won't be too much of a
problem in your case.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/
Reply all
Reply to author
Forward
0 new messages