Some really screwy things happened when I tried to subscribe.  It said
that the tapestry-users-subscribe mailbox didn't exist and bounced my
request back. Yet, I am getting messages now. Hmmmm.  This is just a
test to see if this gets through.


> -----Original Message-----
> From: Jim Steinberger [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 08, 2006 1:26 PM
> To: users@tapestry.apache.org
> Subject: Absolute filepath of a webapp
> 
> Hello (terribly sorry if this comes twice; I believe I sent it to the
> old mailing address earlier),
> 
> Tapestry.getApplicationRootLocation(IRequestCycle) seems to have
> disappeared in Tapestry 4.  Does anyone know of a replacement?  That
is,
> given an instance of IRequestCycle, does anyone know how to
> programmatically determine the absolute filepath of a web application
in
> Tapestry 4?  I've been swimming around the JavaDocs but haven't found
> the link if one even exists.
> 
> 
> If you're wondering, I'm trying to register the following extension in
> my .application file:
> 
> <extension name="org.apache.tapesty.specification-resolver-delegate"
> class="..."></extension>
> 
> And my ISpecificationResolverDelegate needs to know what the absolute
> filepath of the webapp is, but without
> Tapestry.getApplicationRootLocation(..), and since I can't inject the
> ServletContext/WebContext object into this class because it's not a
> component (am I missing something there?  I see only that I can nest
> <configure ..> tags inside <extension ..> tags, but that only seems to
> support Java primitives and Strings ..), I can't seem to do this.
> 
> 
> I did read in the configuration section of the docs that the
<extension
> ..> tag is deprecated in lieu of HiveMind, but it's not yet clear to
me
> how I would do this; I found the
> tapestry.page.SpecificationResolverDelegate service-point in the
> HiveMind registry, but I'm not yet sure how to extend it.
> 
> Have spent way too much time on what can be done in one line of
servlet
> code (am nearly ready to make a startup-servlet that provides a
> static-accessor to the absolute path, which is gross but apparently
> hours-quicker); I'd appreciate any guidance.
> 
> 
> Thanks a ton,
> Jim
> 
> ---------------------------------------------------------------------
> 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