Hi,
Is this feature (xforms:reset) of the XForms 1.0 spec supported yet? If so, how should it be used? I have: <xforms:trigger> <xforms:label>Reset</xforms:label> <xforms:reset ev:event="DOMActivate"/> </xforms:trigger> and this throws an error message (using OPS 3.0beta 4): XForms error: null, line 68, column 62: null null Cheers, Matthew -- 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
|
Matthew,
xforms:reset is currently not supported: http://forge.objectweb.org/tracker/index.php?func=detail&aid=303946&group_id=168&atid=350207 I don't think it would be very difficult to implement though. What is your use case? -Erik Matthew Graham wrote: > Hi, > > Is this feature (xforms:reset) of the XForms 1.0 spec supported yet? If > so, how should it be used? I have: > > > <xforms:trigger> > <xforms:label>Reset</xforms:label> > <xforms:reset ev:event="DOMActivate"/> > </xforms:trigger> > > and this throws an error message (using OPS 3.0beta 4): > > XForms error: null, line 68, column 62: null null > Cheers, > > Matthew -- 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 |
Erik Bruchez wrote:
> Matthew, > > xforms:reset is currently not supported: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=303946&group_id=168&atid=350207 > > > I don't think it would be very difficult to implement though. What is > your use case? > > -Erik > > Matthew Graham wrote: > >> Hi, >> >> Is this feature (xforms:reset) of the XForms 1.0 spec supported yet? >> If so, how should it be used? I have: >> >> >> <xforms:trigger> >> <xforms:label>Reset</xforms:label> >> <xforms:reset ev:event="DOMActivate"/> >> </xforms:trigger> >> >> and this throws an error message (using OPS 3.0beta 4): >> >> XForms error: null, line 68, column 62: null null >> Cheers, >> >> Matthew > > >------------------------------------------------------------------------ > > >-- >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 > > I have a set of query forms to a native XML db and I want a clear/reset button on each form. Cheers, Matthew -- 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 |
Matthew Graham wrote:
> Erik Bruchez wrote: > >> Matthew, >> >> xforms:reset is currently not supported: >> >> http://forge.objectweb.org/tracker/index.php?func=detail&aid=303946&group_id=168&atid=350207 >> >> >> I don't think it would be very difficult to implement though. What is >> your use case? >> >> -Erik >> >> Matthew Graham wrote: >> >>> Hi, >>> >>> Is this feature (xforms:reset) of the XForms 1.0 spec supported yet? >>> If so, how should it be used? I have: >>> >>> >>> <xforms:trigger> >>> <xforms:label>Reset</xforms:label> >>> <xforms:reset ev:event="DOMActivate"/> >>> </xforms:trigger> >>> >>> and this throws an error message (using OPS 3.0beta 4): >>> >>> XForms error: null, line 68, column 62: null null >>> Cheers, >>> >>> Matthew >> >> >> ------------------------------------------------------------------------ >> >> >> -- >> 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 >> >> > Hi, > > I have a set of query forms to a native XML db and I want a > clear/reset button on each form. > > Cheers, > > Matthew > xforms:reset though because the user will see a full page refresh (instead of a asynchronous blanking of all fields). ...actually I suppose to get this effect you could use an xforms:submit with replace="instance" to a url which returns a blank instance document. -- 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
|
Adrian Baker wrote:
> A workaround might be to redirect to the current form, using xforms:load > so that it get's re-requested in a blank state. Not as nice as > xforms:reset though because the user will see a full page refresh > (instead of a asynchronous blanking of all fields). > > ...actually I suppose to get this effect you could use an xforms:submit > with replace="instance" to a url which returns a blank instance document. Yes, both ways could work! -Erik -- 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 |