Ooopsss .. sent it to wrong discussion topic. Sorry !!!

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



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




Abhishek Shrivastava/FSG/CSC
@CSC

Sent by: orbeon-user-admin

12/11/2004 03:17 AM
Please respond to orbeon-user

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




Hi,

I have defined a simple page plow for my Application as shown below

<p:config>
    <p:processor name="oxf:page-flow">
        <p:input name="controller">
                <config>
                        <page path-info="*" xforms="AppModel.xml" view="AppView.xsl" id="ApplicationBuilder">
                                <action when="/AppBuilderInstance/Data/Action=''">
                                        <result page="ApplicationBuilder">
                                                <xu:update select="/AppBuilderInstance/Data/SelectedApp">
                                                        <xu:value-of select="document('oxf:instance')/AppBuilderInstance/Data/SelectedApp"/>
                                                </xu:update>
                                        </result>
                                </action>
                        </page>
                        <epilogue url="">
                </config>
        </p:input>
    </p:processor>
</p:config>

Action is set when user clicks in 'Select' link on page. I want to redraw the same page with updated information. The problem here is that after clicking on the link it displays 'The page can not be Displayed'  Error. It seems like there is some problem with finding path to page, but it is able to find the page if I take out 'xforms:model' from page declaration. Any help provided would be very much appreciated.


Abhishek Shrivastava
work: 1-803-333-4283
home: 1-803-736-9573
email: [EMAIL PROTECTED]


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