Hi,

I know that when an element is validated (because there is a type, constraint, or required attribute on a bind _expression_ pointing to that element in the XForms model), the XForms engine adds an xxforms:valid="true|false" attribute to the element. I can access this attribute anywhere I have access to the XForms instance.
My question is - Is there any way to know which particular validation/bind _expression_ (constraint, required or anything else) made the element invalid? My intention is to display appropriate <xforms:alert> message which makes user understand exactly what went wrong. User is not convinced to see all <xforms:alert> messages associated with an element while only one of the many possible constraints is failed.

Thanks and Regards,
Rahul Agarwal
P & C Designer Infrastructure Team
CSC India
91-731-2570717 x460


----------------------------------------------------------------------------------------
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.
----------------------------------------------------------------------------------------



Rahul Agarwal
/FSG/CSC

12/13/2004 02:25 PM


        To:        [EMAIL PROTECTED]
        cc:        [EMAIL PROTECTED], [EMAIL PROTECTED]
        Subject:        Re: [orbeon-user] problem with page-flow - 'Page can not be displayed'Link


Hi,

I know that when an element is validated (because there is a type, constraint, or required attribute on a bind _expression_ pointing to that element in the XForms model), the XForms engine adds an xxforms:valid="true|false" attribute to the element. I can access this attribute anywhere I have access to the XForms instance.
My question is - Is there any way to know which particular validation/bind _expression_ (constraint, required or anything else) made the element invalid? My intention is to display appropriate <xforms:alert> message which makes user understand exactly what went wrong. User is not convinced to see all <xforms:alert> messages associated with an element while only one of the many possible constraints is failed.

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.
----------------------------------------------------------------------------------------



Reply via email to