[Xsltforms-support] Editing dynamically imported data
Brought to you by:
alain-couthures
From: Tim T. <tim...@gm...> - 2015-02-16 13:04:23
|
Hello, With XSLTForms in eXist 2.2, I am trying to load data from a Web service and edit it in XForms. In my model, I have an empty instance that gets populated with the imported data: <xf:instance xmlns="" id="results"> <results></results> </xf:instance> In the form body, I have some controls that reference the data to be imported: <xf:group ref="instance('results')" id="import"> <xf:repeat nodeset="oclc-sru:record/oclc-sru:recordData/marc:record/marc:datafield[@tag = '245']" appearance="compact" bind="marcBind"> <xf:input ref="marc:subfield[@code = 'a']"> <xf:label>Title </xf:label> </xf:input> </xf:repeat> </xf:group> However, when I import the data and the new <xf:input> control appears, I am not able to edit it successfully. When the focus changes from the new <xf:input> control, I get a JavaScript error and an alert message stating, "Blur?". How should I address this error? Thank you, Tim |