I *just* had the same issue.  One table, (5 columns), displaying
anywhere from 10 to 50 records.

Hidden behind some CSS Div code, I had:

Column 1 : Textbox control
Column 2 : Select control with 6 options
Column 3 : Select control with 5 options
Column 4 and 5 :  Edit and Delete hyperlinks.

Same thing.  Faster on IE and slow rendering on Firefox. 

I figured it was the fact that with that many form controls, (anywhere
from 30 to 150 of them on one page), the browser was taking a little
longer to display the page.   

I took the CSS code out that hid my form controls, (so that you would
see the form controls upon initial browser hit), and I saw the same
browser display slowness.  It didn't matter if they were hidden or
initially viewable.

I now use some Javascript to create the form controls, per record, based
on when the user hits the "Edit" hyperlink.  By creating the form
controls on a need-it-now basis, (instead of
'need-the-at-the-beginning'), I have 0 form controls upon first viewing.

My page renders as fast as a static page would now.

Just a thought....



Jon 

-----Original Message-----
From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 05, 2007 12:31 PM
To: Struts Users Mailing List
Subject: RE: [S2] Why are my struts pages rendering slow

The most interesting part is in IE, it renders quick...in Firefox, the
top of the page renders, then slowly, it renders the rest of the page
line by line...Any suggestions???

-----Original Message-----
From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 05, 2007 3:28 PM
To: Struts Users Mailing List
Subject: RE: [S2] Why are my struts pages rendering slow

I am not using the ajax theme...I'm not using any specialized
concepts...just straight struts 2 tags, and a combination of the
css_xhtml theme and the simple theme...

I did notice however, that when my page only has <s:property.../> tags,
to write out text, and no form fields, it renders faster...



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Allen Gilliland
Sent: Tuesday, June 05, 2007 3:24 PM
To: Struts Users Mailing List
Subject: Re: [S2] Why are my struts pages rendering slow

do you have an s:head tag in the head section of your pages?  are you 
using the ajax theme?  i have noticed that my pages are a lot slower 
when they have to include and initialize the dojo stuff.

-- Allen


Charbel Abdul-Massih wrote:
> I have a page with several form fields (checkboxes, drop downs, radio
> buttons)...
> 
>  
> 
> The page renders slowly from top to bottom, as if it's being
> streamed...I posted this same issue a couple of weeks ago, and I'm
still
> trying to figure out the solution...
> 
>  
> 
> I have devMode = false, and tried everything under the sun...
> 
>  
> 
> I have a similar page in JSF, and it renders very fast...Any ideas???
> 
>  
> 
> Charbel
> 
> 

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


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


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


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

Reply via email to