So you mean if I provide a coercion for User, the User gets serialized
to an activation-context snippet in the URL, and after that the snippets
gets deserialized back to my User object?
Maybe an out of the box coercion for custom types would be interesting
(to an ordered comma separated String list). Surely it will also show up
problems, especially if my User does not only include simple types only
(and object graph is more complicated).
Andy Pahne schrieb:
That's possible. Have a look at
http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/coerce.html
esp. the section "Contributing new Coercions"
Example: I want to pass a User through activation context:
class User { private String name; private String password;...}
Registration{
...
public void onActivate(User user){...}
....
}
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
--
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