Could you change versionId from "1.4-SNAPSHOT" to "1.5-experimental-
SNAPSHOT" (or similar) to simplify testing with maven? It's a little
nasty to overwrite the local repository...
Other that that the design looks very promising. I would love to have
a simple way of mapping virtual urls to a DynamicContentPage for
creating CMS-style pages
From the request mapper part I would like to do something something
like this easily:
map content from virtual url (which is mapped at /)
e.g. /welcome.html would map to a database page, /logo.gif would
map to a image/gif resource
load dynamic content from database (which can be: page, image or
other kind of resource, redirect to external url, etc.)
output result:
- render page
- write resource
- send redirect
- ...
I still have to dig into the coding (so much code, so little time :-),
probably all of this is already trivial and done :-)
Am 06.10.2009 um 17:13 schrieb Igor Vaynberg:
ahha, here is something we need to change. we should have a
mountedmapper that allows one to mount a requesthandler rather then a
page. the user should not go as far as having to implement
requestablepage, there are a lot of extraneous methods there if all
you want to do is handle the request yourself.
-igor
On Tue, Oct 6, 2009 at 3:08 AM, Daniel Stoch
<daniel.st...@gmail.com> wrote:
The great thing for me is that I'll be able to mounting something
that
just implements RequestablePage interface, not only a Page class
descendants (if I've read this code correctly :)). It allows to
handle
navigation more flexible and it allows to avoid creating hard to
maintain page class hierarchies.
--
Daniel