What if we contribute this information to a URLFriendlyMapper using IoC?

[]s

On 6/26/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
The real issue with this kind of annotation-based mapping is that to
accomplish it would require loading all the page classes in the entire
application at startup (or on class reload), just so the annotations
can be read.  I may look into another option, reading the annotation
without loading the class into memory. It's still something I've been
trying to avoid due to the overhead.  I want Tapestry to scale to
thousands of pages.

On 6/26/07, kranga <[EMAIL PROTECTED]> wrote:
> Hi Tapestry developers:
>     Is it possible to add friendly/custom URL support using annotations? If
> I mark my page class with an annotation such as @URL("/a/b/c/foo"), then
> Tapestry can internally automatically generate a filter that maps the URL to
> my page class. So a request such as /a/b/c/foo?id=1 can be handled by the
> appropriate class (in this case setting a field called id to 1). Is this
> possible?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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




--
"Nobody knows who i really am
I never felt this empty before
And if I never need someone to come along
Who's gonna comfort me and keep me strong?"
--
Marcell Manfrin Barbacena
[EMAIL PROTECTED]
MSN Messenger: [EMAIL PROTECTED]
ICQ UIN: 63671762
Skype: callto://marcell84bruk
+55 (83) 8808-8555 (Oi)
+55 (62) 8172-5708 (Tim)

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

Reply via email to