Thanks for the fast reply, actually the problem is, a old version has the ID
defined in layout, it got bookmarked by some sites, now it always got called
and trigger that error message, I'd like to intercept that exception so that
it will not fill up the log.


Joost Schouten (ml) wrote:
> 
> Do you mean you want more details on the exception? You might have 
> tapestry.production-mode set to true, Set this to false to have the full 
> fledged exception report.
> 
> As for the exception: it probably means you have a t:id="help" in your 
> component main.layout but have probably not defined the 
> t:type="whateverYourHelpComponentsTypeIs" or in your java class: 
> @Component(id = "help") private YourHelpComponent help;
> 
> Cheers,
> Joost
> 
> 
> 
> 
> 
> Angelo Chen wrote:
>> Hi,
>>
>> often when url contains main.layout.help, and exception happens, how to
>> capture this in the page? thanks,
>>
>>  RequestExceptionHandler Unexpected runtime exception: Component
>> Main:layout
>> does not contain an embedded component with id 'help'. Available
>> components:
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/T5%3A-how-to-capture-non-existing-component-exceptions-tp27467058p27467321.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to