Re: Multiple Form Submits

2010-01-22 Thread Edmund Urbani
On 01/22/10 14:48, Ernesto Reinaldo Barreiro wrote: http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/ On Fri, Jan 22, 2010 at 2:43 PM, Edmund Urbani wrote: Thanks again. I need this for non-AJAX requests, too. So I would probably use this solution

Re: Multiple Form Submits

2010-01-22 Thread Edmund Urbani
On 01/22/10 14:23, Ernesto Reinaldo Barreiro wrote: -Use a veil to block the page and avoid multiple submits? -resubmit safe form: http://www.codesmell.org/blog/2008/12/wicket-resubmitsafeform/? Ernesto Well, so much for my delusion regarding Wicket forms already being "resubmit-safe". ;)

Multiple Form Submits

2010-01-22 Thread Edmund Urbani
Hello, I would like to know how Wicket handles multiple submits of the same form (ie. "double-clicking"). Somehow I always assumed only the first POST request would cause the onSubmit() handlers to be called. Now it looks like I'm either going to have to re-evaluate that assumption or submit a

Re: iPhone webapp support?

2009-10-07 Thread Edmund Urbani
Lionel Armanet wrote: > Hi, > > Maybe you should take a look at jqTouch (http://www.jqtouch.com/) which is a > jQuery plugin dedicated to use rich effects of safari on iPhone. > > You might want to use wiQuery (http://code.google.com/p/wiquery) ton bind > this jQuery plugin with your wicket appl

iPhone webapp support?

2009-10-06 Thread Edmund Urbani
Hi all, I was wondering whether there is some special support for iPhones available with Wicket. Something to render pages/components in native iPhone Look&Feel, like eg. here: http://www.ibm.com/developerworks/library/os-eclipse-iphone/ Cheers Edmund -- Liland ...does IT better Liland IT Gmb

Re: Component initModel() order (design issue?)

2009-10-01 Thread Edmund Urbani
gt; > since this is essentially what you want to do - have textfield use the > same model as the panel. > > -igor > > On Wed, Sep 30, 2009 at 9:47 AM, Edmund Urbani wrote: >> You're right, getDefaultModel ensures initialization. I should have suggested >> that

Re: Component initModel() order (design issue?)

2009-09-30 Thread Edmund Urbani
InheritedModel and assign his children default models with the > desired logic? On IComponentInheritedModel you can access your custom > component parent model, and if you use getDefaultModel method, you don't > need to care with initialization ordering too... > > On Wed, Sep 30, 2009 at 9:51

Component initModel() order (design issue?)

2009-09-30 Thread Edmund Urbani
Hi, I was just trying to create a component of my own which - in some of my pages - is created without a model. In the initModel() method I would then call super.initModel() and wrap the resulting model for use in a child component. The problem is the initialization order: The child model's initM

Re: Jackrabbit APi thorugh Apache wicket

2008-10-13 Thread Edmund Urbani
Nayak Vishal wrote: > Hello everyone, > > Is it possible to access Jackrabbit API(talking to Alfresco ) thorugh > Apache wicket. > > Regards > Vishal > Well, I don't know of any out-of-the-box components that integrate Wicket with JCR (or Jackrabbit in particular), but you can always write your

Re: Serializing model. DetachedModel or not

2008-10-07 Thread Edmund Urbani
jensiator wrote: > Hello Edmund. > Nice to have someone in the same timezone! > Thanks for your reply. I'll try to set the modelobject member in the LDM to > transient and see if it solves the serializing exception(even if you don't > recommend it). Just want to try it out. > > If I understand yo

Re: Serializing model. DetachedModel or not

2008-10-07 Thread Edmund Urbani
jensiator wrote: > Thanks Igor > In my code I started with with a LDM initialized with the modelobject > itself. But it if the modelobject dont implement serializable I get > serialize exception for the modelobject(e.g. contact). My assumption is that > the modelobject is being serialized to the se

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Edmund Urbani
Gabor Szokoli wrote: Hi, We haven't worked with 1.4 enough to form an opinion, but we'll definitely upgrade to it for the next project. On 6/3/08, Johan Compagner <[EMAIL PROTECTED]> wrote: If only... if only we had this construct: class Component If only we had type inference :-) Is this