Answered my own question:

        Get ahold of the engine, and then do:

        e.getSpecification().getPageNames();

        --- Pat

> -----Original Message-----
> From: Patrick Casey [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 22, 2005 4:37 PM
> To: 'Tapestry users'
> Subject: Determine if a Page Exists without access to the cycle?
> 
> 
> 
> Hi Folks,
> 
> 
> 
> I've got a situation where I need to figure out if a given page exists,
> the
> kicker being I don't have access to the request cycle at this point in my
> code. Basically I've got a global navigation routine that gets asked "hey,
> I
> want to look at object class foo". It's the navigation routine's job to
> then
> check and say either "hey, I've got a page on file for that" or "never
> heard
> of foo before, we'll have to use the default scaffold form".
> 
> 
> 
> Can anyone help me out here?
> 
> 
> 
> --- Pat
> 
> 
> 
> PS Tapestry 3.0.3 here (still). I fear change.




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

Reply via email to