This issue seems to pop up in our environment from time to time and trying to
figure out how to fix it once and for all.
We have a page with a form that pops up modal window with a form specified as
well.
When we try to submit, we get the following exception:
java.lang.IllegalStateException: S
ent found at these two pages not relevant for v1.4?
> http://cwiki.apache.org/WICKET/nested-forms.html and
> http://cwiki.apache.org/WICKET/conditional-validation.html
>
> I understand the idea of nested forms and I understand that HTML only
> supports one form. I had hoped that Wicket
Ok, then is the content found at these two pages not relevant for v1.4?
http://cwiki.apache.org/WICKET/nested-forms.html and
http://cwiki.apache.org/WICKET/conditional-validation.html
I understand the idea of nested forms and I understand that HTML only
supports one form. I had hoped that Wicket
9, 2010 at 10:09 AM, Charles Deal wrote:
> I'm sorry to bump this. At the least, can anyone point me to some code that
> has successfully implemented isolated, nested forms using Wicket 1.4.x?
>
>
> On Wed, Feb 17, 2010 at 8:43 AM, Charles Deal
> wrote:
>
>> I am
I'm sorry to bump this. At the least, can anyone point me to some code that
has successfully implemented isolated, nested forms using Wicket 1.4.x?
On Wed, Feb 17, 2010 at 8:43 AM, Charles Deal wrote:
> I am attempting to put an isolated form within the main form of my page. I
>
I am attempting to put an isolated form within the main form of my page. I
found http://cwiki.apache.org/WICKET/nested-forms.html which was helpful in
understanding how the processing works. I was even more excited when I found
http://cwiki.apache.org/WICKET/conditional-validation.html which i
VisitChildren(Form.class, )
Martijn
On Friday, January 29, 2010, Dave Kallstrom wrote:
> Hi,
> Is there anyway to notify nested forms that they are being submitted? The
> onSubmit method of nested forms do not get called when the parent form is
> submitted.
> I tri
Nested forms in wicket component hierarachy. Not in html. You can nest forms
in wicket which are replaced when the page is rendered and swapped out for
divs.
http://cwiki.apache.org/WICKET/nested-forms.html
On Fri, Jan 29, 2010 at 5:38 PM, Riyad Kalla wrote:
> Are nested forms a valid H
Are nested forms a valid HTML construct? I'm running through the use-case
here in my head and it doesn't click -- form submission is 1:1 with an HTTP
POST, what do multiple embedded forms even mean in this regard?
I don't think this is kosher...
On Fri, Jan 29, 2010 at 2:04 PM,
Hi,
Is there anyway to notify nested forms that they are being submitted? The
onSubmit method of nested forms do not get called when the parent form is
submitted.
I tried implementing IFormSubmitListener but that didn't seem to help.
--
Dave Kallstrom
A JIRA report has been created:
https://issues.apache.org/jira/browse/WICKET-2433
cheers,
Marcin
--
View this message in context:
http://www.nabble.com/Ajax-support-for-multipart-forms---nested-forms-in-1.4.1-tp25098452p25112870.html
Sent from the Wicket - User mailing list archive at
please create a jira issue and attach a quickstart to that.
-igor
On Sat, Aug 22, 2009 at 3:24 PM, Marcin Palka wrote:
> Hi,
>
> I just noticed that the multipart forms over ajax feature does not
> really work in case of having nested forms. Is this a known
> limitation? Is there
Which values are you missing or are invalid? The outer form?
On 23/08/2009, Marcin Palka wrote:
> Hi,
>
> I just noticed that the multipart forms over ajax feature does not
> really work in case of having nested forms. Is this a known
> limitation? Is there any workaround?
>
&g
i dont think its that new, but maybe changed since youve written your wiki.
-igor
On Thu, Aug 6, 2009 at 8:24 AM, John Krasnay wrote:
> Oh, is that new? Perhaps my example on the wiki is indeed fubar.
>
> jk
>
> On Thu, Aug 06, 2009 at 08:14:51AM -0700, Igor Vaynberg wrote:
>> no, when a form's i
Oh, is that new? Perhaps my example on the wiki is indeed fubar.
jk
On Thu, Aug 06, 2009 at 08:14:51AM -0700, Igor Vaynberg wrote:
> no, when a form's isenabled() returns false then all of its
> descendants are also disabled. when a formcomponent is disabled it
> adds disabled="disabled" attribut
no, when a form's isenabled() returns false then all of its
descendants are also disabled. when a formcomponent is disabled it
adds disabled="disabled" attribute, so you wont be able to use it in
the browser.
-igor
On Thu, Aug 6, 2009 at 7:32 AM, John Krasnay wrote:
> On Thu, Aug 06, 2009 at 07:0
On Thu, Aug 06, 2009 at 07:09:20AM -0700, nytrus wrote:
>
> John Krasnay wrote:
> >
> > The isEnabled method only controls form processing on the server. If you
> > can't even type characters in your text field you have something else
> > going on at the browser level.
> >
>
> Well usually in a
ge in context:
http://www.nabble.com/Nested-forms-%3A-don%27t-process-inner-form-when-outer-form-is-submitted-tp21910941p24847306.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr.
On Thu, Aug 06, 2009 at 02:40:13AM -0700, nytrus wrote:
>
> In the example, the inner form is enabled only when the submitter button is
> that of itself (i.e. I'm submitting the inner form). In all other cases the
> form is always disabled:
Yes, that is the point.
> I've tried the example and in
verride isrequired() and check for the submitting
>> > component.
>> >
>> > -igor
>> >
>> > On Mon, Feb 9, 2009 at 3:17 AM, Marieke Vandamme wrote:
>> >>
>> >> Hello,
>> >>
>> >> I've been reading
needs to be nested, wicket then rewrites it or
>>> something like that.. How does the resulting html look like?
>>>
>>> 2009/7/6 Ned Collyer :
>>>> I am currently running wicket 1.4-rc2
>>>>
>>>> I have nested forms setup in the wizard.
nested, wicket then rewrites it or
>> something like that.. How does the resulting html look like?
>>
>> 2009/7/6 Ned Collyer :
>>> I am currently running wicket 1.4-rc2
>>>
>>> I have nested forms setup in the wizard. One of my steps is as follows.
&g
ike?
2009/7/6 Ned Collyer :
I am currently running wicket 1.4-rc2
I have nested forms setup in the wizard. One of my steps is as follows.
public class MyStep1 extends WizardStep {
public MyStep1(final CompoundPropertyModel campaignModel) {
super("Step 1", "Wow b
; Is the form nested in the other form in html. I remember vaguely
> something about it needs to be nested, wicket then rewrites it or
> something like that.. How does the resulting html look like?
>
> 2009/7/6 Ned Collyer :
>> I am currently running wicket 1.4-rc2
>>
>> I
Is the form nested in the other form in html. I remember vaguely
something about it needs to be nested, wicket then rewrites it or
something like that.. How does the resulting html look like?
2009/7/6 Ned Collyer :
> I am currently running wicket 1.4-rc2
>
> I have nested forms set
I am currently running wicket 1.4-rc2
I have nested forms setup in the wizard. One of my steps is as follows.
public class MyStep1 extends WizardStep {
public MyStep1(final CompoundPropertyModel campaignModel) {
super("Step 1", "Wow bananas");
rm.add(editButton);
outerform.add(new AjaxButton("submitButton") {
protected void onSubmit(AjaxRequestTarget target, Form form)
{
super.onSubmit();
}
});
}
}
msteff wrote:
Hi,
I am having problems using nested form
t; {
> super.onSubmit();
> target.addComponent(txtField);
> }
> };
> innerform.add(editButton);
>
>
> outerform.add(new AjaxButton("submitButton") {
> protected void onSubmit(AjaxRequestTarget target, Form form)
>
target.addComponent(txtField);
}
};
innerform.add(editButton);
outerform.add(new AjaxButton("submitButton") {
protected void onSubmit(AjaxRequestTarget target, Form form)
{
super.onSubmit();
}
as to where to
> start debugging this. I tried to follow the setLocale() to see what the
> behaviour of wicket is, but i guess i have to start elsewhere..
>
> Thanks for any answer!
>
>
>
> msteff wrote:
>>
>> Hi,
>> I am having problems using nested for
ems using nested forms and changing locale.
>
> I have 2 links for changing the locale. It works until i press the
> AjaxButton in the inner form. Hereafter the txtField's getObject is not
> called anymore.
>
> What am i doing wrong ? Any suggestions ?
>
>
>
&
the items of the page.. hmm.
Brill Pappin wrote:
i may be wrong about this because my wicket ajax is still a bit shaky,
but try adding the components you wanted updated to the links target.
- Brill
On 7-Jun-09, at 10:20 AM, Morten Steffensen wrote:
Hi,
I am having problems using nested
i may be wrong about this because my wicket ajax is still a bit shaky,
but try adding the components you wanted updated to the links target.
- Brill
On 7-Jun-09, at 10:20 AM, Morten Steffensen wrote:
Hi,
I am having problems using nested forms and changing locale.
I have 2 links for
Hi,
I am having problems using nested forms and changing locale.
I have 2 links for changing the locale. It works until i press the
AjaxButton in the inner form. Hereafter the txtField's getObject is not
called anymore.
What am i doing wrong ? Any suggestions ?
public class Proble
Check out this: http://cwiki.apache.org/WICKET/conditional-validation.html
We frequently override the isRequired method of individual fields on a form
so that they are only required in the event that a specific button was
clicked, or a specific class of button. For instance, you could tag your
s
No no .. This is exactly the opposite of what I want.
I cannot setDefaultFormProcessing to false for Wizard buttons - some
screens may need other settings.
I need the nested form validators NOT to fire when pressing wizard
navigation buttons.
Juan Carlos Garcia M. wrote:
Set Button#setDefa
Set Button#setDefaultFormProcessing(false)
Also check: http://cwiki.apache.org/WICKET/multiple-submit-buttons.html
multiple-submit-buttons
Leszek Gawron-2 wrote:
>
> Hello,
>
> say i have a small form :
>
>* first name - text field required
>* last name - text field required
>*
Hello,
say i have a small form :
* first name - text field required
* last name - text field required
* phone no - text field required
* submit button to add new contact
everything works fine until I put the form into a wizard step. It turns
out that wizard itself is a form. So now we
your inner form implement IFormVisitorParticipant.
> >
> > another way is to override isrequired() and check for the submitting
> > component.
> >
> > -igor
> >
> > On Mon, Feb 9, 2009 at 3:17 AM, Marieke Vandamme wrote:
> >>
> >> Hello,
> &
te:
>>
>> Hello,
>>
>> I've been reading a lot about nested forms and what should happen with
>> the
>> inner forms when the outer form gets submitted. But I didn't found out
>> how
>> you can implement what i'm trying:
>>
>> I
try letting your inner form implement IFormVisitorParticipant.
another way is to override isrequired() and check for the submitting component.
-igor
On Mon, Feb 9, 2009 at 3:17 AM, Marieke Vandamme wrote:
>
> Hello,
>
> I've been reading a lot about nested forms and what shoul
Hello,
I've been reading a lot about nested forms and what should happen with the
inner forms when the outer form gets submitted. But I didn't found out how
you can implement what i'm trying:
I have inner form with some RequiredTextFields on it. These are required
when th
Nevermind, error on my part.
On Mon, Nov 3, 2008 at 5:20 PM, Andrew Berman <[EMAIL PROTECTED]> wrote:
> So even if I do this, all child pages need to add their components to the
> body and not the direct page itself which to me doesn't seem right. Is
> there a way to get around this or is there
the whole point of a transparent container is that they are
transparent, so your subclasses can add items directly to the page.
-igor
On Mon, Nov 3, 2008 at 6:20 PM, Andrew Berman <[EMAIL PROTECTED]> wrote:
> So even if I do this, all child pages need to add their components to the
> body and not
So even if I do this, all child pages need to add their components to the
body and not the direct page itself which to me doesn't seem right. Is
there a way to get around this or is there a better way to add a dynamic
class to the body tag?
On Fri, Oct 31, 2008 at 2:54 PM, Andrew Berman <[EMAIL P
Awesome, thanks Igor!
On Fri, Oct 31, 2008 at 2:59 PM, Igor Vaynberg <[EMAIL PROTECTED]>wrote:
> put the container back, override its istransparentresolver() and return
> true
>
> -igor
>
> On Fri, Oct 31, 2008 at 2:50 PM, Andrew Berman <[EMAIL PROTECTED]> wrote:
> > Actually, i had something mor
put the container back, override its istransparentresolver() and return true
-igor
On Fri, Oct 31, 2008 at 2:50 PM, Andrew Berman <[EMAIL PROTECTED]> wrote:
> Actually, i had something more like this:
>
>
> ...
>
>
>
> And in the child:
>
>
>
> When I removed the WebMarkupContainer on the b
Actually, i had something more like this:
...
And in the child:
When I removed the WebMarkupContainer on the body tag, everything worked
perfectly.
On Fri, Oct 31, 2008 at 2:48 PM, Andrew Berman <[EMAIL PROTECTED]> wrote:
> I figured out why it was happening. It was because I put a
>
I figured out why it was happening. It was because I put a
WebMarkupContainer on the body tag which includes the wicket:child. So I
had:
I need to be able to dynamically update the class attribute on the body tag
which exists in the parent page, how can I do this since the way I want to
do
Really strange... I have something similar on 1.4, although never more
that 1 nested form.
Could you show us some code and markup cut out?
Andrew Berman wrote:
Hello,
I am using Wicket 1.3.5 and I created a panel which contains a form. I have
a parent template page and a child of the parent p
are you sure this still happens if you remove one of them? only
immediate parent is checked for id collissions so unless you are
somehow adding two components with id emaillabel to the same parent
you wont get this error. feel free to create a quickstart that
reproduces it.
-igor
On Thu, Oct 30,
Hello,
I am using Wicket 1.3.5 and I created a panel which contains a form. I have
a parent template page and a child of the parent page, both of which contain
an instance of the panel. However, even if I give the panels two different
ids, I get an error like:
The component [MarkupContainer [Com
d for the
> updating components
>
> In IE 7 - Dont get a call to onSubmit() for indicatingajaxbutton at all
> but the page reloads and again even though the page is bookmarkable -
> wicket:interface url shows with the bumped version number
>
> Can someone think of any w
a call to onSubmit() for indicatingajaxbutton at all
> but the page reloads and again even though the page is bookmarkable -
> wicket:interface url shows with the bumped version number
>
> Can someone think of any work arounds while this gets looked at?
>
>
>
--
View this mes
number
Can someone think of any work arounds while this gets looked at?
--
View this message in context:
http://www.nabble.com/Nested-forms-and-IndicatingAjaxSubmitButton---multiple-issues-tp19190442p19190442.html
Sent from the Wicket - User maili
On Tue, Aug 19, 2008 at 09:15:55AM -0400, John Krasnay wrote:
> On Mon, Aug 18, 2008 at 11:10:29PM +0200, Matej Knopp wrote:
> > Can't you just override isEnabled() on the inner form and return
> > true/false depending on whether the inner form should be processed?
> >
>
> Hrm, something like thi
On Mon, Aug 18, 2008 at 11:10:29PM +0200, Matej Knopp wrote:
> Can't you just override isEnabled() on the inner form and return
> true/false depending on whether the inner form should be processed?
>
Hrm, something like this I suppose?
public boolean isEnabled() {
return findFormSubmitting
Can't you just override isEnabled() on the inner form and return
true/false depending on whether the inner form should be processed?
-Matej
On Mon, Aug 18, 2008 at 10:42 PM, John Krasnay <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I find myself occasionally using nested for
Hi folks,
I find myself occasionally using nested forms in my Wicket apps. With
nested forms, when the outer form is submitted, it triggers a
validation and submission of any inner forms as well. In some
cases I don't want this behaviour, but instead I want the inner form and
outer form
fast response...
> >
> > Thanks again,
> > Ashley
> >
> >
> >
> > Pills wrote:
> >>
> >> Hi everybody,
> >>
> >> I'm using nested forms in my web app to provide to the user a simple way
> >> for editting a product and it
ponse... thanks
Ashley
AshleyAbraham wrote:
>
> Igor,
> Thank u for your fast response...
>
> Thanks again,
> Ashley
>
>
>
> Pills wrote:
>>
>> Hi everybody,
>>
>> I'm using nested forms in my web app to provide to the user a simp
Igor,
Thank u for your fast response...
Thanks again,
Ashley
Pills wrote:
>
> Hi everybody,
>
> I'm using nested forms in my web app to provide to the user a simple way
> for editting a product and its stock state at the same time (PRODUCTS and
> STOCKS are bound
ssing it only processes FormComponentPanel's sibling and
> > not its children.
> >
> > Any thougts...?
> >
> > Thanks
> > Ashley
> >
> >
> >
> >
> > Pills wrote:
> > >
> > > Hi everybody,
turn false. So, when the main
> form starts processing it only processes FormComponentPanel's sibling and
> not its children.
>
> Any thougts...?
>
> Thanks
> Ashley
>
>
>
>
> Pills wrote:
> >
> > Hi everybody,
> >
> > I'
main
form starts processing it only processes FormComponentPanel's sibling and
not its children.
Any thougts...?
Thanks
Ashley
Pills wrote:
>
> Hi everybody,
>
> I'm using nested forms in my web app to provide to the user a simple way
> for editting a product and it
; > It is mentioned in other threads, I just don't know what I do wrong.
> >
> > /Steen
> >
> > 2008/1/23, James Carman <[EMAIL PROTECTED]>:
> > >
> > > http://www.thescripts.com/forum/thread95602.html
> > >
> > >
> >
; just that is not attached to a component).
>
>
> It is mentioned in other threads, I just don't know what I do wrong.
>
> /Steen
>
> 2008/1/23, James Carman <[EMAIL PROTECTED]>:
> >
> > http://www.thescripts.com/forum/thread95602.html
> >
> &
w what I do wrong.
> >
> > /Steen
> >
> > 2008/1/23, James Carman <[EMAIL PROTECTED]>:
> >
> > >
> > > http://www.thescripts.com/forum/thread95602.html
> > >
> > >
> > > On 1/23/08, Steen Larsen <[EMAIL PROTECTED]
her threads, I just don't know what I do wrong.
>
> /Steen
>
> 2008/1/23, James Carman <[EMAIL PROTECTED]>:
>
> >
> > http://www.thescripts.com/forum/thread95602.html
> >
> >
> > On 1/23/08, Steen Larsen <[EMAIL PROTECTED]> wrot
TECTED]>:
>
> http://www.thescripts.com/forum/thread95602.html
>
>
> On 1/23/08, Steen Larsen <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I have seen that nested forms should be possible in Wicket 1.3, so i
> have
> > tried to use it in one of my project
http://www.thescripts.com/forum/thread95602.html
On 1/23/08, Steen Larsen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have seen that nested forms should be possible in Wicket 1.3, so i have
> tried to use it in one of my projects, but for some reason when submitting
> the in
Hi,
I have seen that nested forms should be possible in Wicket 1.3, so i have
tried to use it in one of my projects, but for some reason when submitting
the inner form, only the outer form submit method is run. The code looks
something like this:
In a WebPage class
MandatoryProductsForm
Hi everybody,
I'm using nested forms in my web app to provide to the user a simple way for
editting a product and its stock state at the same time (PRODUCTS and STOCKS
are bound with a relation 1-n in my database). So I've defined a form for
each of my tables.
When I submit a neste
Please ignore my previous post. I'd make a big mistake, I'd override
"onSubmit" from the button and not from the form
Now everything works fine
;)
--
View this message in context:
http://www.nabble.com/Usage-of-nested-forms-tf4804894.html#a13763909
Sent from the Wicket
Hello,
I would like to nest several forms into another one. Each form has its
own "submit" button, with some code related to it. They are all defined
as panels, in theire own files.
When I put a form into its parent, then the nested form's "onSubmit" is
no more used and only the parent's onS
101 - 175 of 175 matches
Mail list logo