The environment consists of Icefaces 1.8 and Weblogic 10.3 . The issue I am experiencing is I need to update the src attribute of an iframe within my application. For debugging purposes I used this answer . The problem with that is it appears that the alert never fires from within my application, code is as follows:
<iframe id="iframe" onLoad="alert('Changed src');" name="iframe" src="#{backing.currentPageURL}" width="600px" height="400px"/>
I would anticipate to see an alert every time I change the page within the iframe. So an example of this is as follows:
- Enter http://www.bing.com as the value for currentPageURL
- Search on cats
- Select the wikipedia article on cats //I should get a popup here, but I do not
The question is how do I modify the src URL of the iframe within the context of icefaces.