Dashboard > WebWork > ... > FAQ > Why does webwork keeps calling my action's properties (eg. my getModel if my action implements ModelDriven) multiple times
  WebWork Log In View a printable version of the current page.  
  Why does webwork keeps calling my action's properties (eg. my getModel if my action implements ModelDriven) multiple times
Added by tm_jee, last edited by tm_jee on Feb 09, 2006
Labels: 
(None)

This is due to OGNL's accessor calls. One possible improvement would be to have the action do some caching if possible. Say if getModel is called multiple times it might be worthwhile considering the possibilities of caching the returned model itself.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators