jweekend wrote:
When instantiating a RepeatingView, is there a case where RepeatingView(String id, IModel model) would be used instead of RepeatingView(String id) ? It seems that RepeatingView's (and RefreshingView's) "model" is unused.
Use case: RepeatingView view = new RepeatingView( "foo", new CompoundPropertyModel(someBean) ); view.add(new PropertyEditorPanel("name")); if (isAllowed(somebean, "ACTION.EDIT.SomeBean.description")) { view.add(new PropertyEditorPanel("description")); } Regards, Al --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]