eromy Evans [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2008 8:00 PM
To: Struts Users Mailing List
Subject: Re: Tabbed panel performance
Hi Pablo,
Consider creating a custom profile for dojo. This makes a significant
improvement to the page load time as it reduces the number of http
req
Hi Pablo,
Consider creating a custom profile for dojo. This makes a significant
improvement to the page load time as it reduces the number of http
requests (read on first though)
http://cwiki.apache.org/S2WIKI/creating-a-custom-dojo-profile-for-struts-20x.html
The reload problem you're encou
Just a bit more information. I have profiled (using firebug) the action
(always the same action with the same content) with and without the
tag and here are the results:
Without:
---
1727.355ms
1424.947ms
1748.429ms
1523.518ms
1539.649ms
1606.369ms
1657.058ms
1599.767ms
1632.157ms
1564.907ms
If in my code I comment the tabbedpanel tag, it works fine...
label="%{getText('EditJob.ExtractionSection')}" theme="ajax">
label="%{getText('EditJob.FilterExporterSection')}" theme="ajax">
label="%{getText('EditJob.HandlersSection')}" theme="ajax">
I don't recall the 0.4 dojo tabbed panel being particularly slow to
render, other than the extreme initial page load while Dojo makes too
many http requests.
I can't think of any reason why it would get slower after a genuine
page reload with the same content (if it's reloading via ajax tho
Pablo Vázquez Blázquez wrote:
Any idea about why am I getting increasing response times each time I
access to the page?
I have already a great response time the first time I access to the
page (which is also a problem), but my main problem is that after 6 or
7 accesses it in unmanageable...
Hi Andras, thank you for your response.
I am using struts 2.0.9 with a dojo-0.4.3 build, so if I have a s:div
with a href attribute for each tab, I would be invoking the action each
time I go to the tab, isn't it? If so, it doesn't work for me, as my
tabbed panel represents an only form, but d
Hi,
As I see you include different jspf in each tab, can you try to use the
"href" attribute to load the content of each
tab and see if there is a difference in the performance?
See here about the "href" attribute:
http://struts.apache.org/2.0.11.2/docs/tabbedpanel.html
Best regards,
Andras.
Any idea about why am I getting increasing response times each time I
access to the page?
I have already a great response time the first time I access to the page
(which is also a problem), but my main problem is that after 6 or 7
accesses it in unmanageable...
Thanks!
Pablo Vázquez Blázqu
9 matches
Mail list logo