Catch-all FencedFeedbackPanel and message-level filter in nested FencedFeedbackPanel

2014-04-22 Thread Alexander Morozov
Hi!We have almost successfully use FencedFeedbackPanel feedback, until we enable ErrorLevelFeedbackMessageFilter in nested FencedFeedbackPanels.Here is page structure:*The issue:* catch-all FencedFeedbackPanel doesn't show success messages, added by submit links in Panel1 or Panel2, hence messages

Re: Catch-all FencedFeedbackPanel and message-level filter in nested FencedFeedbackPanel

2014-04-22 Thread Martin Grigorov
Hi, Please create a quickstart app and attach it to Jira. Thanks! Martin Grigorov Wicket Training and Consulting On Tue, Apr 22, 2014 at 10:08 AM, Alexander Morozov alexander.v.moro...@gmail.com wrote: Hi!We have almost successfully use FencedFeedbackPanel feedback, until we enable

Re: Add submit behaviour to AjaxLink

2014-04-22 Thread Martin Grigorov
Hi, By saying add AFSBehavior I guess your custom component makes two separate Ajax calls now - one for AjaxLink's internal AjaxEventBehavior(click) and another for AjaxLink's AjaxFormSubmitBehavior(click). You need to return the AFSB in

Re: Catch-all FencedFeedbackPanel and message-level filter in nested FencedFeedbackPanel

2014-04-22 Thread Alexander Morozov
Done, https://issues.apache.org/jira/browse/WICKET-5566 https://issues.apache.org/jira/browse/WICKET-5566 - -- http://www.linkedin.com/in/amorozov -- View this message in context:

AjaxDownload setResponsePage

2014-04-22 Thread Christoph.Manig
Hello, Iam using AJAXDownload to download some data which will created on the fly, while clicking an AjaxButton. Moreover Iam using an AbstractResourceStream. In its getInputStream method, I get an byte array. This method can throw some exception, which I will catch. If an exception is thrown,

AW: AjaxDownload setResponsePage

2014-04-22 Thread Christoph.Manig
I resolved it with this line: getRequestCycle().replaceAllRequestHandlers(new RenderPageRequestHandler(new PageProvider(new InternalError(e.getMessage(); is this a good way? Mit freundlichen Grüßen Christoph Manig -Ursprüngliche Nachricht- Von: Manig, Christoph Gesendet:

Re: AjaxDownload setResponsePage

2014-04-22 Thread Martin Grigorov
Hi, It is OK. You can also do: throw new RestartResponseException(...) Martin Grigorov Wicket Training and Consulting On Tue, Apr 22, 2014 at 11:51 AM, christoph.ma...@t-systems.com wrote: I resolved it with this line: getRequestCycle().replaceAllRequestHandlers(new

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello Andrea, Thanks a lot for this fix. I have another question. The fix now delays the creation of the settings object inside the InPlaceEditComponent to the onInitialize() method. This means I can no longer configure the settings after creating the InPlaceEditComponent in my panel. Is it

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Martin Grigorov
Hi, You can override #onInitialize() and do what you need after calling super.onInitialize(). Martin Grigorov Wicket Training and Consulting On Tue, Apr 22, 2014 at 3:35 PM, Dirk Germonpré dirk.germon...@gmail.comwrote: Hello Andrea, Thanks a lot for this fix. I have another question.

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello, I understand. In that case, I still need a getter method for the settings object inside the TinyMceBehavior. Kind regards, Dirk. 2014-04-22 14:38 GMT+02:00 Martin Grigorov mgrigo...@apache.org: Hi, You can override #onInitialize() and do what you need after calling

Sorting datatable column with null values

2014-04-22 Thread Sandor Feher
Hi, My question is how to sort/filter columns which have null values too ? Should I check if null value in my comparator or is there other more elegant way to do this ? Thnx, Sandor -- View this message in context:

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello, I think there is a problem with the fix. In TinyMceBehavior the method beforeRender was removed (in which a div was added), so I suppose the method afterRender should also be removed (in which the div is closed). Kind regards, Dirk. 2014-04-21 14:32 GMT+02:00 Andrea Del Bene

Feedback Panel Request

2014-04-22 Thread Entropy
My analysis team has made some requests on how to show errors that I'd like some advice on how to accomplish in wicket. We have a page level feedback panel as well as a component level feedback panel. Currently, errors show in both and as plain text. Request #1 - Can we put links in the page

Re: Feedback Panel Request

2014-04-22 Thread Martin Grigorov
Hi, Take a look at the source of FeedbackPanel.java and some of its specializations - FencedFeedbackPanel (wicket-core) - JGrowlFeedbackPanel (wicketstuff-jquery) - NotificationPanel (wicket-bootstrap) Martin Grigorov Wicket Training and Consulting On Tue, Apr 22, 2014 at 8:28 PM, Entropy

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Andrea Del Bene
Hi Dirk, I changed the code following your advices: https://github.com/wicketstuff/core/commit/d763815f6cc05d799df628e2c3cba61b9c6b1410 Hello, I think there is a problem with the fix. In TinyMceBehavior the method beforeRender was removed (in which a div was added), so I suppose the method

Re: Add submit behaviour to AjaxLink

2014-04-22 Thread Igor Dvorzhak
Thanks Martin. It works now.