Hi,

if you add ".whatever" to the end of URL that runs tapestry 5.1 (the one I
use) you'll get Exception. 


For example 
http://localhost:8080/pr/reference/new.abracadabra 
will cause


org.apache.tapestry5.ioc.internal.util.TapestryException: 
Component reference/New does not contain an embedded component with id
'abracadabra'. 
Available components: author, copyright, createForm, description, errors,
keyword, label, label_0, 
label_1, label_2, label_3, label_4, label_5, lastRevisionDate, layout,
publisher, submit, title.


If I select existing component then exception depends on the type of the
selected component. For example for
http://lalala.com/pr/reference/new.createForm exception looks like the
following


org.apache.tapestry5.runtime.ComponentEventException: 
Forms require that the request method be POST and that the t:formdata query
parameter have values. [at
classpath:com/pr/web/pages/reference/ReferenceNew.tml, line 3]



The problem is that I as administrator don't want to be disturbed every time
somebody types rubbish in URL. I want to display 404 in this case.

Does anybody know how to solve this?

Thanks,
Deniss

-- 
View this message in context: 
http://www.nabble.com/URL-pattern-that-causes-TapestryException-tp23571617p23571617.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

Reply via email to