Re: AjaxUpdateContainer with IFrame
Re: AjaxUpdateContainer with IFrame
- Subject: Re: AjaxUpdateContainer with IFrame
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 09 Dec 2011 05:48:20 -0800 (PST)
Are you sure you want a WOIFrame? Maybe you really want to use CSS.
However, did you check out the Ajax examples from project Wonder?
This is a wonder(ful) place to start.
Ted
>
> Message: 9
> Date: Fri, 09 Dec 2011 12:59:14 +0000
> From: Sisi Li <email@hidden>
> Subject: AjaxUpdateContainer with IFrame
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I have a html page in an Iframe and want to change the
> string value of that page by AjaxUpdateLink. I put the
> Iframe into AjaxUpdateContainer. The code is below:
>
> For the main component:
> In the html:
> <wo:AjaxUpdateContainer id = "editform">
> <webobject name = "content" />
> </wo:AjaxUpdateContainer>
>
> <webobject name = "TagHpyerLink"> </webobject>
>
>
> In the wod:
>
> TagHpyerLink : AjaxUpdateLink {
> string = "change this";
> action = change;
> updateContainerID = "editform";
> }
>
> content : WOIFrame {
> id = "iframe";
> pageName = "Page";
> height = "400px";
> width = "1170px";
>
> the Page component:
>
> html:
> <div><webobject name =
> "pagestring"></webobject></div>
>
> wod:
> pagestring : WOString {
> value = html;
> escapeHTML = "false";
> }
>
> I want to change the value of pagestring by AjaxUpdateLink
> change action, but do not know how to do pass that via
> Iframe.
>
> Anyone can help?
>
> Thanks
>
> Sisi
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden