Hi! I have this example class:
public class TestPage extends WebPage { private transient String testString = "test"; public TestPage() { add(new TestForm("form")); } @SuppressWarnings("serial") private class TestForm extends Form { public TestForm(String id) { super(id); add(new AjaxButton("testButton") { @Override protected void onSubmit(AjaxRequestTarget target, Form form) { System.out.println(testString); } }); } } } I suppose that when the ajax button was pressed, the page was deserialized and the transient object (testString) be null. But that don't happend. Can anyone tell me why?. Thanks -- View this message in context: http://www.nabble.com/Question-about-transient-and-serialization-tp18641031p18641031.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]