On Sun, 07 Dec 2008, Graeme Knight wrote:
> 1) Is the header contributor added to the html (this is ajax so there is no
> page refresh).

I think so, just look at the page source e.g. with Firebug?

> 2) How to call the function in IFrameLoader.js (initializeIFrame()) AFTER
> the iframe has rendered?

You mean after rendering it with Ajax? You can probably just 
put the call in HTML, if you want it executed on each render.
Or for just Ajax repaints, use AjaxRequestTarget.appendJavaScript().

> Perhaps the above is the wrong way to do the following:
> 
> 1) User clicks on tab.
> 2) Panel is switched into text reading 'context'.
> 3) IFrame is rendered, innerHTML of iframe is populated through the
> initializeIFrame() Javascript function (rendering originalContent).
> 
> Does this sound plausible in Wicket?

Frankly I don't really get what you're trying to achieve.
Maybe you could use TabbedPanel or AjaxTabbedPanel?

Best wishes,
Timo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to