how to set the position of xforms:dialog control

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

how to set the position of xforms:dialog control

Lakshmi Bhavani E

Hello all,

 

I want to display dialog box when a button is clicked like a dropdown list but, I want to give some gap between button(trigger) and the dialog box.

 

Code:

 

<xforms:trigger id="show-dialog1" appearance="minimal" style="width:100px;" >

                                <xforms:label><xforms:output value="concat('&lt;img src=''','/../orbeon/images/charities. jpg', '''>')" mediatype="text/html"/></xforms:label>

                                <xxforms:show ev:event="DOMActivate" dialog="myDialog" neighbor="show-dialog1"/>

                                </xforms:trigger>

 

 

But when I clicked on trigger, the dialogbox is overlapped the some part of the trigger, its looks bad so I want to give some space between trigger and dialog box.

 

Please give me an idea.

 

 

 

 

Thanks,

Bhavani



--
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: how to set the position of xforms:dialog control

Vinith Gowda1
Bhavani,

Define a trigger called

 <xforms:trigger appearance="minimal" id="V-trigger">
                <xforms:label></xforms:label>
    </xforms:trigger>

where ever you want show the dialog and refer this in


<xxforms:show ev:event="DOMActivate"
dialog="myDialog" neighbor="<b>V-trigger"/>


Hope this helps :)


Lakshmi Bhavani E wrote
Hello all,

 

I want to display dialog box when a button is clicked like a dropdown list
but, I want to give some gap between button(trigger) and the dialog box.

 

Code:

 

<xforms:trigger id="show-dialog1" appearance="minimal" style="width:100px;"
>

                                <xforms:label><xforms:output
value="concat('&lt;img src=''','/../orbeon/images/charities. jpg', '''>')"
mediatype="text/html"/></xforms:label>

                                <xxforms:show ev:event="DOMActivate"
dialog="myDialog" neighbor="show-dialog1"/>

                                </xforms:trigger>

 

 

But when I clicked on trigger, the dialogbox is overlapped the some part of
the trigger, its looks bad so I want to give some space between trigger and
dialog box.

 

Please give me an idea.

 

 

 

 

Thanks,

Bhavani



--
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: Re: how to set the position of xforms:dialog control

Lakshmi Bhavani E
Hello Vinith,

I have tried the same code what you are given already, but the dialog box is
not displayed when button is clicked, is there any alternative method to
this please suggests me.

Thanks
Bhavani


-----Original Message-----
From: VinithGowda [mailto:[hidden email]]
Sent: Monday, June 29, 2009 7:05 PM
To: [hidden email]
Subject: [ops-users] Re: how to set the position of xforms:dialog control


Bhavani,

Define a trigger called

 <xforms:trigger appearance="minimal" id="V-trigger">
                <xforms:label></xforms:label>
    </xforms:trigger>
where ever you want show the dialog and refer this in


<xxforms:show ev:event="DOMActivate"
dialog="myDialog" neighbor="V-trigger"/>


Hope this helps :)



Lakshmi Bhavani E wrote:

>
> Hello all,
>
>  
>
> I want to display dialog box when a button is clicked like a dropdown list
> but, I want to give some gap between button(trigger) and the dialog box.
>
>  
>
> Code:
>
>  
>
> <xforms:trigger id="show-dialog1" appearance="minimal"
> style="width:100px;"
>>
>
>                                 <xforms:label><xforms:output
> value="concat('&lt;img src=''','/../orbeon/images/charities. jpg', '''>')"
> mediatype="text/html"/></xforms:label>
>
>                                 <xxforms:show ev:event="DOMActivate"
> dialog="myDialog" neighbor="show-dialog1"/>
>
>                                 </xforms:trigger>
>
>  
>
>  
>
> But when I clicked on trigger, the dialogbox is overlapped the some part
> of
> the trigger, its looks bad so I want to give some space between trigger
> and
> dialog box.
>
>  
>
> Please give me an idea.
>
>  
>
>  
>
>  
>
>  
>
> Thanks,
>
> Bhavani
>
>
>
> --
> 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/how-to-set-the-position-of-xforms%3Adialog-control-tp2
4253508p24254242.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