Apache OpenOffice (AOO) Bugzilla – Issue 99890
In XForms, the data navigator "Insert Controls" functionality does nothing
Last modified: 2017-05-20 11:25:48 UTC
Details: The XForms option from within the bindings, submission, or instance tabs to insert a control into the form doesn't work. When the user selects to insert the control, nothing happens. Rational: Currently, the user can select the instance tab and click and drag the nodes from this tab into the form, but that is undocumented. Currently, after selecting the node in the XML data navigator and right-clicking on the node you are offered an option to "Insert Control." This option does nothing. One would think it would insert that node into the document form. Notes: What would be nice is that if a quick wizard comes up when they select "Insert Control" to help the user choose various options before OO.o inserts the form control into the document form. Examples of various options include the type of control to insert (some of it could be based off any possible data types specified in the XML data type settings) such as check box, text box, formatted field, option button, etc. Steps to show defect: Open a new XForm File New XML Form Document Ensure form control toolbar is enabled: View Toolbars Form controls Ensure form design toolbar is enabled: View Toolbars Form design Ensure XML Data Navigator window is enabled: Withing Form design toolbar toggle on XML data navigator using icon Try to insert a form control into the document form from XML data navigator From within XML data navigator, click on instance tab* In the instance tab is at least one node. Right-click this node and notice the "Insert control" option Click it . . . Nothing happens. What users might expect is a wizard as discussed above. * The "Insert control" option can be seen in instance tab, submissions tab, and bindings tab. For each tab it does nothing.
@safway: Please assign your issues about XForms to MSC. Reassigned to MSC
confirm, set target and send to the right developer
What I will implement in the course of fixing this issue is that "Insert Control" actually does something - i.e. insert a control, bound to the entity it was invoked for, in a standard location. What I won't do here, as it is a different topic, is implementing a wizard for control insertion.
strange enough, there's no code at all to care for the "Insert Control" item - seems it has been dead from the beginning ...
investigating this again reveals there would be quite some effort involved to properly implement the "Insert Control" functionality (even without the wizard). Given XML forms' current priority, I don't see this effort justified for 3.x.
Reset assigne to the default "issues@openoffice.apache.org".