Hi Ted,

Thanks for your reply. 

Yes WOIFrame is a must as the html is from external src with ads, javascripts 
and css which will crash my page as I tried before.
Yes, I checked the Ajax examples. I also tried to remove AjaxupdateContainer to 
the Page component but it will complain that AjaxUpdateLink can not find 
updateContainerID.

Any other suggestions?

Sisi

On 9 Dec 2011, at 13:48, Theodore Petrosky wrote:

> 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 protected]>
>> Subject: AjaxUpdateContainer with IFrame
>> To: [email protected]
>> Message-ID: <[email protected]>
>> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to