Rahul,

I recommend you look at the BizDoc example, which does exactly this. We add to the XForms instance a /form/show-errors element, which we set to true in the Page Flow if errors are found when trying to save. Then, in the view, we set the attribute like this:

<xforms:group ref="/form"
    xxforms:show-errors="{/form/show-errors = 'true'}">

I hope this helps,

-Erik

Rahul Agarwal wrote:

Hi,

I set xxforms:show-errors attribute on xforms:group element so that when the page is initially loaded, errors won't show and that is what I need. But on submitting the page, this should show these errors. What should I do for this?

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


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