The documentation doesn't specify this, but you can use sub-packages and 
sub-folders with automapping.

For example, if you specify "myapp.pages" as your automapping package, then you 
can put a velocity template at "/foo/bar/do-something.htm" and it will auto-map 
it to the class "myapp.pages.foo.bar.DoSomething".


-----Original message-----
From: Ahmed Mohombe [EMAIL PROTECTED]
Date: Mon, 04 Feb 2008 15:52:52 -0500
To: [email protected]
Subject: Re: HTML Tools?

> > Thanks, Ahmed, but I've already read it. My point here is that -unless I
> > missed something- Click forces me to at least tweak its configuration
> > file each time I create a new velocity template page. 
> Maybe you should take a look at the examples too:
> - you are not forced. There's a "automapping" feature that does this mapping
> automatically:
> http://click.sourceforge.net/docs/best-practices.html#automapping
> 
> In most applications I've made, I did the configuration at project start
> and never changed it (except for the "logging" mode from "development" to 
> "production")
> 
> Ahmed.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to