tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiago H. de Paula Figueiredo" <thiag...@gmail.com>
Subject Re: Problems with developing Tapestry 5 on osgi environment
Date Tue, 05 May 2009 02:09:24 GMT
Em Mon, 04 May 2009 22:59:59 -0300, 蓝天白云 <donf.yang@gmail.com>  
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message