How to call a ModalWindow's close callback?

2012-10-30 Thread rudi
Hi all, I have a ModalWindow, which when closed should update a panel (in this case, happens to be the parent of the ModalWindow) : final ChangePasswordModal changePasswordModal = new ChangePasswordModal(changePasswordModal, person, InputEditCustomerSysPanel.this);

wicket:message vs Label

2012-10-30 Thread Rodrigo Pereira
Hello, is there any difference related to performance on using wicket:message instead of Labels objects? Regards, Rodrigo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: wicket:message vs Label

2012-10-30 Thread Martin Grigorov
Hi, I guess there is but it is negligible. Label as a normal component stays in the component tree for the whole lifetime of the page, thus contributes to the memory usage. wicket:message creates an auto-component, which is created just for the render phase and then discarded, so it takes some

how to add rel=nofollow to all links

2012-10-30 Thread danisevsky
Hi, when I look on my site (Brix and Wicket 6 application) in the google webmasters tools I see 300 thousands of wrong urls. All of them are from links (contains ILinkListener). So I would like to ask you if it would make sense to add attribute rel=nofollow to all wicket links? If so is there

Re: how to add rel=nofollow to all links

2012-10-30 Thread Decebal Suiu
Hi In your Application.init() add this line: getComponentInstantiationListeners().add(new LinkListener()); public class LinkListener implements IComponentInstantiationListener { @Override public void onInstantiation(Component component) { if (component

Re: how to add rel=nofollow to all links

2012-10-30 Thread Martin Grigorov
Hi, Using IComponentInstantiationListener is one way. Using a custom IMarkupFilter is another. And I think it is better because it is lighter - it wont add an additional behavior to each Link instance. On Tue, Oct 30, 2012 at 1:51 PM, Decebal Suiu decebal.s...@asf.ro wrote: Hi In your

Re: HybridPageParamter encoder

2012-10-30 Thread Martin Grigorov
When decoding the parameters set a flag in the request cycle's metadata that defines where the request parameters came from (path or query string). Later when encoding in the same request cycle use that flag to decide where to put the parameters. On Tue, Oct 30, 2012 at 9:39 PM, vinitty

Re: How to set Javascript error handler for Wicket Ajax error

2012-10-30 Thread Martin Grigorov
Hi, Do you need this only during development ? In Wicket 6 the Debug Window link in the bottom right corner becomes red and flashes few times so it should notify you that there is an error. Otherwise you can override (monkey-patch) Wicket.Log.error() to do whatever you need. On Tue, Oct 30,

Re: HybridPageParamter encoder

2012-10-30 Thread vinitty
Thanks Martin for checking this , Actually in my system they want to support both in single request like /mounturl/param1/param2?q=1 is this possible ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279p4653467.html Sent from the

Re: HybridPageParamter encoder

2012-10-30 Thread Martin Grigorov
Check http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ On Tue, Oct 30, 2012 at 11:54 PM, vinitty vini...@gmail.com wrote: Thanks Martin for checking this , Actually in my system they want to support both in single request like /mounturl/param1/param2?q=1 is this possible ?

Re: Custom CSS for Feedback message is broken in 1.5

2012-10-30 Thread Sebastien
Hi, I also agree with Martin's points. Having no css-class on the span is the best solution from my point of view too. A little concern however. I think this kind of change is not exactly backward compatible. Sure, it is, for the java side, but I figure that *many* users have wrote their own CSS

Re: HybridPageParamter encoder

2012-10-30 Thread vinitty
Thanks But sorry to bother you again and again, If wicket can ignore the ?param1=value1 , and do not use them as parameters my problem will be solved but wicket should not changed the url in browser Thanks Vinit -- View this message in context:

Re: Remove ?1 from URL on GoogleAnalytics tracked pages

2012-10-30 Thread Sebastien
Hi Martin, With pleasure. I would be glad to add it to the wiki, just please tell me in which section and how to request an account (or maybe you asked me if I wanted -you- to add it to the wiki :) ) About your 2 comments: - The page instance is passed to the behavior because I had supposed the

Call Wicket repeatedly from JQplot (Jquery based) graphing framework

2012-10-30 Thread baguahsingi
Hi, I would like to call Wicket repeatedly to obtain data from a service for a JQplot chart. I need to do this as the data is obtained from a slow web service. The user will then see a graph that will gradually build up after each new set of data from the server is added to it. I've had some