Dashboard > WebWork 1 > Use several view properties files
  WebWork 1 Log In View a printable version of the current page.  
  Use several view properties files
Added by Anders Hovmöller, last edited by Anders Hovmöller on Oct 17, 2004
Labels: 
(None)

You can use several view property files to separate different parts of your code. This is very handy when you for example have big framework and you want to ship defaults that a specific application can override without having to edit your file every time they upgrade.

To achieve this simply add a line to webwork.properties:
webwork.configuration.properties=base-views,views,webwork,webwork/default

All the properties files listed above will be loaded and the priority of them are in left to right order. This means that if you have "foo=bar.jsp" in base-view.properties, and "foo=asd.jsp" in views.properties, "asd.jsp" will be the result of foo.

Note also that any properties files not found will simply be skipped so the specific app doesn't need an empty views.properties file for this to work.

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