Re: external link to a tapestry page

2006-07-19 Thread Aleksej
Maybe I didn't understand something. You want to send email from the same webapp or from totally different application? In other words, can you access and work Hivemind registry of webapp where your targeted page is? Valdemaras Repšys wrote: Thanks for the answer, Aleksej. The problem is,

Re: external link to a tapestry page

2006-07-19 Thread Valdemaras Repšys
I can access the hivemind registry, i'm sending emails from the same application where the page is (a separate thread). I accessed the externalService on a mailsender thread, thou sometimes i get exceptions when invoking externalService.getLink: tapestry.url.LinkFactory: Error building service

Re: external link to a tapestry page

2006-07-19 Thread Shing Hing Man
: Valdemaras Repšys [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 8:27 AM To: Tapestry users Subject: Re: external link to a tapestry page Thanks for the answer, Aleksej. The problem is, this URL must be generated on a java thread (or class) that is not an instance of BasePage

Re: external link to a tapestry page

2006-07-19 Thread Jesse Kuhnert
PROTECTED] Sent: Tuesday, July 18, 2006 8:27 AM To: Tapestry users Subject: Re: external link to a tapestry page Thanks for the answer, Aleksej. The problem is, this URL must be generated on a java thread (or class) that is not an instance of BasePage and is not a tapestry page

Re: external link to a tapestry page

2006-07-18 Thread Aleksej
Valdemaras Repšys wrote: Hi, i need my application to send emails with the link to the specific tapestry page. How would i generate a link? I tried extending a page with IExternalPage and using the address: http://localhost:8080/BioJazz/app?service=external/HitList What i get is

Re: external link to a tapestry page

2006-07-18 Thread Valdemaras Repšys
Thanks for the answer, Aleksej. The problem is, this URL must be generated on a java thread (or class) that is not an instance of BasePage and is not a tapestry page. That means i have no access to ExternalService, right? Also, I can't use @Any component because this url will be sent as an email

RE: external link to a tapestry page

2006-07-18 Thread James Carman
If you can get to the HiveMind registry, you can lookup the ExternalService and use it. -Original Message- From: Valdemaras Repšys [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 8:27 AM To: Tapestry users Subject: Re: external link to a tapestry page Thanks for the answer

RE: external link to a tapestry page

2006-07-18 Thread Brian Duchek
Subject: Re: external link to a tapestry page Thanks for the answer, Aleksej. The problem is, this URL must be generated on a java thread (or class) that is not an instance of BasePage and is not a tapestry page. That means i have no access to ExternalService, right? Also, I can't use @Any component