Alex

The main problem I have remaining is as follows:

The output (ref="data") of my pipeline, from the action (in page-flow.xml)

<action when="instanceData/ui/action = ''" action="oxf:/pages/event/event_model.xpl">                        
        <result>
                <xu:update select="instanceData"><xu:value-of select="document('oxf:action')/instanceData/*"/>
                </xu:update>
        </result>                        
</action>        

is:

<instanceData>
    <stateid_cid>
        <screen-id/>
        <user-id/>
        <session-id/>
    </stateid_cid>
    <ui>
        <action>search</action>
        <create_button/>
        <search_button/>
    </ui>
    <document>
        <event>
            <eventnumber>EV1990000001</eventnumber>
            <eventdescription>BlaBlaBla.</eventdescription>
            <addr1/>
            <addr2/>
            <city/>            
        </event>
    </document>
</instanceData>

but the instance input of my epilogue shows nothing but the empty node:

<instanceData/>



Alessandro Vernet <avernet
@orbeon.com>

Sent by: orbeon-user-admin

11/22/2004 05:05 PM
Please respond to orbeon-user

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: [orbeon-user] RE: Issue obtaining Instance data from form



Brian Bacsu wrote:

> Currently it is from the action="" in the page-flow.xml file.
> But, I had also tried from the model ="" file.

Brian,

Ok, so you are creating a new version of the "business document" in
the action (I assume it is event_model.xpl, if this is from the page
flow you sent earlier), that new document is the output of the action,
and you update /instance/document with this new document using XUpdate
in the page flow. That looks fine to me.

Can you try to put a debug on the "data" output of the action, and on
the "instance" input of config/epilogue.xpl? The later will show you
the instance that should have been updated. If you don't get any
useful information from this, would it be possible to attach to your
response your page flow and all the files used in that page (XForms
model, action, view, etc)?

Alex



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


Reply via email to