Hi, I am new to using struts tiles. we have started a project which uses struts tiles heavily.
My code is like this to load the contents in an iframe. <iframe name="mainWindow" id="bodyframe" width="100%" src="<%=request.getContextPath()%><tiles:getAsString name='contents'/>" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe> With this code, I was loosing the form attributes whenever I try to render a page with form variables. Plain text pages renders properly. DynaActionForm object itself was set to null if I use this. So I tried using tiles:insert inside iframe like this, <iframe name="mainWindow" id="bodyframe" width="100%" src="<%=request.getContextPath()%><tiles:insert name='contents'/>" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe> Now the actual content's source code is getting inserted into src=" " and the page is not rendered. I am not sure as to what is wrong in the above. Please help and it is very urgent. Your help in this regard is much appreciated. Thanks Nags. -- View this message in context: http://www.nabble.com/tiles%3Ainsert-instead-of-tiles%3AgetAsString%28%29-creates-problems.-tp14259147p14259147.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]