struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jasper Rosenberg <>
Subject Question on double invocation of evaluateParams() in ClosingUIBean
Date Wed, 11 Apr 2007 12:46:32 GMT
I am using the s.form tag via freemarker and noticed that evaluateParams() is being invoked
twice, once via ClosingUIBean.start() and again in UIBean.end().

It seems like it should only be required to be invoked once, by ClosingUIBean.start(), and
that UIBean.end() could be refactored or overridden in ClosingUIBean to skip it. 

If it is the case, it would be a nice performance improvement to the few ClosingUIBean subclasses
as evaluateParams() can do quite a bit of work.

Of course, there could easily be some crucial side-effect I'm totally missing here which is
why I'm posting it as a question here and not as a JIRA improvement :)

Posted via Jive Forums

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message