RE: How can you get OGNL to go faster?

2009-02-24 Thread Matthew Seaborn
Having looked into this it appears to be due to the fact that I was in DEV Mode; when running normally it is fine. Why does DEV Mode affect the rendering speed? Is it just the logging? From: Matthew Seaborn Sent: 14 February 2009 16:12 To: Struts Users Mailing List Subject: How can you get

How can you get OGNL to go faster?

2009-02-14 Thread Matthew Seaborn
-- --%>image="" <%-- --%>includeInKey="" <%-- --%>orderRank="" <%-- --%> /> In this case the S2/OGNL is 150x (!) slower than the standard appr

Embedded Maps as arguments

2009-01-26 Thread Matthew Seaborn
the value in the right place, it is always ognl.noConversionPossible This has been discussed here (http://www.nabble.com/struts2-map-of-maps-td18882730.html ) but with no resolution. Has anyone one this successfully? Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949

RE: Struts 2 Performance

2009-01-24 Thread Matthew Seaborn
We are currently running on 2.0.11, have there been any performance improvements in subsequent releases? From: Matthew Seaborn Sent: 24 January 2009 13:39 To: Struts Users Mailing List Subject: Struts 2 Performance What's the latest news on the Struts 2 rendering performance issues? A b

Upgrading Struts 2

2009-01-24 Thread Matthew Seaborn
We are currently running 2.0.11 and having been away from Struts 2 for a while I was pleased to a see a number of new releases. Has anyone done an upgrade to either 2.0.14 or 2.1.6 from a 2.0.x release? If so how smooth was the transition? Matthew Seaborn Software Architect t+44(0) 208

Struts 2 Performance

2009-01-24 Thread Matthew Seaborn
d solution appears to be an upgrade to OGNL 2.7 but this doesn't appear to be planned until v2.5.x<https://issues.apache.org/struts/browse/WW-2128?focusedCommentId=44204#action_44204>. Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e matthew.sea

RE: Include menu action with sitemesh

2008-09-10 Thread Matthew Seaborn
Found the solution: http://struts.apache.org/2.x/docs/action.html -Original Message- From: Matthew Seaborn Sent: 08 September 2008 17:12 To: Struts Users Mailing List Subject: RE: Include menu action with sitemesh Whenever I try to us s:include or jsp:include to access a Struts 2 action

RE: Include menu action with sitemesh

2008-09-08 Thread Matthew Seaborn
Whenever I try to us s:include or jsp:include to access a Struts 2 action from within the SiteMesh decorator I get The requested resource (Relative URL) is not available. Surely this should be possible. -Original Message- From: David Loup Sent: 02 September 2008 12:55 To: Struts

RE: Struts 2 - Where does all the CPU go

2008-04-28 Thread Matthew Seaborn
Where are certainly a number of calls through to OGNL within the Freemarker code, so it could still be that. Unfortunately, I have already in my struts.xml I don't see the WARNings you mention in my logs. -Original Message- From: Jeromy Evans [mailto:[EMAIL PROTECTED] Sent: 27 April

Struts 2 - Where does all the CPU go

2008-04-26 Thread Matthew Seaborn
. freemarker.core.Environment.pushElement 0.1% - 1,513 µs - 155 inv. freemarker.core.TextBlock.accept 0.0% - 108 µs - 61 inv. freemarker.core.Comment.accept 0.0% - 36 µs - 1 inv. freemarker.core.PropertySetting.accept Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949

RE: OGNL/Freemarker Performance

2008-04-26 Thread Matthew Seaborn
When the page is being rendered, all of the database loading has already been done and stored as DTOs (extracted from the in the action. The database hit only took a few ms and is called in an Interceptor. So the time shown is purely the cost of rendering. The page is a form with about 50 str

RE: OGNL/Freemarker Performance

2008-04-26 Thread Matthew Seaborn
ot;xhtml" cut down on a large number of javascript files being downloaded which spread up the page load by a couple of seconds again, although it had little effect on the page render time. It is now much faster, if not exactly 'snappy'. Anyone got any other good optimisations tips?

Struts 2.1

2008-04-26 Thread Matthew Seaborn
or 2.1? Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [cid:image001.jpg@01C8A7A0.56F4D130] Sussex House Plane Tree Crescent Feltham, Middlesex, TW13 7HE United Kingdom http://www.perf

OGNL/Freemarker Performance

2008-04-25 Thread Matthew Seaborn
[4037ms] - executeResult: input Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [cid:image002.jpg@01C8A6F2.4AA14AC0] Sussex House Plane Tree Crescent Feltham, Middlesex, TW13 7HE United Kingdo

RE: Struts2, SiteMesh and Struts Menu

2008-04-18 Thread Matthew Seaborn
Discovered it was a simple case of user (i.e. my) error. The actual problem was "The displayer mapping for the specified MenuDisplayer does not exist." which was causing the JSP to not be rendered and thus resulting in SiteMesh to report the error I detailed previusly. -Original Message---

Struts2, SiteMesh and Struts Menu

2008-04-10 Thread Matthew Seaborn
) com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99) Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e [EMAIL

Default JSP content type

2008-04-03 Thread Matthew Seaborn
Does anyone know if it is possible to override the default JSP page content type and/or page encoding either for an entire web-app or as part of Struts 2? Many thanks. Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e [EMAIL PROTECTED]<mailto:[EM

RE: Struts constants

2008-04-01 Thread Matthew Seaborn
What I meant was if the following is defined in the struts.xml How does that make it to the URLTag#setIncludeParams method and how can make our own constants? From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 28 March 2008 00:09 To: Matthew Seaborn Subject: Re: Struts constants

Struts constants

2008-03-27 Thread Matthew Seaborn
How can you get hold of the constants defined in the struts.xml? Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [cid:image001.jpg@01C8903D.E0C3C3F0] Sussex House Plane Tree Crescent Feltham, Middlesex

Submitting in Struts 2 from outside the Form

2008-03-05 Thread Matthew Seaborn
. Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Sussex House Plane Tree Crescent Feltham, Middlesex, TW13 7HE United Kingdom http://www.performgroup.com/ <http://www.perform

RE: Submit, ajax, targets and action

2008-03-01 Thread Matthew Seaborn
us! -Original Message- From: Matthew Seaborn Sent: 01 March 2008 15:31 To: 'Struts Users Mailing List' Subject: RE: Submit, ajax, targets and action Thanks for the advice. How is this function supposed to be used, is it called from onclick in the s:submit tag?

RE: Submit, ajax, targets and action

2008-03-01 Thread Matthew Seaborn
Thanks for the advice. How is this function supposed to be used, is it called from onclick in the s:submit tag? -Original Message- From: Richard Sayre [mailto:[EMAIL PROTECTED] Sent: 26 February 2008 18:42 To: Struts Users Mailing List Subject: Re: Submit, ajax, targets and action S

RE: Submit, ajax, targets and action

2008-02-27 Thread Matthew Seaborn
hod: "POST", > > error: function(type, data, evt){ > //error > } > }; > > dojo.io.bind(kw); > } > > } > > So you could have each of your submit buttons call their own f

Submit, ajax, targets and action

2008-02-26 Thread Matthew Seaborn
. Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Sussex House Plane Tree Crescent Feltham, Middlesex, TW13 7HE United Kingdom http://www.performgroup.com/ <http://www.perform

RE: ParametersInterceptor setting values using a String[]

2008-02-18 Thread Matthew Seaborn
an array of > Strings and attempt to set the value using the String[] first, when that > errors tries to convert it. The problem with this is it logs the first > failure as an ERROR. > > Why is this happening and short of creating my own TypeConverter or > blocking it in

Sitemesh & Struts 2

2008-02-17 Thread Matthew Seaborn
Has anyone had much experience with SiteMesh and Struts 2? Do they 'play' together well? Are there better alternatives when styling/compiling pages? Thanks. CONFIDENTIALITY - This email and any files transmitted with

RE: ParametersInterceptor setting values using a String[]

2008-02-14 Thread Matthew Seaborn
List Subject: Re: ParametersInterceptor setting values using a String[] Matthew Seaborn wrote: > Why is this happening and short of creating my own TypeConverter or > blocking it in the logger config, how can I stop this error b

ParametersInterceptor setting values using a String[]

2008-02-14 Thread Matthew Seaborn
failure as an ERROR. Why is this happening and short of creating my own TypeConverter or blocking it in the logger config, how can I stop this error being logged for GET requests? Matthew Seaborn Software Architect t+44(0) 208 484 0729 m +44(0) 7949 465 142 e [EMAIL

Roadmap and activity

2008-02-14 Thread Matthew Seaborn
We are currently trialling Struts 2 as a replacement as the framework of choice in the place of Struts 1 and was wondering how 'active' is the development on the current framework? I see that last year a new release came out every few months, but there has been nothing since September. _