Hi Arshad,

if I comment out these lines, the popup will not work for IE and
dropdown-menus. They will show above the popup...

regards,

Martin

On 12/28/05, Arshad Ali <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Martin I guess I solved the problem. I checked JSPopup.js file and during
> debugging I made following changes in it:
>
> In function orgApacheMyfacesPopupDisplay(ev), just comment
> out these lines:
>
> //popupElem.style.left=""+x+"px";
> //popupElem.style.top=""+y+"px";
>
> and in function orgApacheMyfacesPopupfixIE(), comment out following lines:
>  //iframe.style.zIndex = popup.style.zIndex - 1;
>  //iframe.style.width     = popup.offsetWidth;
>  //iframe.style.height = popup.offsetHeight;
>  //iframe.style.top     = popup.style.top;
>  //iframe.style.left     = popup.style.left;
>  //iframe.style.display = "block";
>  //iframe.style.visibility = "visible"; /*we have to set an explicit visible
> otherwise it wont work*/
>
> Now t:popup is working fine in t:div tag with overflow: auto
>
> But Martin please can you check t:popup with above changes in other
> different scenarios because may be due to comment out above lines of code,
> new bugs could be developed.
>
> Regards,
> Arshad Ali.
>
>
>
>
>
>
> On 12/27/05, Martin Marinschek < [EMAIL PROTECTED]> wrote:
> > No, I don't have a solution.
> >
> > It would be great if you could try to find a fix for the
> > JavaScript-file that is rendering the popup. Also open a jira-issue on
> > this!
> >
> > The file can be found in:
> >
> >
> current\tomahawk\src\java\org\apache\myfaces\custom\popup\resource\JSPopup.js
> >
> > regards,
> >
> > Martin
> >
> > On 12/27/05, Arshad Ali <[EMAIL PROTECTED]> wrote:
> > > Martin, i got it, If we put t:popup into the <t:div> tag, then popup not
> > > working in IE :(,
> > >
> > > my code is
> > >
> > > <t:div styleClass="scrollReport">
> > > //.. My popup stuff here
> > > </t:div>
> > >
> > > My scrollReport css is:
> > >
> > > div.scrollReport {
> > >     height: 365px;
> > >     overflow: auto;
> > > }
> > >
> > > t:popup works fine if i just remove overflow:auto.
> > >
> > > Any Solution, i have to use scrollable div basically.
> > >
> > > regards,
> > > Arshad.
> > >
> > >
> > >
> > > On 12/27/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > > > No there isn't.
> > > >
> > > > Can you reduce your setup to something closer resembling the examples
> > > > and then find out what the difference is that is causing problems?
> > > >
> > > > Do you get any javascript-errors?
> > > >
> > > > regards,
> > > >
> > > > Martin
> > > >
> > > > ---------- Forwarded message ----------
> > > > From: Arshad Ali < [EMAIL PROTECTED]>
> > > > Date: Dec 27, 2005 11:48 AM
> > > > Subject: regarding t:popup
> > > > To: [EMAIL PROTECTED]
> > > >
> > > >
> > > > Martin, yes examples are just fine in IE, but when i tried to use
> > > > t:popup in my project then the mentioned problem arises. Is there any
> > > > special configuration needed for that in my project.
> > > >
> > > > Syed Arshad Ali
> > > >
> > > > --
> > > >
> > > > http://www.irian.at
> > > >
> > > > Your JSF powerhouse -
> > > > JSF Consulting, Development and
> > > > Courses in English and German
> > > >
> > > > Professional Support for Apache MyFaces
> > > >
> > >
> > >
> > >
> > > --
> > > Syed Arshad Ali
> >
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
>
> --
> Syed Arshad Ali


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to