@If, @Else and @for have a renderTag parameter - it's true by default Either rethink your template, or set it to false
http://tapestry.apache.org/tapestry4.1/components/general/if.html On Nov 28, 2007 1:03 PM, RachelS <[EMAIL PROTECTED]> wrote: > > I have this page that has (amongst other things) a DirectLink and a div on > it. > > Now, if the page is a normal non-ajax page, the div loads up fine with the > right layout and that's great. > > Then I changed the page to use ajax to speed up the initial load of the > page. So now, the div is not rendered at first and when the user clicks the > DirectLink, the listener loads up the information from the div and the div > is updated. > > This works well in most cases, but on complicated divs the layout becomes > mis-aligned. By complicated, I mean that the component in the div has a lot > of If and For components. > > When I use Firebug to see why it is mis-aligned, it appears that the problem > occurs directly after the spans of the If and For components. It is as if > these components are now taking up space. > > Has anyone else had a similar problem? And if so how did you fix it? > > Many thanks, > Rachel > -- > View this message in context: > http://www.nabble.com/Ajax-Response-adding-extra-space-tf4887732.html#a13989978 > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
