Form Runner: xxforms:dialog not working in XBL components?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Form Runner: xxforms:dialog not working in XBL components?

gino-m
Wrapping an xxforms:dialog in an XBL component usually works fine, except when running a Form Runner app.  The dialog does not appear when displaying using the visible="true" attribute nor <xxforms:show>

Attached are two examples - form.xhtml for Form Runner and test.xhtml for regular XForms.  I've inlined the XBL component for simplicity.

I've tested this in:

Nightly builds:
Orbeon Forms dev-post-3.7.1.201002231035
Orbeon Forms dev-post-3.7.1.201003150700

Browsers:
Google Chrome 4.0.249.89 (38071)
IE 7.0.6002.18005

Am I missing something from the Form Runner model maybe that keeps the dialog for working?

I'm getting desperate as I've spent almost 2 weeks trying to get this component working and now I am a bit stuck.  Please help if you can!

Many thanks in advance,

Gino
Gino Miceli
Forest Information Systems Specialist
Food and Agriculture Organization of the United Nations
FAO-Finland Cooperation Programme
Sustainable Forest Management in a Changing Climate
Forest Management Division, Rm. D-406
Viale delle Terme di Caracalla, s.n.c.
00153 Rome, Italy
http://www.fao.org/forestry
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner: xxforms:dialog not working in XBL components?

Erik Bruchez-3
Gino,

I managed to reproduce the issue. Form Runner was swallowing dialogs
in some cases. I entered and fixed this bug:

http://forge.ow2.org/tracker/index.php?func=detail&aid=314837&group_id=168&atid=350207

Commit:
http://github.com/orbeon/orbeon-forms/commit/fe1a2e8a9f273a4a0acc89a3c9d3794abc969c9d

The fix will be in the next nightly build!

-Erik

On Mon, Mar 15, 2010 at 10:30 AM, gino-m <[hidden email]> wrote:

>
> Wrapping an xxforms:dialog in an XBL component usually works fine, except
> when running a Form Runner app.  The dialog does not appear when displaying
> using the visible="true" attribute nor <xxforms:show>
>
> Attached are two examples -  http://n4.nabble.com/file/n1593728/form.xhtml
> form.xhtml  for Form Runner and
> http://n4.nabble.com/file/n1593728/test.xhtml test.xhtml  for regular
> XForms.  I've inlined the XBL component for simplicity.
>
> I've tested this in:
>
> Nightly builds:
> Orbeon Forms dev-post-3.7.1.201002231035
> Orbeon Forms dev-post-3.7.1.201003150700
>
> Browsers:
> Google Chrome 4.0.249.89 (38071)
> IE 7.0.6002.18005
>
> Am I missing something from the Form Runner model maybe that keeps the
> dialog for working?
>
> I'm getting desperate as I've spent almost 2 weeks trying to get this
> component working and now I am a bit stuck.  Please help if you can!
>
> Many thanks in advance,
>
> Gino
> --
> View this message in context: http://n4.nabble.com/Form-Runner-xxforms-dialog-not-working-in-XBL-components-tp1593728p1593728.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: Form Runner: xxforms:dialog not working in XBL components?

gino-m
Erik,

Brilliant!  Thanks a lot for addressing this issue promptly.  I will fetch
the latest and migrate my app to it.  I'll confirm the fix once this is done.

All the best!
-gino

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: 20 March 2010 01:47
To: [hidden email]
Subject: [ops-users] Re: Form Runner: xxforms:dialog not working in XBL
components?

Gino,

I managed to reproduce the issue. Form Runner was swallowing dialogs in some
cases. I entered and fixed this bug:

http://forge.ow2.org/tracker/index.php?func=detail&aid=314837&group_id=168&at
id=350207

Commit:
http://github.com/orbeon/orbeon-forms/commit/fe1a2e8a9f273a4a0acc89a3c9d3794a
bc969c9d

The fix will be in the next nightly build!

-Erik

On Mon, Mar 15, 2010 at 10:30 AM, gino-m <[hidden email]> wrote:

>
> Wrapping an xxforms:dialog in an XBL component usually works fine,
> except when running a Form Runner app.  The dialog does not appear
> when displaying using the visible="true" attribute nor <xxforms:show>
>
> Attached are two examples -  
> http://n4.nabble.com/file/n1593728/form.xhtml
> form.xhtml  for Form Runner and
> http://n4.nabble.com/file/n1593728/test.xhtml test.xhtml  for regular
> XForms.  I've inlined the XBL component for simplicity.
>
> I've tested this in:
>
> Nightly builds:
> Orbeon Forms dev-post-3.7.1.201002231035 Orbeon Forms
> dev-post-3.7.1.201003150700
>
> Browsers:
> Google Chrome 4.0.249.89 (38071)
> IE 7.0.6002.18005
>
> Am I missing something from the Form Runner model maybe that keeps the
> dialog for working?
>
> I'm getting desperate as I've spent almost 2 weeks trying to get this
> component working and now I am a bit stuck.  Please help if you can!
>
> Many thanks in advance,
>
> Gino
> --
> View this message in context:
> http://n4.nabble.com/Form-Runner-xxforms-dialog-not-working-in-XBL-com
> ponents-tp1593728p1593728.html Sent from the Orbeon Forms (ops-users)
> mailing list archive at Nabble.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
> OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Gino Miceli
Forest Information Systems Specialist
Food and Agriculture Organization of the United Nations
FAO-Finland Cooperation Programme
Sustainable Forest Management in a Changing Climate
Forest Management Division, Rm. D-406
Viale delle Terme di Caracalla, s.n.c.
00153 Rome, Italy
http://www.fao.org/forestry
Reply | Threaded
Open this post in threaded view
|

RE: Form Runner: xxforms:dialog not working in XBL components?

gino-m
In reply to this post by Erik Bruchez-3

Erik,

 

I can confirm that this is working correctly now.

 

Thanks a million!

-Gino

 

 

 

Gino Miceli
Forest Information Systems Specialist
Food and Agriculture Organization of the United Nations
FAO-Finland Cooperation Programme
Sustainable Forest Management in a Changing Climate
Forest Management Division, Rm. D-406
Viale delle Terme di Caracalla, s.n.c.
00153 Rome, Italy
http://www.fao.org/forestry