Dear All,
I am using sitemesh decoration framework in my wicket application.
Everything work perfectly until I tried to create iframes.
I am using InlineFrame class for creating the iframes.
Java Code:
InlineFrame myFrame = new InlineFrame("MyFrame", new MyFrame(this));
Where MyFrame is simple webPage that use AjaxSelfUpdatingTimerBehavior for
refreshing.
HTML Code:
<iframe wicket:id="MyFrame" width="490" height="500"
name="myFrame"></iframe>
I am using sitemesh decoration for all my pages(adding header, footer,
style, color...)
I don't want the iframes to contain the header and footer so i did the next
thing:
In the jsp that decorates the page (point from decorators.xml) I check the
request to see if it comes from iframe, if so I don't create header and
footer.
The problem is that it seem that the decoration jsp is not called when the
iframes are created and refreshed (they are refreshed using
AjaxSelfUpdatingTimerBehavior every 10 seconds). I can see that every 10
second I reach to my filter function that called to chain.doFilter(req,
res); The chain contain the sitemesh filter but the jsp never get execute.
Any Idea?
Thanks in advance
--
View this message in context:
http://www.nabble.com/Problem-with-sitemesh-decorator-in-wicket-iframe-tp19630659p19630659.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]