click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis M. J. Yerger" <dennisyerge...@hotmail.com>
Subject RE: Convention over Configuration
Date Thu, 10 Jan 2013 00:59:18 GMT

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: dennisyerger84@hotmail.com
To: dev@click.apache.org
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.
 		 	   		   		 	   		  
Mime
View raw message