Hi
all,
I
have noticed a small problem with xforms:triggers appearing as links. Normally
holding control and click will open the link in a new tab, but because the link
could show a dialog or move to another page or change a field value the href
points at the currently page. So when doing control click it reopens the same
page, rather than doing what the trigger/link is intended to
do.
Ideally IMO the
ctrl click should only respond when the DOMActivate event contains an
xforms:load, or (more easily) not at all.
Thanks
Ryan
Ryan
Puddephatt -- 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
|
Hi Ryan,
It would makes sense for the trigger to behave the way you describe. One way to implement this is for the client to tell the server "the user clicked on that button with ctrl pressed". Then when the server runs the actions, if one of the actions loads a new page (<xforms:send> running a submission replace="all" or <xforms:load>), the server tells the client "go to this page in a new window". This is not exactly trivial to implement, so for now I'll add a bug in the tracker to keep track of this: http://forge.objectweb.org/tracker/index.php?func=detail&aid=306559&group_id=168&atid=350207 Alex On 1/3/07, Ryan Puddephatt <[hidden email]> wrote: > > > Hi all, > I have noticed a small problem with xforms:triggers appearing as links. Normally holding control and click will open the link in a new tab, but because the link could show a dialog or move to another page or change a field value the href points at the currently page. So when doing control click it reopens the same page, rather than doing what the trigger/link is intended to do. > > Ideally IMO the ctrl click should only respond when the DOMActivate event contains an xforms:load, or (more easily) not at all. > > Thanks > > Ryan > > > > > Ryan Puddephatt > Software Engineer > > > Teleflex Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotland > EH54 7DP > > e> [hidden email] > t> +44(0)1506 407 110 > f> +44(0)1506 407 108 > w> www.teleflex.com > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |