Submission problem

classic Classic list List threaded Threaded
2 messages Options
hcr
Reply | Threaded
Open this post in threaded view
|

Submission problem

hcr
Hi,
   I use OPS to develop a web application. I have a problem: I pass a xforms instance with submission, then I use response doc to replace a node of another xforms instance in page. Fox example:
   <xforms:instance id="send"/>
   <xforms:instance id="receive">
       <form>
           <books/>
           <products/>
       </form>
   </xforms:instance>
 
   <xforms:submission
        ref="instance('send')"
        replace="instance"
        instance="receive"
        target="/form/books"
        method="post"
        action="/service"
        />
   Should OPS support this? It is important for my application. I want to modify OPS source to support this, How can I do?
 







你 邮 箱 里 居 然 有 积 分 , 这 你 知 道 吗 ?
邮 箱 积 分 居 然 能 换 20 元 钱 , 这 你 也 知 道 吗 ? 点 此 兑 换 20 元 >>

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Submission problem

Erik Bruchez
Administrator
> I use OPS to develop a web application.

That's what it was designed for ;-)

> I have a problem: I pass a xforms instance with submission, then I
> use response doc to replace a node of another xforms instance in
> page.

> Fox example:

>    <xforms:instance id="send"/>
>    <xforms:instance id="receive">
>        <form>
>            <books/>
>            <products/>
>        </form>
>    </xforms:instance>
>
>    <xforms:submission
>         ref="instance('send')"
>         replace="instance"
>         instance="receive"
>         target="/form/books"
>         method="post"
>         action="/service"
>         />

> Should OPS support this? It is important for my application. I want
> to modify OPS source to support this, How can I do?

We don't yet implement xforms:submission/@target yet. The relevant
source file would be XFormsModelSubmission.java.

-Erik

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws