Change visibility of a component before onSubmit

2013-03-08 Thread Michael Backmann
Hello, I would like to react on the onSubmit-method of an AjaxButton or normal Button. The problem is, I would like to make a panel (a customized progressbar) visible and after this there should be internal work and when it is finished, there should be a change to another page. If I try to

wiquery vs wicket-jquery-ui

2013-03-08 Thread Oscar Besga Arcauz
Hi wickers I was searching for a wicket + query-ui libraries and I found * wiquery - https://github.com/WiQuery/wiquery * wicket-jquery-ui - https://github.com/sebfz1/wicket-jquery-ui Trying to not make controversy, have anyone used any ? Have anyone tested both and chose one ? Why ? I found

Re: Change visibility of a component before onSubmit

2013-03-08 Thread Andrea Del Bene
Which version of Wicket are you using? Maybe you can do what you want with an AJAX listener. Hello, I would like to react on the onSubmit-method of an AjaxButton or normal Button. The problem is, I would like to make a panel (a customized progressbar) visible and after this there should be

Re: wiquery vs wicket-jquery-ui

2013-03-08 Thread Sebastien
Hi Oscar, wicket-jquery-ui is (quite always) in sync with latest wicket libraries version (and jQuery UI versions) Best regards, Sebastien. On Fri, Mar 8, 2013 at 12:44 PM, Oscar Besga Arcauz obe...@isdefe.eswrote: Hi wickers I was searching for a wicket + query-ui libraries and I found *

Re: [ANN] wicketstuff-lazymodel

2013-03-08 Thread Martin Grigorov
Hi, Wicket 6.7.0 will be cut next Friday. Can you wait a bit more ? I can build it this Sunday too. On Thu, Mar 7, 2013 at 12:51 AM, Jesse Long j...@unknown.za.net wrote: Hi All, Please can we do a 6.6.0 release of wicketstuff... I'd love for LazyModel to be on Maven Central. Thanks,

Re: download indicator for long downloads

2013-03-08 Thread Martin Grigorov
Hi, Check https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html You can show the indicator when the Ajax response processing finish (appendJavaScript()) On Thu, Mar 7, 2013 at 5:29 PM, fachhoch fachh...@gmail.com wrote: I have a download link, clicking on this

Re: Change visibility of a component before onSubmit

2013-03-08 Thread Martin Grigorov
Hi, You will need to use WebSocket/Push/Streaming to be able to write several times to the browser in one request. Better think for another solution. Your current requirement seems to be more complex to implement than you really want. For example make an Ajax call to start the processing and show

Re: Select2 get wrapper div id.

2013-03-08 Thread Martin Grigorov
Hi, Better ask at https://groups.google.com/forum/#!forum/select2 On Fri, Mar 8, 2013 at 12:41 PM, cosmindumy cosmind...@yahoo.com wrote: Hello, Don't know if here is the best place for this question. I use a select2 component. It builds a wrapper div for display. May I get its markup id

Re: Change visibility of a component before onSubmit

2013-03-08 Thread Michael Backmann
I'm using version 6 of Wicket. Meanwhile I have found a solution. I split the interaction in two requests: |AjaxButton confirmButton= new AjaxButton(confirmButton, layoutForm) { @Override protected void onSubmit(AjaxRequestTarget target, Form? form) { super.onSubmit(target,

Re: [ANN] wicketstuff-lazymodel

2013-03-08 Thread Jesse Long
OK, that sounds great. Thanks Martin. On 08/03/2013 14:33, Martin Grigorov wrote: Hi, Wicket 6.7.0 will be cut next Friday. Can you wait a bit more ? I can build it this Sunday too. On Thu, Mar 7, 2013 at 12:51 AM, Jesse Long j...@unknown.za.net wrote: Hi All, Please can we do a 6.6.0

Re: [ANN] wicketstuff-lazymodel

2013-03-08 Thread Martin Grigorov
:-) I didn't understand which option you choose - to wait one more week or to release 6.6.0 this weekend ? On Fri, Mar 8, 2013 at 2:56 PM, Jesse Long j...@unknown.za.net wrote: OK, that sounds great. Thanks Martin. On 08/03/2013 14:33, Martin Grigorov wrote: Hi, Wicket 6.7.0 will be

