Sylvain Juge wrote:
> I use want to trigger error display only when the form have been > send at least once, thus when the "action" value is different from > empty string. With this code I don't get any error messages :-(.
If you try:
xxforms:show-errors="{document('oxf:instance')/form/action !=''}"Does the behavior improve?
> - when declaring xxforms namespace in this form, the "xxforms:valid" > attribute for inputs is changed to "xxforms_1:valid", however it > seems that it remains in the same namespace, does it comes from > processor used to display xml ?
Not sure about this one. It may be Saxon trying to handle a funny namespace situation at some point. Maybe Alex can comment on whether the XForms engine may be doing this?
> - at the end of my form, for debug purpose, I display current xforms
> instance, and except before first submission why
> <xsl:copy-of select ="/*" />
> <xsl:copy-of select ="document('oxf:instance')" />> do not return the same thing ? I get my valid item with its value from > the first statement (thanks to xsl check), and xforms instance from the > second.
If you page model returns a document on its "data" output, this will
be the default input of the XSLT view. If it doesn't, the XForms
instance becomes the default input of the XSLT view. This is sometimes
confusing and we have an RFE to improve this, but this means that if
you want to access the XForms instance from an XSLT view, it is
recommended to always use doc('oxf:instance') instead of assuming that
the main input of the stylesheet contains the XForms instance.-Erik
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user
