AjaxUpdateContainer with IFrame
AjaxUpdateContainer with IFrame
- Subject: AjaxUpdateContainer with IFrame
- From: Sisi Li <email@hidden>
- Date: Fri, 09 Dec 2011 12:59:14 +0000
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