Re: AjaxModalDialog in iframe

"Pierre Gilquin" <[email protected]> Wed, 21 Sep 2011 16:34:45 +0200
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============1717171903==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_20C8_01CC787C.5F759140"

This is a multi-part message in MIME format.

------=_NextPart_000_20C8_01CC787C.5F759140
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Merci J=E9r=E9my,

I dont have access to the container of my iframe. Only the content of =
the iframe is generated with WO ....

  ----- Original Message -----=20
  From: "J=E9r=E9my DE ROYER [INGENCYS]"=20
  To: Pierre Gilquin=20
  Cc: [email protected] ; WebObjects webobjects-dev=20
  Sent: Wednesday, September 21, 2011 4:07 PM
  Subject: Re: AjaxModalDialog in iframe


  Why not setting the ajaxmodaldialog in the top page (not in the frame) =
and using a javascript to dynamically change the href of the modal with =
a unique id (document.getElementById(myModalDialogId).href =3D =
[myFinalHref] )


  I've made it once to avoid setting multiple ajaxmodaldialog in a page =
but I've never done that with iframe, I don't know if it work, just an =
idea...


  J=E9r=E9my


  Le 21 sept. 2011 =E0 14:50, Pierre Gilquin a =E9crit :


    Hi,

    I use an AjaxModalDialog in an iframe. When started the dialog is =
restricted with the size of the iframe. Is there a mean to launch it =
from the parent content ?
    something similar to target=3D_top ?

    Thanks in advance

    _______________________________________________
    WebObjects-dev mailing list
    [email protected]
    http://www.omnigroup.com/mailman/listinfo/webobjects-dev



------=_NextPart_000_20C8_01CC787C.5F759140
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"><BASE=20
href=3Dx-msg://14/>
<META content=3D"MSHTML 6.00.6000.16915" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY=20
style=3D"WORD-WRAP: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space"=20
bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Merci J=E9r=E9my,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I&nbsp;dont have&nbsp;access to the =
container of my=20
iframe. Only the content of the iframe is generated with WO =
....</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A [email protected]=20
  href=3D"mailto:[email protected]">"J=E9r=E9my DE ROYER =
[INGENCYS]"</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
[email protected]=20
  href=3D"mailto:[email protected]">Pierre Gilquin</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A =
[email protected]=20
  =
href=3D"mailto:[email protected]">[email protected]=
</A> ;=20
  <A [email protected]=20
  href=3D"mailto:[email protected]">WebObjects =
webobjects-dev</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, September 21, =
2011 4:07=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: AjaxModalDialog in =

  iframe</DIV>
  <DIV><BR></DIV>Why not setting the ajaxmodaldialog in the top page =
(not in the=20
  frame) and using a javascript to dynamically change the href of the =
modal with=20
  a unique id (document.getElementById(myModalDialogId).href =3D =
[myFinalHref] )
  <DIV><BR></DIV>
  <DIV>I've made it once to avoid setting multiple ajaxmodaldialog in a =
page but=20
  I've never done that with iframe, I don't know if it work, just an=20
  idea...</DIV>
  <DIV><BR></DIV>
  <DIV>J=E9r=E9my
  <DIV><BR>
  <DIV>
  <DIV>Le 21 sept. 2011 =E0 14:50, Pierre Gilquin a =E9crit :</DIV><BR=20
  class=3DApple-interchange-newline>
  <BLOCKQUOTE type=3D"cite"><SPAN class=3DApple-style-span=20
    style=3D"WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: =
none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; =
BORDER-COLLAPSE: separate; orphans: 2; widows: 2; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px">
    <DIV bgcolor=3D"#ffffff">
    <DIV>
    <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>I use an AjaxModalDialog in&nbsp;an =
iframe.=20
    When started the dialog is restricted with the size of the iframe. =
Is there=20
    a mean to launch it&nbsp;from the parent content ?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>something similar to target=3D_top =
?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Thanks in advance</FONT></DIV>
    <DIV><FONT face=3DArial=20
    =
size=3D2></FONT>&nbsp;</DIV></DIV>_______________________________________=
________<BR>WebObjects-dev=20
    mailing list<BR><A=20
    =
href=3D"mailto:[email protected]">[email protected]=
</A><BR><A=20
    =
href=3D"http://www.omnigroup.com/mailman/listinfo/webobjects-dev">http://=
www.omnigroup.com/mailman/listinfo/webobjects-dev</A><BR></DIV></SPAN></B=
LOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_20C8_01CC787C.5F759140--


--===============1717171903==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev

--===============1717171903==--