When using xxforms:iterate, the Form Builder summary page does not show the application name and the form name.
Code: <xforms:select1 appearance="full" bind="options-bind" id="options-control"> <xforms:label ref="$form-resources/options/label"/> <xforms:hint ref="$form-resources/options/hint"/> <xforms:help ref="$form-resources/options/help"/> <xforms:alert ref="$fr-resources/detail/labels/alert"/> <xforms:action ev:event="xforms-value-changed"> <xforms:setvalue xxforms:iterate="instance('fr-form-instance')/sample-data/*[not(name()='options')]" ref="."/> </xforms:action> <xforms:itemset nodeset="$form-resources/options/item"> <xforms:label ref="label"/> <xforms:value ref="value"/> </xforms:itemset> </xforms:select1> If I remove the xxforms:iterate, save the form and refresh the Form Builder summary page, it will show the form name and the application name. It also happened to me in another situation that I could not identify the reason. Note: After open the form, the name of the form is shown in the toolbar/Metadata option. The problem is only in the summary page. Why does it happen? Is there a way to use xxforms:iterate in Form Builder without this problem? There is one sampleForm.xhtmlform that I created as a test attached to this topic. |
The same problem happen with this fr:alert-dialog component:
If I include the following code in my form, it will not show the form and application name in the summary page: <xhtml:td> <fr:alert-dialog id="confirm-change-type"> <fr:label>Confirmation</fr:label> <fr:message> Are you sure you want to change the selection? The owner data will be lost. </fr:message> <fr:negative-choice> <xforms:action ev:event="DOMActivate"> //Do something </xforms:action> </fr:negative-choice> <fr:positive-choice> <xforms:action ev:event="DOMActivate"> //Do something </xforms:action> </fr:positive-choice> </fr:alert-dialog> </xhtml:td> Note: If I remove this action part (<xforms:action ev:event="DOMActivate"> //Do something </xforms:action>) that is in the negative and positive choice, save the form and refresh the Form Builder summary page, so it will show the form and application name in the summary page. |
Administrator
|
I don't reproduce this with 3.9 (see screenshot). It might be an issue
with an older version. Can you try with 3.9? -Erik On Fri, May 27, 2011 at 12:57 AM, inanda.menezes <[hidden email]> wrote: > The same problem happen with this fr:alert-dialog component: > > If I include the following code in my form, it will not show the form and > application name in the summary page: > <xhtml:td> > <fr:alert-dialog id="confirm-change-type"> > <fr:label>Confirmation</fr:label> > <fr:message> > Are you sure you want to change the > selection? The owner data will be lost. > </fr:message> > <fr:negative-choice> > <xforms:action > ev:event="DOMActivate"> > //Do something > </xforms:action> > </fr:negative-choice> > <fr:positive-choice> > <xforms:action > ev:event="DOMActivate"> > //Do something > </xforms:action> > </fr:positive-choice> > </fr:alert-dialog> > </xhtml:td> > > Note: If I remove this action part (<xforms:action ev:event="DOMActivate"> > //Do something </xforms:action>) that is in the negative and positive > choice, save the form and refresh the Form Builder summary page, so it will > show the form and application name in the summary page. > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-Builder-When-using-xxforms-iterate-the-summary-page-doesn-t-show-form-name-tp3554586p3554626.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws summary.png (30K) Download Attachment |
Hi Erik,
I tried it here. It happens with the version 3.9 ( Orbeon Forms 3.9.0.201105152053 PE ) when using mysql persistence layer. =/ I am using mysql persistence layer, and I just realized that it seems to work fine with exist. So, do you know why it happens when using mysql? My properties-local.xml: <property as="xs:anyURI" name="oxf.fr.persistence.app.uri.*.*.*" value="/fr/service/mysql"/> <property as="xs:anyURI" name="oxf.fr.persistence.service.mysql.datasource" value="mysql"/> |
Were you able to reproduce it?
|
Administrator
|
Hi Inanda,
Sorry, we haven't been able to reproduce this. Could you share with us a minimal form that exhibits this problem? You can send us the form by going to the left bar, under Advanced, Edit Source, copying the XML, pasting it into a text file, and attaching it to your response. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro,
I have attached the Form example again and also the Screenshot. As I told, it only happens when using Mysql persistence layer. sampleForm.txt |
Sorry, I posted the Screenshot using the old version.
Attached is the Screenshot using the Orbeon3.9 final version. sampleForm.txt Screenshot-FormBuilder39.jpeg |
Free forum by Nabble | Edit this page |