Re: tiles:insert instead of tiles:getAsString() creates problems.

2007-12-11 Thread Antonio Petrelli
2007/12/10, NagsNags <[EMAIL PROTECTED]>: > > If you insert this attribute (by using ) the actual JSP page is *included* in the layout page. This the default behaviour for all attributes that have their values starting with the '/'. Now if you want to insert the string, either use or add i

Re: tiles:insert instead of tiles:getAsString() creates problems.

2007-12-10 Thread NagsNags
Well sort of... The form has rendered, but page doesnt look like mine, total stylesheet is gone off the wind. I have few links in my header.jsp. On click , i need to reload the header, menu and the contents. Basically redraw the whole page. So i make call tol my action which calls the definition.

Re: tiles:insert instead of tiles:getAsString() creates problems.

2007-12-10 Thread Dave Newton
Does it work outside of an iframe? I mean, if you're going through a Struts request cycle, and your action doesn't do anything weird with the form before rendering, I'm not sure why a tiles:insert wouldn't work as expected--I do it all the time in my old S1 apps, although I suppose I could be forg

Re: tiles:insert instead of tiles:getAsString() creates problems.

2007-12-10 Thread NagsNags
Hi, my strutus-config entry is my tiles-def entries are My header.jsp call looks like this: <%String contacthrurl = request.getContextPath()+"/contactHr.do";%> document.write(" '<%=contacthrurl% ' class='button blue'

Re: tiles:insert instead of tiles:getAsString() creates problems.

2007-12-10 Thread NagsNags
Hi, my strutus-config entry is my tiles-def entries are My header.jsp call looks like this: <%String contacthrurl = request.getContextPath()+"/contactHr.do";%> document.write(" '<%=contacthrurl% ' class='button blue'

Re: tiles:insert instead of tiles:getAsString() creates problems.

2007-12-10 Thread Dave Newton
If you are including a JSP that's expecting a Struts-instantiated action form without going through a Struts request cycle no form will be instantiated. d. --- NagsNags <[EMAIL PROTECTED]> wrote: > > Hi Antonio, > > Sorry for not giving much information. > > my tiles-def entry looks like this

Re: tiles:insert instead of tiles:getAsString() creates problems.

2007-12-10 Thread NagsNags
Hi Antonio, Sorry for not giving much information. my tiles-def entry looks like this: So it is the actual jsp content that i am trying to insert. Hope this clarifies. When i use tiles:getAsString in the layout.jsp, jsps which render plain text works fi

Re: tiles:insert instead of tiles:getAsString() creates problems.

2007-12-10 Thread Antonio Petrelli
2007/12/10, NagsNags <[EMAIL PROTECTED]>: > src="<%=request.getContextPath()%>" > scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" > hspace="0" style="overflow:visible; width:100%; display:none"> > > With this code, I was loosing the form attributes whenever I try to rend

tiles:insert instead of tiles:getAsString() creates problems.

2007-12-10 Thread NagsNags
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. With this code, I was loosing the form attributes whenever I try to render a page with form variables. Plain text pages renders properly. Dyna