Thanks! Will you update the javadoc as well?

-- Edvin

Den 28. juli. 2008 kl. 16.37 skrev "Igor Vaynberg" <[EMAIL PROTECTED] >:

override newrecorder() { recorder r=super.newrecorder(); r.add(new
whateverbehavior()); return r; }

-igor

On Mon, Jul 28, 2008 at 12:33 AM, Edvin Syse <[EMAIL PROTECTED]> wrote:
The javadocs for the Palette says to add AjaxFormComponentUpdatingBehaviour
to the Recorder like this:

      Form form=new Form(...);
      Palette palette=new Palette(...);
      palette.getRecorderComponent().add(new
AjaxFormComponentUpdatingBehavior("onchange") {...});

getRecorderComponent() is null, because it isn't populated in the Palette's
constructor, it is populated
in the private initFactories() method, which is called from onBeforeRender.

How am I supposed to get to the Recorder-component from the constructor of
my pageclass? :)


-- Edvin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to