t5: catching exception in layout component

2009-10-02 Thread AngeloChen960
Hi, I have a page that is based on layout component, when I do a: http://localhost.com:8080/myhome.layout.test [ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: Component Myhome does not contain an embedded component with id 'test'. Available components:...

Re: T5: FileUpload and time out(revisited)

2008-07-15 Thread AngeloChen960
Hi Macus, Thanks for replying. I think that will improve, but I'm trying add code to handle those unsuccessful file uploads when users have a slow Internet connection, I just want to inform the user slow connection, try it later. Angelo Marcus-11 wrote: > > Hi Angelo, > > what if you increa

Re: T5: FileUpload and time out(revisited)

2008-07-15 Thread AngeloChen960
Hi, Tapestry-upload is becoming a problem, maybe it was due to my ignorance of this component, here is the situation: My app works very well in a local area network, but when deployed in the Internet, frequent time out errors pop up, there are times you see it in the log, and times it just dump

T5: how to catch Unable to decode multipart encoded request exception in Tapestry-Upload?

2008-07-13 Thread AngeloChen960
Hi, I have code like following to upload file, it should be able to handle exceptions like UploadMessage.writeFailure, but it does not catch exception listed at end of the message, any idea why? Thanks, Angelo @Property private UploadedFile _file; @CommitAfter Object onSuccess() {

t5: exception when re visiting a page

2008-07-13 Thread AngeloChen960
when you open a page, and leave it there for quite a long time, then come back, click somewhere, it shows error like this: An unexpected application exception has occurred. Context values (which are added to the request URL) may not be null or blank. the link is: http://www.sample.com/photolis

T5: using velocity in the app

2008-01-15 Thread AngeloChen960
hi, I need to use velocity's template to format an email, something like this: VelocityEngine ve = new VelocityEngine(); ve.init(); Template t = ve.getTemplate("email.vm"); but always got :ResourceNotFoundException any idea how to use Velocity with Tapestry 5? thanks. A.C. -- View this mess