Issue 99890 - In XForms, the data navigator "Insert Controls" functionality does nothing
Summary: In XForms, the data navigator "Insert Controls" functionality does nothing
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 3.0
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-03-04 18:10 UTC by safway
Modified: 2017-05-20 11:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description safway 2009-03-04 18:10:45 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
     XML Form Document
Ensure form control toolbar is enabled:
     Form controls
Ensure form design toolbar is enabled:
     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.
Comment 1 eric.savary 2009-03-04 18:22:02 UTC
@safway: Please assign your issues about XForms to MSC.

Reassigned to MSC
Comment 2 marc.neumann 2009-08-10 09:53:34 UTC
confirm, set target and send to the right developer
Comment 3 Frank Schönheit 2009-08-13 09:16:18 UTC
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.
Comment 4 Frank Schönheit 2009-08-13 10:57:53 UTC
strange enough, there's no code at all to care for the "Insert Control" item -
seems it has been dead from the beginning ...
Comment 5 Frank Schönheit 2009-08-13 11:26:51 UTC
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.
Comment 6 Marcus 2017-05-20 11:24:46 UTC
Reset assigne to the default "".
Comment 7 Marcus 2017-05-20 11:25:48 UTC
Reset assigne to the default "".