Hi Janek
I'm new to tiles, but, as far as I'm concerned, the 'flush' attriubte, makes 
that the result of the page, component, definition or whatever you be 
inserting, by 'insert tag' will be displayed one by one when setted to true. 
Suppose you have:
<tiles:insert page='firstPage.jsp' flush='true' />
<tiles:insert page='secconPage.jsp' flush='true' />
Suppose firstPage.jsp, just print 'Powered by Anakin' and seccondPage.jsp print 
a complicated, very lage html.
May be you like to the user can see the 'Powered by Anakin' even when the 
seccondPage.jsp has not yet loaded. So when firstPage.jsp finished printing. it 
is flushed to the client so that he can see before the seccondPage.jsp finished 
loading.
If you set flush to false, both pages has to finish writting the html code 
before all the resut be send to the client...
 
Thats it..
I wish it helps you..
Lucas 
 
 
Setting the flush attriubte to true


Janek Ziniewicz <[EMAIL PROTECTED]> escribió:
http://struts.apache.org/userGuide/struts-tiles.html#insert
I 've read here about 'flush' attribute. What does it exactly do and what 
is the
practical difference between setting it to false or true?

-- 
Pozdrawiam, Janek Ziniewicz
gg:902858
irc.freenode.net: #gore, #dub

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
 1GB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

Reply via email to