Does it make sense to have outputMarkupId default to true for FeedbackPanel?

Use case:

somePanel.add (new OnChangeAjaxBehavior() {
  protected void onUpdate (AjaxRequestTarget target) {
    // do stuff, 
    Session.get().info ("did stuff");
    target.addChildren (getPage(), FeedbackPanel.class) ;
  }
});

This code will work from anywhere in the component hierarchy, regardless of
which component added the  feedbackpanel, without the owning component
having to call feedback.setOutputMarkupId(true)...

I could just as well subclass FeedbackPanel but this seems like a common
enough case that it makes sense to build it into the core...


-- 
View this message in context: 
http://www.nabble.com/FeedbackPanel-default-outputMarkupId-%3D-true-tp19041186p19041186.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]

Reply via email to