Hi,

I know <xxforms:hidden> element can be used to create hidden controls. But I could use it without "ref" attribute only. I gave following way -

<xxforms:hidden ref="/Root/Applicant/ClientId"/>

and the error message is -
Type class javax.xml.transform.TransformerException
Message An empty sequence is not allowed as the first argument of escape-uri()
Location oxf:/config/xforms-hidden.xsl
Line 35


It works fine if I supply @xxforms:value and @xxforms:name with <xforms:hidden> element. But I need to create the hidden control with value assigned to it taken from "ref" XPath. Please suggest what should be done.

Thanks and Regards,
Rahul Agarwal


----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
----------------------------------------------------------------------------------------



Erik Bruchez <ebruchez
@orbeon.com>

Sent by: orbeon-user-admin

11/09/2004 03:10 PM
Please respond to orbeon-user

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: [orbeon-user] (no subject)



Alessandro Vernet wrote:

> Q2) How to prevent the message from being displayed when the user first
> comes to the page?
> A2) One way to do this is to have a "constraint" XPath _expression_ in the
> <xforms:bind> element that only checks the password when the form is
> submitted: <xforms:bind nodeset="/form/pin" constraint="/form/action =""> > '' or . = '42'"/>.

Or you can use the xxforms:show-errors attribute on the xforms:group
element: if that attribute is set to "false", errors won't show.

-Erik


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]

https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to