[wicket-atmosphere] Spring Security context while rendering subscribed components

2013-03-08 Thread Andrei Badea
Our Wicket application uses Spring Security for authentication and authorization. All service methods check that the current user (in the Spring Security context) has the right to execute the method. When the subscribed components are rendered for an Atmosphere broadcast, the security context

Re: [ANN] wicketstuff-lazymodel

2013-03-08 Thread Jesse Long
I can wait till 6.7.0. :-) Cheers, Jesse On 08/03/2013 15:03, Martin Grigorov wrote: :-) I didn't understand which option you choose - to wait one more week or to release 6.6.0 this weekend ? On Fri, Mar 8, 2013 at 2:56 PM, Jesse Long j...@unknown.za.net wrote: OK, that sounds great.

Page Hierachy and Packages

2013-03-08 Thread David Beer
Hi All I am new Wicket and like what I have found so far. My problem is that I have created a few pages and forms and placed them in a package named auth. I can navigate to the pages easily but they don't seem to inherite the CSS from the BasePage which is in a different package. Also any

Re: Page Hierachy and Packages

2013-03-08 Thread Nick Pratt
Do the pages in your auth package inherit from your BasePage class? In your auth package pages markup, do you have wicket:extend tags? Nick On Fri, Mar 8, 2013 at 9:17 AM, David Beer david.m.b...@gmail.com wrote: Hi All I am new Wicket and like what I have found so far. My problem is that I

Re: Page Hierachy and Packages

2013-03-08 Thread Sven Meier
Hi, if you keep style.css in your web root, you'll have to remove the wicket:link tag in your markup. Otherwise AutoLinkResolver will think yoy're keeping the css beside your component. Sven On 03/08/2013 03:17 PM, David Beer wrote: Hi All I am new Wicket and like what I have found so

Re: Page Hierachy and Packages

2013-03-08 Thread David Beer
Hi Nick Thanks for replying. Yes all pages extend my BasePage and I use the the wicket:extend tag in the html. I get the page content as expected, the css is not applied as it is looking for it in the same package as Sven pointed out. On 8 March 2013 14:33, Nick Pratt nbpr...@gmail.com wrote:

Re: Page Hierachy and Packages

2013-03-08 Thread David Beer
Hi Sven Thanks for this so it is better to add the css outside of the wicket:head like you would with normal html pages. Is it possible to get the navigation to go up a level so to navigate to HomePage actually points to the HomePage in the correct package and as mounted at HomePage. Thanks

AjaxLazyLoadPanel update with target.addComponent

2013-03-08 Thread brazz
Hi, i'm using a Table inside an AjaxLazyLoadPanel. The table should repaint lazy (with busy icon) when i call: target.addComponent(AjaxLazyLoadPanel.this); is this possible somehow? i've read a post that i would have to replace the od AjaxLazyLoadPanel with a new instance, but this would

Re: Page Hierachy and Packages

2013-03-08 Thread Sven Meier
Hi David, if your post was a question, I didn't understand it. Regards Sven On 03/08/2013 05:15 PM, David Beer wrote: Hi Sven Thanks for this so it is better to add the css outside of the wicket:head like you would with normal html pages. Is it possible to get the navigation to go up a level

Re: Page Hierachy and Packages

2013-03-08 Thread David Beer
Hi Sven Will try and be more clear. I have fixed the css styling thanks to your suggestion on moving the link out of wicket:head. My question is that if I am navigating From my AdminPage in my auth package to the HomePage in the package above how do I add the link in the HTML. As Then AdminPage

Wicket 6: AjaxFormComponentUpdatingBehavior on dropdown leads to page reload

2013-03-08 Thread Martin Dietze
I've just spent several hours trying to debug a rather strange effect with a dropdown and a AjaxFormComponentUpdatingBehavior. I have a component which is used in several places of the system. It contains a dropdown to which a AjaxFormComponentUpdatingBehavior is added. Whenever the user selects

Re: Wicket 6: AjaxFormComponentUpdatingBehavior on dropdown leads to page reload

2013-03-08 Thread Bernard
Hi, I would try to debug the constructor of the page and/or override and debug life cycle methods of the page and then work up the call stack why they are executed. As an example (not necessarily applicable in your case), one could find this way that the page had expired and Wicket just