Re: Twitter Bootstrap in Wicket

2012-10-12 Thread Cedric Gatay
I guess you're talking about the first conditional comments in the markup of HTML5 Boilerplate ( https://github.com/h5bp/html5-boilerplate/blob/master/index.html). Am I right ? __ Cedric Gatay http://www.bloggure.info | http://cedric.gatay.fr | @Cedric_Gatayhttp://twitter.com/Cedric_Gatay On

ModalDialog - control the location

2012-10-12 Thread Wujek Srujek
Hi. We have the requirement that we need to show more than one popup at a time - this means buttons / links in a popup trigger showing other popups (whether it's good style or not is irrelevant, this is a requirement...). We are using ModalWindow for that, and it is always shown in the center of

Multiple AjaxLazyLoadingPanel's never load

2012-10-12 Thread Michael Zhavzharov
Hi, all! I have a problem with list of AjaxLazyLoadingPanels. Only the first panel loads, but others never. It's looks like this: http://apache-wicket.1842946.n4.nabble.com/file/n4652907/lazyloading.jpg I need to load N lazyPanels, and I trying to do next: *In Java:* List components = new

Re: Twitter Bootstrap in Wicket

2012-10-12 Thread Paul Szulc
check this out: https://github.com/decebals/wicket-bootstrap On Fri, Oct 12, 2012 at 8:37 AM, Cedric Gatay gata...@gmail.com wrote: I guess you're talking about the first conditional comments in the markup of HTML5 Boilerplate (

Re: Manipulate Form Input After Validation

2012-10-12 Thread Martin Grigorov
Hi, On Fri, Oct 12, 2012 at 5:29 AM, weslowsk weslo...@accesscomm.ca wrote: Thanks for the suggestions... What if I wanted to conditionally upper case the text field? Would a converter work then? For example, if the validation fails, upper case the string; otherwise, leave the string as is.

Wicket 6 AjaxCheckBox#onUpdate method not called

2012-10-12 Thread armandoxxx
Hey guys Got a problem with my checkbox in wicket 6.1 This code worked in 1.5 so my question is .. what am I doing wrong .. when I click on it, onUpdate method is not called ... any suggestions would be nice ... overriding method wantOnSelectionChangedNotifications() doesn't help either

ajax file download...

2012-10-12 Thread mlabs
So what I'm trying to do must surely be a common thing... yet so far I have had no luck getting it to work. I'm generating big PDF's on the server .. and in the browser I have a link that should initiate that generation and bring up a file 'save-as' dialog when the PDF is ready to be downloaded.

Re: ajax file download...

2012-10-12 Thread Ernesto Reinaldo Barreiro
Hi, On Fri, Oct 12, 2012 at 10:35 AM, mlabs mlabs@gmail.com wrote: So what I'm trying to do must surely be a common thing... yet so far I have had no luck getting it to work. I'm generating big PDF's on the server .. and in the browser I have a link that should initiate that generation

Re: ajax file download...

2012-10-12 Thread Ernesto Reinaldo Barreiro
you could even display a progress bar indicator so that your users are aware of how much it is left. On Fri, Oct 12, 2012 at 10:46 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Fri, Oct 12, 2012 at 10:35 AM, mlabs mlabs@gmail.com wrote: So what I'm trying to do must

Re: Wicket 6 AjaxCheckBox#onUpdate method not called

2012-10-12 Thread armandoxxx
Found the issue .. has nothing to do with wicket not working ! Sorry ! Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-AjaxCheckBox-onUpdate-method-not-called-tp4652910p4652914.html Sent from the Users forum mailing list archive at

Re: ajax file download...

2012-10-12 Thread mlabs
hmm.. no .. sounds too complicated ... I don't want to get into spawning threads and polling .. In jQuery you can use $.ajax({url:'my-pdf resource-url',async:false,success...,error...}) and wire blockUI into the success/error handlers.. that worked great except the save-as dialog didn't come up -

Re: ajax file download...

2012-10-12 Thread mlabs
I know, but the idea of the user being able to click around the web page and possibly navigate to other areas of the app... and then minutes later the save-as dialog suddenly pops up .. seems to me to be potentially confusing... which is why I like blockUI ... it lets them know that as soon as

Re: Wicket 6 AjaxCheckBox#onUpdate method not called

2012-10-12 Thread armandoxxx
If someone ever needs it I'm using Sscrew Default Buttons http://www.screwdefaultbuttons.com/ plugin for jQuery which hides default input (checkbox) field and shows pictures over it. The problem was with click event never triggered on input field but only on element over the checkbox field.

RE: ModalDialog - control the location

2012-10-12 Thread Lemke, Michael SZ/HZA-ZSW
Hm, this from something I did (uses jquery): public class ModalDialogPanel extends ModalWindow { ... public enum Position { TR, TL, BR, BL } ... /** * @param target * @param component Element to use for position of

Re: Multiple AjaxLazyLoadingPanel's never load

2012-10-12 Thread Martin Grigorov
Hi, I'm not sure why it stops but I see another problem in it. There is synchronization when using the page instance, i.e. the first Ajax call will acquire the lock on the page and all other requests will have to wait it to release it. So the ALLPs will load sequentially. How to solve this? It

refresh ajaxlazyloadpanel

2012-10-12 Thread lukuperman
Hello, I'm using an ajaxlazyloadpanel and I already read that instantiating a new instance is the way to 'refresh' the panel. But my question is where do you think is the most appropriate/elegant way to do so when I have various different places in my page that reloads the panel's parent form,

Coming Error in Wicket 6.1.1 during Migration from 1.5.6

2012-10-12 Thread Nitin khandelwal
in these days i am migrating one my wicket project from 1.5.6 to wicket 6.1.1 stable. for that i have download stable release and remove all compile time errors but now when i run the project i get following error: *java.lang.NoClassDefFoundError: javax/inject/Inject at

Re: Coming Error in Wicket 6.1.1 during Migration from 1.5.6

2012-10-12 Thread Martin Grigorov
Hi, You need to add dependency groupIdjavax.inject/groupId artifactIdjavax.inject/artifactId version1/version /dependency It comes with Spring 3+. On Thu, Oct 11, 2012 at 12:43 PM, Nitin khandelwal nikeiiim2...@gmail.com wrote: in these days i am migrating one my wicket project

Re: Multiple AjaxLazyLoadingPanel's never load

2012-10-12 Thread Michael Zhavzharov
Hi, Martin! Thank You for your reply. I realized, that it is not an option for me to use ALLP. I need to load different data - Labels, Link and Image in one lazy panel, also I should be able to interact with other components in page, while ALLP loads it's content. You can use Wicket IResource

Re: ajax file download...

2012-10-12 Thread Girts Ziemelis
The way I did it - I created a panel to be used by all reports. It uses IndicatingAjaxButton for Generate Report button which starts report generation in thread and adds AjaxSelfUpdating behaviour to the button panel. Once generation is finished, previously invisible Download Report button

Re: Wicket + Guice + unittests

2012-10-12 Thread Daniel Watrous
Dan, I'm not talking about my application. I'm talking about unittests. I've followed the Guice recommended way to integrate with servlets using the GuiceFilter. Now I'm trying to make the Wicket unittests work and I need the injector to be available in WicketTester. Daniel On Thu, Oct 11,

Re: ajax file download...

2012-10-12 Thread mlabs
ok i like the idea of enabling the download button upon completion of generation - I will have a go at doing something similar. But it seems to me that if there was a way to switch the ajax call to be synchronous 'on the fly' then there would be no need for polling with ajax timers

Re: Wicket + Guice + unittests

2012-10-12 Thread Dan Retzlaff
I follow you. WicketTester doesn't know about GuiceFilter, so you'll need a different way of getting your Injector into your Wicket Application. Rather than getting the Injector from your servlet context attributes, I'm suggesting that you let Guice instantiate your Application so you can @Inject

Re: Wicket + Guice + unittests

2012-10-12 Thread Daniel Watrous
Dan, Thanks. I've got unittests running now, but the WicketFilter doesn't seem to be processing. All I get when I run the applicaiton shows a jetty produced directory listing. In the snippet you provided before I think that CustomFilter and CustomeWicketFilter should be the same thing. Is that

Re: Wicket + Guice + unittests

2012-10-12 Thread Dan Retzlaff
Yes, CustomFilter = CustomWicketFilter... Those aren't our actual names. And yes, we provide filter parameters too. I just omitted them since they weren't relevant to the Guice-based application instantiation I was describing. Do you have this in your web.xml? filter

Re: Wicket + Guice + unittests

2012-10-12 Thread Daniel Watrous
yes, that's what I have in my web.xml On Fri, Oct 12, 2012 at 12:10 PM, Dan Retzlaff dretzl...@gmail.com wrote: Yes, CustomFilter = CustomWicketFilter... Those aren't our actual names. And yes, we provide filter parameters too. I just omitted them since they weren't relevant to the Guice-based