Emh .. not really because that source IS the patch ;)
On Jan 8, 2008 4:52 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:
> On Mon, 07 Jan 2008, Paolo Di Tommaso wrote:
> > I would propose the following patch to AjaxFormSubmitBehavior.
> >
> > Basically adding a form-less constructor so that when
On Mon, 07 Jan 2008, Paolo Di Tommaso wrote:
> I would propose the following patch to AjaxFormSubmitBehavior.
>
> Basically adding a form-less constructor so that when the form obejct is not
> specified it will discovered using the findParent(Form.class) method.
Could you get the same event by
jira is a better place for this...
-igor
On Jan 7, 2008 1:32 AM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
> I would propose the following patch to AjaxFormSubmitBehavior.
>
> Basically adding a form-less constructor so that when the form obejct is not
> specified it will discovered using the
I would propose the following patch to AjaxFormSubmitBehavior.
Basically adding a form-less constructor so that when the form obejct is not
specified it will discovered using the findParent(Form.class) method.
Core developers what do you think about it ?
Paolo
abstract public class AjaxFormSu
Thanks everybody for the precious help, a custom lazy
AjaxFormSubmitBehavior was the way to go.
Fabio Fioretti - WindoM
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Btw, typically you get the form from the Wizard (getForm). But
obviously, it has to be created before that gives anything other than
null :-)
Eelco
On 1/5/08, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Yeah, the form is initialized in the Wizard's init method, not right
> away during constructi
Yeah, the form is initialized in the Wizard's init method, not right
away during construction. You could try patching the wizard and
creating the form in the constructor instead and see if that solves
your problem and propose a patch if it does. I wouldn't mind having
another wizard example in wick
Let me guess .. you need the form to create a AjaxSubmitLink instance.
But the #findParent(Form.class) will return null until the component
hierarchy is constructed, being so you cannot invoke it at component
construction-time.
A possible workaround is to postpone the findParent(Form.class) metho
First of all, many compliments for the great Wicket 1.3 release: we're
looking forward to port our application to the new cool version!
How can I get the Wizard's form from inside a WizardStep? I need it to
trigger an AjaxSubmitLink which should update a part of my model while
remaining inside tha