add(new TextField("username", new Model(this.username){ setObject(final
Component component, final Serializable
object){super.setObject(object+"hello")}};);
David Liebeherr wrote:
Hi!
I have a TextField and i want to store the value of it in a String field.
something like:
private String username;
...
add(new TextField("username", new Model(this.username));
...
onSubmit() {
username = username+"hello";
}
...
so after submit the text field shall have the value username + the
string "hello" in it.
How is this possible to do?
Thankx a lot,
Dave
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user