Re: introducing wicket:for attribute

2011-07-09 Thread Igor Vaynberg
On Sat, Jul 9, 2011 at 12:25 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: ported to trunk -igor On Fri, Jul 8, 2011 at 10:42 PM, robert.mcguinness robert.mcguinness@gmail.com wrote: this is going to cleanup a lot of code.  much obliged.  please let us know when in 1.5.x branch.

Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Horacio Natyural
Hi, Is there a way that I can prevent a double submit when I'm holding the enter button? I'm using a normal Button component. I can't seem to prevent it from submitting the form twice.. Thanks Carlo - To unsubscribe, e-mail:

Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Josh Kamau
Are you submitting via ajax? On Sat, Jul 9, 2011 at 12:39 PM, Horacio Natyural horacio.natyu...@gmail.com wrote: btw, this happens when I hold the Enter button without releasing it.. Thanks On Sat, Jul 9, 2011 at 5:31 PM, Horacio Natyural horacio.natyu...@gmail.com wrote: Hi, Is

Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Horacio Natyural
nope, i'm submitting via normal Button component On Sat, Jul 9, 2011 at 5:55 PM, Josh Kamau joshnet2...@gmail.com wrote: Are you submitting via ajax? On Sat, Jul 9, 2011 at 12:39 PM, Horacio Natyural horacio.natyu...@gmail.com wrote: btw, this happens when I hold the Enter button without

Page De-Serialization and memory

2011-07-09 Thread richard emberson
This is a question for Wicket masters and those application builders whose application match the criteria as specified below. [In this case, a Wicket master is someone with a knowledge of how Wicket is being used in a wide spectrum of applications so that they have a feel for what use-cases

Re: Page De-Serialization and memory

2011-07-09 Thread Martin Makundi
Difficult to say ... we have disabled page versioning and se dump sessions onto disk every 5 minutes to minimize memory hassles. But I am no master ;) ** Martin 2011/7/9 richard emberson richard.ember...@gmail.com: This is a question for Wicket masters and those application builders whose

Review: Apache Wicket Cookbook

2011-07-09 Thread Andrew Lombardi
First off, hats off to Igor for a really awesome book. Enjoyed reading the book immensely and if you're reading this right now, and you haven't bought it yet, go get it already! You can check Mystic's site for our review, but support this awesome book for the community and get it today

confusion in selecting guice and spring for Ioc

2011-07-09 Thread hariharansrc
I need to integrate jasper reports and hibernate for my project. I got archetype for hibernate. And I choose wicket-guice-warp-persist-hibernate. Then for jasper reports when I search I am getting archetypes but i am getting archetypes using spring. So it results learning both of them. So, anybody

Re: Page De-Serialization and memory

2011-07-09 Thread richard emberson
Martin, The reason I was interested was because it struck me a couple of days ago that while each Page, tree of Components, is created many (almost all?) of the non-end-user-generated Strings stored as instance variables in the tree are shared between all copies of the Page but that when such a

Re: Page De-Serialization and memory

2011-07-09 Thread Igor Vaynberg
string literals are interned by the jvm so they should have a minimal memory impact. -igor On Sat, Jul 9, 2011 at 5:10 PM, richard emberson richard.ember...@gmail.com wrote: Martin, The reason I was interested was because it struck me a couple of days ago that while each Page, tree of

Re: Page De-Serialization and memory

2011-07-09 Thread richard emberson
I you run the little Java program I included, you will see that there is an impact - de-serialized objects take more memory. Richard On 07/09/2011 05:23 PM, Igor Vaynberg wrote: string literals are interned by the jvm so they should have a minimal memory impact. -igor On Sat, Jul 9, 2011 at

Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread bht
Hi, I would think that under normal conditions, Wicket prevents double submits from occcuring. That should be part of any framework functionality. So if you observe a scenario where double submit is possible, then please create a testcase with a quickstart, see

Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Igor Vaynberg
double submits should not be blocked by default. there are plenty of valid usecases for supporting backbutton+submit. preventing a double submit is an exception, not the rule. -igor On Sat, Jul 9, 2011 at 6:46 PM, b...@actrix.gen.nz wrote: Hi, I would think that under normal conditions,