problem with xxforms dialog

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

problem with xxforms dialog

ilango_g
Hi
I have enclosed a snippet containing code for a dialog box. I need to place three input fields, two buttons, and a three column table with headers.

The goal is to have data entered into the table dynamically using xforms:repeat, I think.
Right now, I am unable to have the table placed inside the dialog box although the table is placed inside the

<xxforms:dialog> </xxforms:dialog> 
What is happening is that the table is written outside my dialog box on the form and the hyperlink that is throwing up the popup in the first place is shifted to a different spot on the form. I wonder what is happening here. Any pointers are appreciated.

xxforms_dialog_box.txt
Reply | Threaded
Open this post in threaded view
|

Re: problem with xxforms dialog

fl.schmitt
Hi XGuy,

> The goal is to have data entered into the table dynamically using
> xforms:repeat, I think.
> Right now, I am unable to have the table placed inside the dialog box
> although the table is placed inside the
> <xxforms:dialog> </xxforms:dialog>

i didn't test it, but maybe the problem is caused by the fact that the
xxforms:dialog is nested into a table itself. Maybe you could try to put
the xxforms:dialog anywhere else (i usually put it directly into the
xhtml:body).

HTH
florian




--
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: problem with xxforms dialog

ilango_g
Yes, it is indeed nested in an existing table on the parent XForm. But I would like it to appear in a certain spot on my parent XForm. In my case I want it to appear next to a certain input control on my XForm because that is where it makes sense to the user.

Maybe my understanding of CSS is not great, but trying to understand your suggestion, I think you are suggesting that I use some sort of positioning to place my "repeat" structure table where I want it to.


fs(gmx) wrote
Hi XGuy,

> The goal is to have data entered into the table dynamically using
> xforms:repeat, I think.
> Right now, I am unable to have the table placed inside the dialog box
> although the table is placed inside the
> <xxforms:dialog> </xxforms:dialog> 

i didn't test it, but maybe the problem is caused by the fact that the
xxforms:dialog is nested into a table itself. Maybe you could try to put
the xxforms:dialog anywhere else (i usually put it directly into the
xhtml:body).

HTH
florian




--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: problem with xxforms dialog

Erik Bruchez
Administrator
In reply to this post by fl.schmitt

On Jan 29, 2008, at 11:51 PM, Florian Schmitt wrote:

> Hi XGuy,
>
>> The goal is to have data entered into the table dynamically using
>> xforms:repeat, I think. Right now, I am unable to have the table  
>> placed inside the dialog box
>> although the table is placed inside the <xxforms:dialog> </
>> xxforms:dialog>
>
> i didn't test it, but maybe the problem is caused by the fact that  
> the xxforms:dialog is nested into a table itself. Maybe you could  
> try to put the xxforms:dialog anywhere else (i usually put it  
> directly into the xhtml:body).
For sure xxforms:dialog must be a top-level element, e.g. under  
xhtml:body. You can't nest it within other XForms or XHTML elements.

-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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: problem with xxforms dialog

Erik Bruchez
Administrator
In reply to this post by ilango_g
Dialogs are positioned in two ways in Orbeon Forms, depending on the  
appearance. See:

   http://www.orbeon.com/ops/doc/reference-xforms-2#dialog-dialog

Currently you can't position a dialog next to a control unless you use  
the "minimal" appearance. Otherwise the dialog will be centered on the  
page.

-Erik

On Jan 30, 2008, at 5:40 AM, XGuy wrote:

>
> Yes, it is indeed nested in an existing table on the parent XForm.  
> But I
> would like it to appear in a certain spot on my parent XForm. In my  
> case I
> want it to appear next to a certain input control on my XForm  
> because that
> is where it makes sense to the user.
>
> Maybe my understanding of CSS is not great, but trying to understand  
> your
> suggestion, I think you are suggesting that I use some sort of  
> positioning
> to place my "repeat" structure table where I want it to.
>
>
>
> fs(gmx) wrote:
>>
>> Hi XGuy,
>>
>>> The goal is to have data entered into the table dynamically using
>>> xforms:repeat, I think.
>>> Right now, I am unable to have the table placed inside the dialog  
>>> box
>>> although the table is placed inside the
>>> <xxforms:dialog> </xxforms:dialog>
>>
>> i didn't test it, but maybe the problem is caused by the fact that  
>> the
>> xxforms:dialog is nested into a table itself. Maybe you could try  
>> to put
>> the xxforms:dialog anywhere else (i usually put it directly into the
>> xhtml:body).
>>
>> HTH
>> florian
>>
>>
>>
>>
>> --
>> 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
>>
>>
>
> --
> View this message in context: http://www.nabble.com/problem-with-xxforms-dialog-tp15147334p15182443.html
> Sent from the ObjectWeb 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
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws