To rely even less on click.xml, I think it would be beneficial to allow 
developers to specify the page package as an init parameter for the Click 
servlet in the web.xml file.

From: [email protected]
To: [email protected]
Subject: RE: Convention over Configuration
Date: Wed, 9 Jan 2013 18:41:01 -0600





Bob, it is true that in most cases click.xml is very simple. However, with a 
naming convention, even specifying the package for Page classes would not be 
necessary unless a custom name was desired. For example, a possible convention 
for page packages would be names that end with "page" or "pages," as in 
"org.example.page" or "org.example.pages." Click.xml would only be needed if 
the developer wanted to deviate from this convention.
                                                                                
  

Reply via email to