Hi,
I tried some mailing list search but that wouldnt help. Can someone tell me what is the difference between having a xf:submit using a ref and using a bind. For example, the difference between this <xf:submission id="auto-complete-serial-number" method="get" ref="/item/context/number" action="/xforms/getNumbers.action" instance="serial-numbers" separator="&" replace="instance" validate="false" /> and this <xf:submission id="auto-complete-serial-number" method="get" bind="ctxNumber" action="/xforms/getNumbers.action" instance="serial-numbers" separator="&" replace="instance" validate="false" /> Where I have bound ctxNumber to item/context/number using xf:bind control. When I use a ref, I am getting a "Control not bound to external node...error" after the response has come back and I try to fill some other fields. When I use a bind that error doesnt occur, however If I am not wrong, when I use ref, only that snippet of xml alone is sent for the get request? I would like that to happen in my case. So could someone a) Tell me what the difference is between the two b) Why do I get Control not bound errors in first case c) How to get it work with a "ref" construct since I want only that snippet to participate in a get/post request. -- Regards, Kannan Ekanath -- 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 |
Administrator
|
[hidden email] wrote:
> Hi, > I tried some mailing list search but that wouldnt help. Can someone tell > me what is the difference between having a xf:submit using a ref and > using a bind. > > For example, the difference between this > <xf:submission id="auto-complete-serial-number" method="get" > ref="/item/context/number" > action="/xforms/getNumbers.action" > instance="serial-numbers" separator="&" replace="instance" > validate="false" /> > > and this > <xf:submission id="auto-complete-serial-number" method="get" > bind="ctxNumber" > action="/xforms/getNumbers.action" > instance="serial-numbers" separator="&" replace="instance" > validate="false" /> > > Where I have bound ctxNumber to item/context/number using xf:bind control. > > When I use a ref, I am getting a "Control not bound to external > node...error" after the response has come back and I try to fill some > other fields. When I use a bind that error doesnt occur, however If I am > not wrong, when I use ref, only that snippet of xml alone is sent for > the get request? I would like that to happen in my case. So could someone > a) Tell me what the difference is between the two > b) Why do I get Control not bound errors in first case > c) How to get it work with a "ref" construct since I want only that > snippet to participate in a get/post request. The ref should be enough to achieve that. Can you try a nightly build? Can you send a reproducible case for the sandbox? -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 |
Free forum by Nabble | Edit this page |