Is simple possibility to access page components in anonymous onClick method like in code below ?
public class NewLinkPanel extends Panel { public NewLinkPanel(String id) { super(id); TextField name = new TextField("name"); TextField address = new TextField("address"); add(name); add(address); add(new AjaxLink("ok"){ public void onClick(AjaxRequestTarget target) { // how to get name and address values ? System.out.println("ok"); } }); } } Thanks in advance. -- Greetings, marioosh --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org