RE: NumberFormatException iocservices coercian flip flopping

2012-12-26 Thread nhhockeyplayer nashua
I dont understand why i can do this... public Object onActivate(String id) but I cant do this public Object onActivate(Class clazz, String id) any attenmpts to tamper with this method signature causes the method to not ever get called and this taikes the whole page setup down

Re: how does tapestry know what model for parameter during onActivate event

2012-12-26 Thread Howard Lewis Ship
It looks at the parameter type: String, Date, Long, and uses the ValueEncoderSource service (ultimately, backed by the TypeCoercer) to find a coercsion from String to the parameter's type. The URL is a string, the values in the extra path are strings, HTTP is all about strings. By implication, if

Re: page navigation

2012-12-26 Thread Howard Lewis Ship
Further, part of a page is its page activation context: knowing that ProductCatalog/1234 is a 'Minolta Camera" and ProductCatalog/5465 is a "Bogen Tripod", and the relationship between these two configurations of the ProductCatalog page, is again very application specific.

page navigation

2012-12-26 Thread sommeralex
shouldnt it be a normal function of a tapestry page to know its predecessor? they only thing i found to get the previous page is by passing the predecessor into the context. http://jumpstart.doublenegative.com.au/jumpstart/examples/navigation/returntopage1/abc -- View this message in context

Re: Deleting persitent Object within Page

2012-12-26 Thread sommeralex
the point is, that if i am showing the messages in a list, the user is able to delete them from this list. void onActionFromDelete(long messageId){ Message msg = messageService.getMessage(messageId); messageService.deleteMessage(msg); } delete but if one messa

Re: Deleting persitent Object within Page

2012-12-26 Thread Muhammad Gelbana
I'm not sure I'm comprehending the whole case, but may be the user should not be allowed to delete a message if there is no session ? On Wed, Dec 26, 2012 at 3:26 PM, sommeralex wrote: > Hello! > > My page is showing a message object, which should also be able being > deleted > by user (within th

Deleting persitent Object within Page

2012-12-26 Thread sommeralex
Hello! My page is showing a message object, which should also be able being deleted by user (within that page) Object onActionFromDelete(){ messageService.deleteMessage(message); message = null; msgContainer.addMessa

Re: t:grid: action on select row

2012-12-26 Thread sommeralex
thx! -- View this message in context: http://tapestry.1045711.n5.nabble.com/t-grid-action-on-select-row-tp5718970p5718986.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-u