PageLink problem

2008-07-19 Thread luna_guo
this message in context: http://www.nabble.com/PageLink-problem-tp18544009p18544009.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: T5 pagelink problem

2008-05-01 Thread Bill Holloway
It sounds like currentPhoto.id is returning the string "images" and "classes" rather than a Long. Might want to check the return type and value of the getId() method of your Photo class. I'd be tempted to put a debug breakpoint in getId() somewhere and watch the value being returned. On Thu, May

Re: T5 pagelink problem

2008-05-01 Thread Szemere Szemere
It is generally wise to have your links in the form: ${asset:context:styles/style.css} Then the links will work even if you have parameters that change the relative depth of the URL path. Szemere

Re: T5 pagelink problem

2008-05-01 Thread Toby Hobson
It seems if i change all the hrefs to /myapp/images/... or /myapp/styles/... things work ok. Is there a tapestry version of ? Thanks Toby - Original Message From: Toby Hobson <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Thursday, 1 May, 2008 1:53:11 PM Subject: T5 pa

T5 pagelink problem

2008-05-01 Thread Toby Hobson
I have a strange problem with the pagelink component. I am trying to navigate from the start page to the ViewPhoto page but I get an exception: [ERROR] RequestExceptionHandler Processing of request failed withuncaught exception: Exception in methodcom.thc.web.pages.ViewPhoto.onActivate(java.lan