manuel aldana schrieb:
manuel aldana schrieb:
[...]
Thanks. Adding @Persist made the trick. But I think I will go for the
activation context,[...]
But I wonder, how to overcome the HttpSession, if I want to pass
multiple values and want to use activation context for that. So far I
have only seen onActivation() methods with one parameter of the simple
types (int, long, String etc.).
Is it possible to pass multiple values through activation context?
It seems that such a similar thing is possible with
http://code.google.com/p/t5-restful-webservices/wiki/GettingStarted, but
I think it would be really cool if such a thing would be included in
tapestry out of the box.
Example: I want to pass a User through activation context:
class User { private String name; private String password;...}
Registration{
...
public void onActivate(User user){...}
....
}
as URL it could be serialized by tapestry as something like:
http://domain/targetPage/paul<separator>paulAtdomain
--
manuel aldana
ald...@gmx.de
software-engineering blog: http://www.aldana-online.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org