Hi
I am using an DOMFocusIn event on a select1 control as follows: <xforms:action ev:event="DOMFocusIn" if="not(instance('Response')/item)"> <xforms:message level="modeless"> No xforms:itemset data currently exists, will attempt to load from file </xforms:message> <xforms:send submission="sub-get-data" /> The problem with this is that everytime I mouse over this control, I suspect there are many submissions taking place to the server. I would like to avoid this. Is there any other event I can use (other than a trigger), on the select1. thanks I |
Administrator
|
On Mon, Jul 21, 2008 at 1:29 PM, ilango_g <[hidden email]> wrote:
> I am using an DOMFocusIn event on a select1 control as follows: > <xforms:action ev:event="DOMFocusIn" if="not(instance('Response')/item)"> > <xforms:message level="modeless"> > No xforms:itemset data currently exists, will attempt to load from file > </xforms:message> > <xforms:send submission="sub-get-data" /> > > > > The problem with this is that everytime I mouse over this control, I suspect > there are many submissions taking place to the server. I would like to avoid > this. event. You would really need to click on the control for that event to be fired. If you use Firefox and have Firebug installed, you can easily see what is going on between the client and the server by opening the Firebug console. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
I would like to do a dynamic XQuery REST submission to the Restful Server that I have been using. This is what I would like to:
pass an xquery within the action attribute of the xforms:submission, which is: http://localhost:9001/resfulserver/lists/?_query=for $x in...". The URL http://localhost:9001/resfulserver/lists returns XML, but I would like to dynamically append an XQuery to it that will retrieve a subset of this XML. I cannot use doc('XML') because I am not storing any XML. Any suggestions are appreciated.
|
Free forum by Nabble | Edit this page |