What are you hoping to achieve by returning boolean from onActivate()? Have you tried a @PageActivationContext annotation instead on onActivate / onPassivate?
> I don't have ValueEncoder cause I would expect that conversion works String -> Long -> hibernate gets the id of the object and returns -> MyObject That's not really correct. You do have a ValueEncoder, tapestry-hibernate contributes them for all of your entities automagically.