Re: Add page feedback to every AjaxRequestTarget

2012-08-20 Thread Tibor Blénessy
You can access current ART associated with request by calling static


On Mon, Aug 20, 2012 at 5:10 PM, Alec Swan wrote:
 Thoughts, anybody?

 On Sun, Aug 19, 2012 at 1:07 PM, Alec Swan wrote:
 The main problem I am facing is that in Wicket 1.4.x I can't figure
 out how to access ART from the component that was not added to this
 ART, e.g. during ajax form submission.

 I tried to add AjaxFormSubmitBehavior to every Form child of the page
 but that overrode those form ajax-submit functionality and basically
 broke them all. Now I am thinking about adding an onclick behavior
 which will add my component to ART to every AjaxSubmitLink child of
 the page. But this seems to be pretty ugly.




 On Fri, Aug 17, 2012 at 4:22 PM, Alec Swan wrote:

 Thank you for the link. I used your code to register an
 ART.addListener(new AjaxFeedbackPanelUpdater()) when the page is
 created, but it does not get called when the form is submitted and
 hence it never adds the FeedbackPanel to ART of form submission.

 Where should I add this listener?



 On Wed, Aug 15, 2012 at 4:14 PM, procrastinative.developer wrote:
 Hello Alec,
 Could you take a look on this:

 View this message in context:
 Sent from the Users forum mailing list archive at

 To unsubscribe, e-mail:
 For additional commands, e-mail:

 To unsubscribe, e-mail:
 For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

AutoLabelResolver requires ILabelProvider

2012-03-09 Thread Tibor Blénessy

I am trying to use label with  wicket:for  attribute to create label
for MultiFileUploadField. However, this doesn't work because
AutoLabelResolver checks whether component implements ILabelProvider.
But ILabelProvider is not used in AutoLabelResolver and it is not even
needed in order to render wicket:for attribute, I think this check is
unnecessary and should be removed. Or am I missing something?

Tibor Blenessy

To unsubscribe, e-mail:
For additional commands, e-mail: