After try it,It did not work.
the requirement position to show dialog may be dynamic.so the style can not
resolve the requirement.
I think maybe the dialogAttr.such as "dialogAttr="bgColor='white'
bgOpacity='0.5' toggle='fade' toggleDuration='250'",but I can not find the
position attribute .
Gerald Müllan wrote:
>
> Hi,
>
>
> Have you tried to influence the style behaviour over the "style" or
> "styleClass" attribute of the component? Don`t know if this works..
>
> However, in s:modalDialog there is the dojo` predefined style class
> dojoDialog.
> You can also define it a second time, like:
>
> .dojoDialog{
> position:relative !important;
> top:20% !important;
> }
>
> and overwrite the class attributes delivered with the dojo styles.
>
> If it works for you, can you make up a little wiki page on it? It
> would help others too.
>
> cheers,
>
> Gerald
>
> On 10/10/06, liulocust <[EMAIL PROTECTED]> wrote:
>>
>> When click a button to show the modelDialog,I want to display the
>> modalDialog
>> near the button not the screen center.
>>
>> Can s:modelDialog 's show method support the position parameter?
>>
>> And how to do this?thx.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/s%3AmodalDialog-show-position-tf2415526.html#a6733272
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
--
View this message in context:
http://www.nabble.com/s%3AmodalDialog-show-position-tf2415526.html#a6737011
Sent from the MyFaces - Users mailing list archive at Nabble.com.