Hi,
i tried to get a promt box or something like that and found in a working draft for XForms 1.1 the following Prompt-Action. As OPS suppots some of the new XForm Funktions as well, i tried to use this too, but it doesn't work. Isn't it supported yet or did i miss something? Here is my code: <xforms:trigger> <xforms:label>Speichern der Ă„nderungen</xforms:label> <xforms:prompt ev:event="DOMActivate"> <xforms:label> <xhtml:img src="../../../apps/forms/images/save.gif" alt="Save"/> </xforms:label> <xforms:trigger> <xforms:label>Yes</xforms:label> <xforms:send submission="save-submission"/> </xforms:trigger> <xforms:trigger> <xforms:label>No</xforms:label> </xforms:trigger> </xforms:prompt> </xforms:trigger> Any alternatives to that? Thanxs a lot, Marcus -- 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
|
xforms:prompt is not yet implemented. But you can use the xxforms:dialog
extension. There is no extensive documentation on xxforms:dialog yet, but there is a sample you can check out here: http://www.orbeon.com/ops/xforms-sandbox/sample/dialog The source for it is under: RESOURCES/apps/xforms-sandbox/samples/dialog.xhtml -Erik [hidden email] wrote: > Hi, > > i tried to get a promt box or something like that and found in a working draft for XForms 1.1 the following Prompt-Action. As OPS suppots some of the new XForm Funktions as well, i tried to use this too, but it doesn't work. Isn't it supported yet or did i miss something? > Here is my code: > > <xforms:trigger> > <xforms:label>Speichern der Ă„nderungen</xforms:label> > <xforms:prompt ev:event="DOMActivate"> > <xforms:label> > <xhtml:img src="../../../apps/forms/images/save.gif" alt="Save"/> > </xforms:label> > <xforms:trigger> > <xforms:label>Yes</xforms:label> > <xforms:send submission="save-submission"/> > </xforms:trigger> > <xforms:trigger> > <xforms:label>No</xforms:label> > </xforms:trigger> > </xforms:prompt> > </xforms:trigger> > > Any alternatives to that? > Thanxs a lot, > Marcus 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 |
Hi Erik,
thanxs for that tip. In my opinion not so nice as the prompt-aktion, but it works well and fullfills my needs. So thanks on that! Where is the difference between "modal" and "modeless" within the xxform:dialog? Greets, Marcus -- 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 Erik, > thanxs for that tip. > In my opinion not so nice as the prompt-aktion, but it works well and fullfills my needs. So thanks on that! > Where is the difference between "modal" and "modeless" within the xxform:dialog? "modal" prevents you to interact with the rest of the page (what's underneath the dialog) until you have closed the dialog. "modeless" is the opposite. -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 |
Hi Erik,
thanks for that. That exact what i wanted - the "modal"-level. Somewhere i thought i read that only the "modeless" version is implemented yet, so i had to do a workaround yesterday to use this "dialog" - thats why i wrote, i would prefer the prompt-aktion! I just wanted a possibilty for the user to prompt his actions in case of "redo changes" or "overwrite old documents". In "modeless"-level it was possible to do actions even the dialog was open! so i had to disable all the triggers and fields - that wasn't very attractive! Should have asked before, thanks a lot for your support! You do great work! Sorry that I bother you so much the last days, but after trying to find such problems on my own and wasting useful time while i havn't got so much causes me prefer asking in the help-forum than searching for errors like the last 2 times and then find, that i could nothing about it myself :-( I'm very thankful this help-forum exists! Hope my last statement on the "error in new ops351" could help you find the error!? Until my next problem or even simple question :-) Marcus ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Monday, April 02, 2007 11:12 PM Subject: Re: [ops-users] XForms 1.1 - Is Prompt-Action supported? > [hidden email] wrote: >> Hi Erik, >> thanxs for that tip. >> In my opinion not so nice as the prompt-aktion, but it works well and >> fullfills my needs. So thanks on that! >> Where is the difference between "modal" and "modeless" within the >> xxform:dialog? > > "modal" prevents you to interact with the rest of the page (what's > underneath the dialog) until you have closed the dialog. "modeless" is > the opposite. > > -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 > -- 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 |