You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by mi...@convergys.com on 2007/06/19 13:30:05 UTC
[Trinidad]Dialogs not modal in firefox
It appears that dialogs work differently in IE and Firefox. In IE they
are modal. In Firefox they are not. Is there something I am missing? (I
am using the JSF 1.2 branch)
Re: [Trinidad]Dialogs not modal in firefox
Posted by Scott O'Bryan <da...@gmail.com>.
I see. I was looking at the code and it didn't seem that way to me, but
I didn't do a lot of digging. You're probably correct.
Adam Winer wrote:
> AFAIK, we don't use the "modal" flag, but instead try to
> use event capture.
>
> -- Adam
>
>
> On 6/19/07, *Matt Cooper* < matt.faces@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hi Scott,
>
> Aside from the description over at [1] for why it was changed to a
> privileged feature, I can imagine that companies making popup ads
> would love to make their popups take control of the browser.
>
> I think a preferred alternative would be to otherwise block user
> input (keyboard, mouse clicks, etc.) in the dialog's launcher
> window rather than attempting to use this privileged feature.
>
> [1] - http://secunia.com/advisories/13786/
>
> Regards,
> Matt
>
>
> On 6/19/07, *Scott O'Bryan * <darkarena@gmail.com
> <ma...@gmail.com>> wrote:
>
> The more I look at this the more I dislike trying to request the
> security. Enabling this feature in Firefox makes Firefox
> vulnerable to
> script attacks. What do others think?
>
> Scott
>
> Scott O'Bryan wrote:
> > Hey Mike, do you have a JIRA ticket for this? If you do I
> can try to
> > see about submitting a patch. I'll begin working on this.
> >
> > mike.sauer@convergys.com <ma...@convergys.com> wrote:
> >>
> >> It appears that with firefox the modal setting (if that is what
> >> Trinidad is using) requires special privileges to take effect.
> >>
> http://developer.mozilla.org/en/docs/DOM:window.open#Features_requiring_privileges
> <http://developer.mozilla.org/en/docs/DOM:window.open#Features_requiring_privileges>
> >>
> >>
> >>
> >>
> >>
> >> *"Adam Winer" <awiner@gmail.com <ma...@gmail.com>>*
> >>
> >> 06/19/2007 11:54 AM
> >> Please respond to
> >> "MyFaces Discussion" <users@myfaces.apache.org
> <ma...@myfaces.apache.org>>
> >>
> >>
> >>
> >> To
> >> "MyFaces Discussion" < users@myfaces.apache.org
> <ma...@myfaces.apache.org>>
> >> cc
> >>
> >> Subject
> >> Re: [Trinidad]Dialogs not modal in firefox
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> It's a bug with our Firefox JS - or, perhaps, something that
> just isn't
> >> possible with Firefox? I'd love any insight into how to
> make the
> >> dialogs
> >> modal in Firefox.
> >>
> >> -- Adam
> >>
> >>
> >> On 6/19/07, mike.sauer@convergys.com
> <ma...@convergys.com> < mike.sauer@convergys.com
> <ma...@convergys.com>> wrote:
> >> >
> >> > It appears that dialogs work differently in IE and
> Firefox. In IE
> >> they are
> >> > modal. In Firefox they are not. Is there something I am
> missing?
> >> (I am
> >> > using the JSF 1.2 branch)
> >>
> >
> >
>
>
>
Re: [Trinidad]Dialogs not modal in firefox
Posted by Adam Winer <aw...@gmail.com>.
AFAIK, we don't use the "modal" flag, but instead try to
use event capture.
-- Adam
On 6/19/07, Matt Cooper <ma...@gmail.com> wrote:
>
> Hi Scott,
>
> Aside from the description over at [1] for why it was changed to a
> privileged feature, I can imagine that companies making popup ads would love
> to make their popups take control of the browser.
>
> I think a preferred alternative would be to otherwise block user input
> (keyboard, mouse clicks, etc.) in the dialog's launcher window rather than
> attempting to use this privileged feature.
>
> [1] - http://secunia.com/advisories/13786/
>
> Regards,
> Matt
>
> On 6/19/07, Scott O'Bryan <da...@gmail.com> wrote:
> >
> > The more I look at this the more I dislike trying to request the
> > security. Enabling this feature in Firefox makes Firefox vulnerable to
> > script attacks. What do others think?
> >
> > Scott
> >
> > Scott O'Bryan wrote:
> > > Hey Mike, do you have a JIRA ticket for this? If you do I can try to
> > > see about submitting a patch. I'll begin working on this.
> > >
> > > mike.sauer@convergys.com wrote:
> > >>
> > >> It appears that with firefox the modal setting (if that is what
> > >> Trinidad is using) requires special privileges to take effect.
> > >> http://developer.mozilla.org/en/docs/DOM:window.open#Features_requiring_privileges
> >
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> *"Adam Winer" <aw...@gmail.com>*
> > >>
> > >> 06/19/2007 11:54 AM
> > >> Please respond to
> > >> "MyFaces Discussion" <us...@myfaces.apache.org>
> > >>
> > >>
> > >>
> > >> To
> > >> "MyFaces Discussion" < users@myfaces.apache.org>
> > >> cc
> > >>
> > >> Subject
> > >> Re: [Trinidad]Dialogs not modal in firefox
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> It's a bug with our Firefox JS - or, perhaps, something that just
> > isn't
> > >> possible with Firefox? I'd love any insight into how to make the
> > >> dialogs
> > >> modal in Firefox.
> > >>
> > >> -- Adam
> > >>
> > >>
> > >> On 6/19/07, mike.sauer@convergys.com < mike.sauer@convergys.com>
> > wrote:
> > >> >
> > >> > It appears that dialogs work differently in IE and Firefox. In IE
> > >> they are
> > >> > modal. In Firefox they are not. Is there something I am missing?
> > >> (I am
> > >> > using the JSF 1.2 branch)
> > >>
> > >
> > >
> >
> >
>
Re: [Trinidad]Dialogs not modal in firefox
Posted by Matt Cooper <ma...@gmail.com>.
Hi Scott,
Aside from the description over at [1] for why it was changed to a
privileged feature, I can imagine that companies making popup ads would love
to make their popups take control of the browser.
I think a preferred alternative would be to otherwise block user input
(keyboard, mouse clicks, etc.) in the dialog's launcher window rather than
attempting to use this privileged feature.
[1] - http://secunia.com/advisories/13786/
Regards,
Matt
On 6/19/07, Scott O'Bryan <da...@gmail.com> wrote:
>
> The more I look at this the more I dislike trying to request the
> security. Enabling this feature in Firefox makes Firefox vulnerable to
> script attacks. What do others think?
>
> Scott
>
> Scott O'Bryan wrote:
> > Hey Mike, do you have a JIRA ticket for this? If you do I can try to
> > see about submitting a patch. I'll begin working on this.
> >
> > mike.sauer@convergys.com wrote:
> >>
> >> It appears that with firefox the modal setting (if that is what
> >> Trinidad is using) requires special privileges to take effect.
> >>
> http://developer.mozilla.org/en/docs/DOM:window.open#Features_requiring_privileges
> >>
> >>
> >>
> >>
> >>
> >> *"Adam Winer" <aw...@gmail.com>*
> >>
> >> 06/19/2007 11:54 AM
> >> Please respond to
> >> "MyFaces Discussion" <us...@myfaces.apache.org>
> >>
> >>
> >>
> >> To
> >> "MyFaces Discussion" <us...@myfaces.apache.org>
> >> cc
> >>
> >> Subject
> >> Re: [Trinidad]Dialogs not modal in firefox
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> It's a bug with our Firefox JS - or, perhaps, something that just isn't
> >> possible with Firefox? I'd love any insight into how to make the
> >> dialogs
> >> modal in Firefox.
> >>
> >> -- Adam
> >>
> >>
> >> On 6/19/07, mike.sauer@convergys.com <mi...@convergys.com> wrote:
> >> >
> >> > It appears that dialogs work differently in IE and Firefox. In IE
> >> they are
> >> > modal. In Firefox they are not. Is there something I am missing?
> >> (I am
> >> > using the JSF 1.2 branch)
> >>
> >
> >
>
>
Re: [Trinidad]Dialogs not modal in firefox
Posted by Scott O'Bryan <da...@gmail.com>.
The more I look at this the more I dislike trying to request the
security. Enabling this feature in Firefox makes Firefox vulnerable to
script attacks. What do others think?
Scott
Scott O'Bryan wrote:
> Hey Mike, do you have a JIRA ticket for this? If you do I can try to
> see about submitting a patch. I'll begin working on this.
>
> mike.sauer@convergys.com wrote:
>>
>> It appears that with firefox the modal setting (if that is what
>> Trinidad is using) requires special privileges to take effect.
>> http://developer.mozilla.org/en/docs/DOM:window.open#Features_requiring_privileges
>>
>>
>>
>>
>>
>> *"Adam Winer" <aw...@gmail.com>*
>>
>> 06/19/2007 11:54 AM
>> Please respond to
>> "MyFaces Discussion" <us...@myfaces.apache.org>
>>
>>
>>
>> To
>> "MyFaces Discussion" <us...@myfaces.apache.org>
>> cc
>>
>> Subject
>> Re: [Trinidad]Dialogs not modal in firefox
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> It's a bug with our Firefox JS - or, perhaps, something that just isn't
>> possible with Firefox? I'd love any insight into how to make the
>> dialogs
>> modal in Firefox.
>>
>> -- Adam
>>
>>
>> On 6/19/07, mike.sauer@convergys.com <mi...@convergys.com> wrote:
>> >
>> > It appears that dialogs work differently in IE and Firefox. In IE
>> they are
>> > modal. In Firefox they are not. Is there something I am missing?
>> (I am
>> > using the JSF 1.2 branch)
>>
>
>
Re: [Trinidad]Dialogs not modal in firefox
Posted by mi...@convergys.com.
No, I did not create a JIRA ticket.
Scott O'Bryan <da...@gmail.com> wrote on 06/19/2007 03:13:59 PM:
> Hey Mike, do you have a JIRA ticket for this? If you do I can try to
> see about submitting a patch. I'll begin working on this.
>
> mike.sauer@convergys.com wrote:
> >
> > It appears that with firefox the modal setting (if that is what
> > Trinidad is using) requires special privileges to take effect.
> > http://developer.mozilla.org/en/docs/DOM:window.
> open#Features_requiring_privileges
> >
> >
> >
> >
> >
> > *"Adam Winer" <aw...@gmail.com>*
> >
> > 06/19/2007 11:54 AM
> > Please respond to
> > "MyFaces Discussion" <us...@myfaces.apache.org>
> >
> >
> >
> > To
> > "MyFaces Discussion" <us...@myfaces.apache.org>
> > cc
> >
> > Subject
> > Re: [Trinidad]Dialogs not modal in firefox
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > It's a bug with our Firefox JS - or, perhaps, something that just
isn't
> > possible with Firefox? I'd love any insight into how to make the
dialogs
> > modal in Firefox.
> >
> > -- Adam
> >
> >
> > On 6/19/07, mike.sauer@convergys.com <mi...@convergys.com> wrote:
> > >
> > > It appears that dialogs work differently in IE and Firefox. In IE
> > they are
> > > modal. In Firefox they are not. Is there something I am missing?
(I am
> > > using the JSF 1.2 branch)
> >
>
Re: [Trinidad]Dialogs not modal in firefox
Posted by Scott O'Bryan <da...@gmail.com>.
Hey Mike, do you have a JIRA ticket for this? If you do I can try to
see about submitting a patch. I'll begin working on this.
mike.sauer@convergys.com wrote:
>
> It appears that with firefox the modal setting (if that is what
> Trinidad is using) requires special privileges to take effect.
> http://developer.mozilla.org/en/docs/DOM:window.open#Features_requiring_privileges
>
>
>
>
>
> *"Adam Winer" <aw...@gmail.com>*
>
> 06/19/2007 11:54 AM
> Please respond to
> "MyFaces Discussion" <us...@myfaces.apache.org>
>
>
>
> To
> "MyFaces Discussion" <us...@myfaces.apache.org>
> cc
>
> Subject
> Re: [Trinidad]Dialogs not modal in firefox
>
>
>
>
>
>
>
>
>
> It's a bug with our Firefox JS - or, perhaps, something that just isn't
> possible with Firefox? I'd love any insight into how to make the dialogs
> modal in Firefox.
>
> -- Adam
>
>
> On 6/19/07, mike.sauer@convergys.com <mi...@convergys.com> wrote:
> >
> > It appears that dialogs work differently in IE and Firefox. In IE
> they are
> > modal. In Firefox they are not. Is there something I am missing? (I am
> > using the JSF 1.2 branch)
>
Re: [Trinidad]Dialogs not modal in firefox
Posted by Scott O'Bryan <da...@gmail.com>.
Interesting Mike. Thanks.
mike.sauer@convergys.com wrote:
>
> It appears that with firefox the modal setting (if that is what
> Trinidad is using) requires special privileges to take effect.
> http://developer.mozilla.org/en/docs/DOM:window.open#Features_requiring_privileges
>
>
>
>
>
> *"Adam Winer" <aw...@gmail.com>*
>
> 06/19/2007 11:54 AM
> Please respond to
> "MyFaces Discussion" <us...@myfaces.apache.org>
>
>
>
> To
> "MyFaces Discussion" <us...@myfaces.apache.org>
> cc
>
> Subject
> Re: [Trinidad]Dialogs not modal in firefox
>
>
>
>
>
>
>
>
>
> It's a bug with our Firefox JS - or, perhaps, something that just isn't
> possible with Firefox? I'd love any insight into how to make the dialogs
> modal in Firefox.
>
> -- Adam
>
>
> On 6/19/07, mike.sauer@convergys.com <mi...@convergys.com> wrote:
> >
> > It appears that dialogs work differently in IE and Firefox. In IE
> they are
> > modal. In Firefox they are not. Is there something I am missing? (I am
> > using the JSF 1.2 branch)
>
Re: [Trinidad]Dialogs not modal in firefox
Posted by mi...@convergys.com.
It appears that with firefox the modal setting (if that is what Trinidad
is using) requires special privileges to take effect.
http://developer.mozilla.org/en/docs/DOM:window.open#Features_requiring_privileges
"Adam Winer" <aw...@gmail.com>
06/19/2007 11:54 AM
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>
To
"MyFaces Discussion" <us...@myfaces.apache.org>
cc
Subject
Re: [Trinidad]Dialogs not modal in firefox
It's a bug with our Firefox JS - or, perhaps, something that just isn't
possible with Firefox? I'd love any insight into how to make the dialogs
modal in Firefox.
-- Adam
On 6/19/07, mike.sauer@convergys.com <mi...@convergys.com> wrote:
>
> It appears that dialogs work differently in IE and Firefox. In IE they
are
> modal. In Firefox they are not. Is there something I am missing? (I am
> using the JSF 1.2 branch)
Re: [Trinidad]Dialogs not modal in firefox
Posted by Adam Winer <aw...@gmail.com>.
It's a bug with our Firefox JS - or, perhaps, something that just isn't
possible with Firefox? I'd love any insight into how to make the dialogs
modal in Firefox.
-- Adam
On 6/19/07, mike.sauer@convergys.com <mi...@convergys.com> wrote:
>
> It appears that dialogs work differently in IE and Firefox. In IE they are
> modal. In Firefox they are not. Is there something I am missing? (I am
> using the JSF 1.2 branch)