简体   繁体   English

Orbeon:在控件设置中包含复选框

[英]Orbeon : having checkboxes inside control's settings

I'm writing my custom control (XBL) and wondering : it possible to have checkboxes inside control's Basic Settings in Form Builder, not only xf:input fields ? 我正在编写我的自定义控件(XBL),并想知道:可以在Form Builder中的控件的“基本设置”中包含复选框,而不仅是xf:input字段?

I would appreciate any examples. 我将不胜感激任何例子。

Currently support for xf:input is hardcoded. 当前对xf:input支持是硬编码的。 You can see how this is implemented here . 您可以在此处查看如何实现。

It wouldn't be too hard to add support for other controls. 添加对其他控件的支持并不难。 Another idea would be to use xxf:dynamic , in effect creating a little subform, so that we don't have to interpret the XForms by hand. 另一个想法是使用xxf:dynamic ,实际上创建了一个小的子表单,因此我们不必手动解释XForms。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM