Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Phil Franken
Are there any plans to include a fix for this in 1.14.18? https://issues.apache.org/jira/browse/WICKET-3594 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

warn on exit from browser

2011-05-12 Thread rebecca
Hello all, I would like to know if there is a way to open a popup window just before the user tries to exit the browser window? I tried using the onbeforeunload event on the body tag and managed to get a prompt message that enables me to go back to the page i tried to exit. Do you know a better

Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-12 Thread Marieke Vandamme
Igor, Thanks for the answer, and you're right indeed. I forgot that I added code in my HeaderContributor that checked if it was an ajax request. Because I found it useless so re-add all the css + js to the page just when you're readding your form after validation or something. But when using

Re: warn on exit from browser

2011-05-12 Thread rebecca
Thank you andrea, but i already managed to use javascript to show a confirm dialog. What I would like to know is if it is possible to change the default behavior of the browser and to show a wicket popup instead of the confirm dialog? -- View this message in context:

Re: warn on exit from browser

2011-05-12 Thread Andrea Del Bene
So far as i know Wicket can't help you that much since this is a pure client side problem. Thank you andrea, but i already managed to use javascript to show a confirm dialog. What I would like to know is if it is possible to change the default behavior of the browser and to show a wicket popup

CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread heapifyman
Hello, I have a CheckGroup and the CheckGroupSelector. Everythings working fine so far except for one thing. If I check all checkboxes in the group (manually or through checking the CheckGroupSelector), save this to a database and reload the page, the individual checkboxes are correctly

Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Pedro Santos
Hi Phil, I'm about to upload a quickstart to this ticket proving it is not a Wicket related problem. The container is always reading the entire input stream regardless of the application doing it or not. I talked about in IRC and Igor suggested me to close the stream if it exceed the max limit,

Unable to Get images and text in listmultiplechoice box

2011-05-12 Thread vn0058212
Hi Guys, I have had to do lots of searching for this but couldn't find it. So i have a list box which now has dummy values in it and i will list out the problems i am facing, 1.) i am unable to get the selected value/values from this list box. (ajaxformupdating s giving errors on

Re: FeedbackPanel with Hierarchical DT/DD (Definition List Tags)?

2011-05-12 Thread eugenebalt
But what is responsible for actually presenting (listing) the items? My Model can be a HashMaplt;String,Listgt; that maps a category to a list of errors in that category. But what do I have to override to make the feedback panel present that hierarchical list based on the HashMap? -- View this

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread Martin Grigorov
It looks like CheckGroupSelector doesn't support that right now. Please file a ticket. Attaching a quickstart will make it easier for us and it will be improved sooner. On Thu, May 12, 2011 at 1:44 PM, heapifyman heapify...@gmail.com wrote: Hello, I have a CheckGroup and the

Re: FeedbackPanel with Hierarchical DT/DD (Definition List Tags)?

2011-05-12 Thread Pedro Santos
ListView is a good component to present lists. e.g. class MyFeedbackPanel extends Panel implements IFeedback{ onInitialize(){ super.onInitialize(); HashMapString,List messagesByCategory = getModelObject(); add(new ListView(messagesByCategory.keySet()){ populateItem(){

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread Carl-Eric Menzel
I ran into the same issue some time ago and did some work on (I think) the CheckGroupSelector, as well as Javascript selectors for the other types of checkboxes. I'll see over the weekend whether I can extract all that into a useful patch. Once heapifyman opens the ticket, I'll attach it there.

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread heapifyman
Am 12.05.2011 15:17, schrieb Martin Grigorov: It looks like CheckGroupSelector doesn't support that right now. Please file a ticket. Attaching a quickstart will make it easier for us and it will be improved sooner. in the meantime I found a solution: if (selected.size() == all.size()) {

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread Martin Grigorov
I am not sure whether you solution actually works. I think they will be always the same. On Thu, May 12, 2011 at 3:35 PM, heapifyman heapify...@gmail.com wrote: Am 12.05.2011 15:17, schrieb Martin Grigorov: It looks like CheckGroupSelector doesn't support that right now. Please file a

Re: FeedbackPanel with Hierarchical DT/DD (Definition List Tags)?

2011-05-12 Thread eugenebalt
Do I also have to override getModelObject()? If so, how? I'm getting an error in your code on the line HashMaplt;String,Listgt; messagesByCategory = getModelObject(); the error is that getModelObject() is undefined for the custom class. Thanks -- View this message in context:

Re: FeedbackPanel with Hierarchical DT/DD (Definition List Tags)?

2011-05-12 Thread Pedro Santos
Hi, the code I sent was only to give you an idea of how to use ListView. I understood by your previous mails that you already have a HashMapString,List. On Thu, May 12, 2011 at 10:41 AM, eugenebalt eugeneb...@yahoo.com wrote: Do I also have to override getModelObject()? If so, how? I'm getting

Getting Parameters from URL

2011-05-12 Thread drf
We have code in our session object as follows: public class OurSession extends WebSession { public OurSession(Request request)}{ super(request) // GET PARAMETERS FROM REQUEST userId = request.getParameter(userId); } } This works the first time, so if the url has a

Re: Getting Parameters from URL

2011-05-12 Thread Andrea Del Bene
Hi, in your you can use static method RequestCycle.get().getRequest() to get the current request and extract parameters. We have code in our session object as follows: public class OurSession extends WebSession { public OurSession(Request request)}{ super(request) // GET

New Website up using wicket

2011-05-12 Thread Henrique Boregio
Hey, just wanted to let you guys know that with the help of this community, I was able to build my first real website using wicket. Thanks everyone for the support in always trying answering the questions I've answered. I look forward to using wicket in other projects. Oh, its spekios.com if

Re: New Website up using wicket

2011-05-12 Thread Pedro Santos
Cool! The site runs pretty fast here, congrats. On Thu, May 12, 2011 at 11:20 AM, Henrique Boregio hbore...@gmail.com wrote: Hey, just wanted to let you guys know that with the help of this community, I was able to build my first real website using wicket. Thanks everyone for the support in

Re: New Website up using wicket

2011-05-12 Thread aladejebi
Great site! And lovely concept. Congrats --Original Message-- From: Henrique Boregio To: users@wicket.apache.org ReplyTo: users@wicket.apache.org Subject: New Website up using wicket Sent: May 12, 2011 3:20 PM Hey, just wanted to let you guys know that with the help of this community, I

Re: New Website up using wicket

2011-05-12 Thread nino martinez wael
Nice and works fine on my Android phone On May 12, 2011 4:20 PM, Henrique Boregio hbore...@gmail.com wrote: Hey, just wanted to let you guys know that with the help of this community, I was able to build my first real website using wicket. Thanks everyone for the support in always trying

Re: Time to render ajax panel

2011-05-12 Thread Martijn Dashorst
One word: requestlogger, see chapter 14 of WiA, or search using google. Martijn On Thu, May 12, 2011 at 5:27 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: If I am using ajax tabbed panel.  What is a good way to see how long it takes to render that panel?  Could I use

Re: Time to render ajax panel

2011-05-12 Thread Martin Grigorov
Second word: AjaxClientServerResponseFilter On Thu, May 12, 2011 at 5:45 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: One word: requestlogger, see chapter 14 of WiA, or search using google. Martijn On Thu, May 12, 2011 at 5:27 PM, Brown, Berlin [GCG-PFS]

Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-12 Thread Igor Vaynberg
wicket keeps track of header contributions and doesnt contribute the same contribution more then once. -igor On Thu, May 12, 2011 at 1:24 AM, Marieke Vandamme marieke.vanda...@tvh.be wrote: Igor, Thanks for the answer, and you're right indeed. I forgot that I added code in my

Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Phil Franken
Thanks for the update Pedro. I concur with your assesment based on what I've seen, but this makes me worry. Does this mean if I set a file size limit of 1MB and someone uploads a 2GB file the container will read the entire 2GB? Not good, with or without progress bar. Anyone suggestions on

Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Pedro Santos
You can setup a firewall to prevent DOS attacks, I'm not sure if Wicket needs to read the input stream regardless of its HTTP header specifying that the upload exceed the limit just to close the stream. On Thu, May 12, 2011 at 1:52 PM, Phil Franken phil.fran...@gmail.com wrote: Thanks for the

Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Phil Franken
Firewall not really an option (no budget). Ok so instead of closing the stream can you at least make sure the progress bar is invisible and let the container do its thing? I'm using Tomcat do you know of any way to set a max file size in Tomcat? On 5/12/2011 1:02 PM, Pedro Santos wrote:

Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Pedro Santos
Hi Phil, I replied in the ticket. Just realize it is not the right thread to talk about. On Thu, May 12, 2011 at 2:10 PM, Phil Franken phil.fran...@gmail.com wrote: Firewall not really an option (no budget).  Ok so instead of closing the stream can you at least make sure the progress bar is

Re: Nested forms quick question

2011-05-12 Thread Alexandru Artimon
Yes they are necessarily nested. Thanks Martin, I'll give it a try. Alex On 05/06/2011 09:15 PM, Martin Grigorov wrote: instead of setRequired() use isRequired(submittedForm == innerForm) On Fri, May 6, 2011 at 6:04 PM, Titonjyt...@gmail.com wrote: Are these necessarily nested forms?

Re: Weird jsp include output

2011-05-12 Thread Martin Grigorov
Not sure what exactly happens but looking at the code in wiki I'd re-make JspContainer to JspBehavior. I doubt this will help but you can try it anyway. Which version of Wicket do you use ? On Thu, May 12, 2011 at 8:56 PM, Alexandru Artimon aarti...@developmentgateway.org wrote: Hi guys,

Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-12 Thread Nicklas Johnson
On a related note, has anyone experienced HeaderContributors being ineffective in IE8 when added via an ajax event? The scenario is that a component with an attached Ibehavior which in turn provides several Javascript HeaderContributors is added to an ajax target (eg,

Re: Nothing happens on AJAX call after session timeout

2011-05-12 Thread Gabriel Landon
I've tried to use a filter without success because as explained http://www.mail-archive.com/users@tomcat.apache.org/msg75996.html here : Valves are called before filters, and Tomcat's authentication and authorization are implemented as Valves. I don't believe you can have your filter run before

Re: New Website up using wicket

2011-05-12 Thread Josh Kamau
Works really fast. Just curious. Whats on the back end? spring/guice/hibernate/??? Josh. On Thu, May 12, 2011 at 6:45 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Nice and works fine on my Android phone On May 12, 2011 4:20 PM, Henrique Boregio hbore...@gmail.com wrote: Hey,