Em Mon, 04 May 2009 22:59:59 -0300, 蓝天白云 <[email protected]> escreveu:

When tapestry handling a http request to "/start" on the first time,
TapestryComponentClassResolver.resolvePageNameToClassName() will try
to locate the class of logic name "com.foo.pages.start", and mapping the
classname to logic name if found, then any request to "/start" in further
will be done in tapestry's way.

so, the problem is, how I locate a class by the case-insensitive logic name? (if the request path is "/thisiSmyPage", truely this is fine in
traditional way)

What about doing what Tapestry does: use a CaseInsensitiveMap<Class> to hold pairs of (class name, Class instance) ?.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to