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, wrote: > Hi, > > I would think that under normal conditions, Wicket prevents doub

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 http://wicket.apache.org/start/quic

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 5

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 wrote: > 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

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 P

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

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 http:/

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 : > This is a question for Wicket masters and those application builders > whose application match the criter

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 exist

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 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 releasin

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 > wrote: > > Hi, > > > > Is there a wa

Re: Prevent Double Submit When Holding Enter Button

2011-07-09 Thread Horacio Natyural
btw, this happens when I hold the Enter button without releasing it.. Thanks On Sat, Jul 9, 2011 at 5:31 PM, Horacio Natyural wrote: > 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 preve

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: us

Re: introducing wicket:for attribute

2011-07-09 Thread Christian Huber
Looks very nifty indeed. Thank you for this addition. Btw, minor mistake in the javadoc, at line 43 the term 'a path' is doubled ;-) Am 09.07.2011 07:46, schrieb Steve Swinsburg: This is excellent Igor, our accessibility people will be very thankful! Please leave it in 1.4.x! cheers, Steve

Re: introducing wicket:for attribute

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

Re: introducing wicket:for attribute

2011-07-09 Thread Igor Vaynberg
ported to trunk -igor On Fri, Jul 8, 2011 at 10:42 PM, robert.mcguinness wrote: > this is going to cleanup a lot of code.  much obliged.  please let us know > when in 1.5.x branch. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/introducing-wicket-for-attribu