Hi,
i just wondered if it is possible to preselect an option. I use that dialog for security questions, i.e. when saaving changes or delete data. It would be nice to preselect the yes or no. Is somethink like that possible? Thanks in advance, 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
|
Marcus,
On 9/11/07, Marcus <[hidden email]> wrote: > i just wondered if it is possible to preselect an option. > I use that dialog for security questions, i.e. when saaving changes or > delete data. > It would be nice to preselect the yes or no. > Is somethink like that possible? Yes, in the sequence of actions that opens the dialog, in addition to the xxforms:show you can do an xforms:setfocus to the "default trigger". This way end-users can just press enter to confirm. I used this quite a bit with dialog or when creating wizard type of UI, and this makes keyboard navigation much easier. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise 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 Alex,
thats good to know and it works. But unfortunitly when i use the TAB to jump between both options "Yes" and "No" the focus lives the dialog and won#T come back until i click on it with the mouse. :-( I guess that xforms:prompt was not implemented yet unless i asked the last time? That would be the better and easier way i think to handle security questions to prompt important actions. Regards, Marcus ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Wednesday, September 12, 2007 11:39 PM Subject: Re: [ops-users] Questions on xxforms:dialog > Marcus, > > On 9/11/07, Marcus <[hidden email]> wrote: >> i just wondered if it is possible to preselect an option. >> I use that dialog for security questions, i.e. when saaving changes or >> delete data. >> It would be nice to preselect the yes or no. >> Is somethink like that possible? > > Yes, in the sequence of actions that opens the dialog, in addition to > the xxforms:show you can do an xforms:setfocus to the "default > trigger". This way end-users can just press enter to confirm. I used > this quite a bit with dialog or when creating wizard type of UI, and > this makes keyboard navigation much easier. > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > 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 |
Administrator
|
Marcus,
On 9/26/07, Marcus <[hidden email]> wrote: > thats good to know and it works. > But unfortunitly when i use the TAB to jump between both options "Yes" and > "No" the focus lives the dialog and won#T come back until i click on it with > the mouse. :-( What can happen is that if you get to the last form element in the dialog and you press tab, the focus would go to the next form element on the page. But of course, we don't want that to happen with a modal dialog. So when the focus goes to an element which is not in the dialog, there is some JavaScript code that detects that and takes the focus out of that control. So after this, no control has the focus. Of course, there are ways in which this could be improved. > I guess that xforms:prompt was not implemented yet unless i asked the last > time? That would be the better and easier way i think to handle security > questions to prompt important actions. Right, but you can use xxforms:dialog, which lets you do more than xforms:prompt. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise 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 Alex,
ich know that i could use the xxforms:dialog and i do use it. But thats the problem!!! I don't need to do more than a simple Prompt and its very anoying that one cannot switch from yes to no and otherwise just by pressing the TAB as normal in a prompt! So, if you see a possibilty to solve that problem, that would be very helpful! Regards, Marcus ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Wednesday, September 26, 2007 9:15 PM Subject: Re: [ops-users] Questions on xxforms:dialog > Marcus, > > On 9/26/07, Marcus <[hidden email]> wrote: >> thats good to know and it works. >> But unfortunitly when i use the TAB to jump between both options "Yes" >> and >> "No" the focus lives the dialog and won#T come back until i click on it >> with >> the mouse. :-( > > What can happen is that if you get to the last form element in the > dialog and you press tab, the focus would go to the next form element > on the page. But of course, we don't want that to happen with a modal > dialog. So when the focus goes to an element which is not in the > dialog, there is some JavaScript code that detects that and takes the > focus out of that control. So after this, no control has the focus. Of > course, there are ways in which this could be improved. > >> I guess that xforms:prompt was not implemented yet unless i asked the >> last >> time? That would be the better and easier way i think to handle security >> questions to prompt important actions. > > Right, but you can use xxforms:dialog, which lets you do more than > xforms:prompt. > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > 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 |
Administrator
|
Marcus,
On 9/26/07, Marcus <[hidden email]> wrote: > ich know that i could use the xxforms:dialog and i do use it. But thats the > problem!!! > I don't need to do more than a simple Prompt and its very anoying that one > cannot switch from yes to no and otherwise just by pressing the TAB as > normal in a prompt! I understand. However this is the way things are implemented in YUI, the front-end library we are using. So this is likely to stay the same in the near future unless we modify YUI (which I try to avoid) or YUI gets improved in that respect. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise 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,
why is xforms:prompt not implemented? And what about an old javascript promt? Any idea if it is possible to use that and how? Regards, Marcus ----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Thursday, September 27, 2007 12:50 AM Subject: Re: [ops-users] Questions on xxforms:dialog > Marcus, > > On 9/26/07, Marcus <[hidden email]> wrote: >> ich know that i could use the xxforms:dialog and i do use it. But thats >> the >> problem!!! >> I don't need to do more than a simple Prompt and its very anoying that >> one >> cannot switch from yes to no and otherwise just by pressing the TAB as >> normal in a prompt! > > I understand. However this is the way things are implemented in YUI, > the front-end library we are using. So this is likely to stay the same > in the near future unless we modify YUI (which I try to avoid) or YUI > gets improved in that respect. > > Alex > -- > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise > 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 |
Administrator
|
Marcus wrote:
> why is xforms:prompt not implemented? Limited time and resources. > And what about an old javascript promt? > Any idea if it is possible to use that and how? You may be able to do that with the xxforms:script action. -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 |