Quick question about textareas

I have on a panel two component, a textarea with a xml and a label. the label gets updated (via ajax)but the textarea not.

form2.add(area = new TextArea<String>("userdata", new LoadableDetachableModel<String>() {
      @Override
      protected String load() {
          log.debug("loading in  area called");
        return currentAccount.getUserdata();
      }
    }));

form2.add(new Label("current", new LoadableDetachableModel<String>() {
      @Override
      protected String load() {
        log.debug("loading in  area called");
        return "Ausgewählter Benutzer: " + currentAccount.getAccountName();
      }
    }

the ajaxtarget is the parent of both components (the parent of the form2 exactly). the "loading in area called" appears only once in the log, the other always. Does the textarea do some sort of caching?

greetings

thierry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to