Thanks, sounds very good.
Christian
On Sat, 26 Nov 2005 00:51:58 +0100, Johan Compagner <[EMAIL PROTECTED]>
wrote:
I added something like youre SubmitLink into the core.
There aren't 2 versions. just one that can do both (internally and
externally of the form)
johan
On 11/22/05, Christian
I added something like youre SubmitLink into the core.There aren't 2 versions. just one that can do both (internally and externally of the form)johanOn 11/22/05,
Christian Essl <[EMAIL PROTECTED]> wrote:
So you mean the _javascript_ should store the path to the component in thehidden field and the
So you mean the JavaScript should store the path to the component in the
hidden field and the form reads this out (if present) looks-up the
component and calls some (interface) method on the component. This would
be at least JavaScript wise the best solution - I don't know how older
browser beh
that's not what i meanShould youre SubmitLink do the normal validation of the form? Is it a normal submit?I think so.But my other example the onChange on a drop down. If that one is triggered it is not a normal submit
The form shouldn't do anything, so defaultFormProcessing == false but where is th
Will check youre code out. i hope this week.
The problem now is that now always should the form completely be
processed
and other times is should
for example a Submit Link should i think process the form. But a onChange
listener on a DropDownChoice shouldn't
That last one shouldn't be a real
Will check youre code out. i hope this week.The problem now is that now always should the form completely be processed and other times is shouldfor example a Submit Link should i think process the form. But a onChange listener on a DropDownChoice shouldn't
That last one shouldn't be a real submit w
nice!
Thanks
what you do in the submit link i want to do in the form itself (so the
form
generates a hidden input)
Then everything in that form, Links, onChange listenerers will/can use
that
one to do the form submit but then dispatch the event)
johan
That's much better. Enclosed is the
I havent tested yet, but it seems exactly what i looking for. A submit
link AND a submit button for the same form. I guess it will work, if
not i will keep asking you. Thanks very much for your help.
On 11/21/05, Christian Essl <[EMAIL PROTECTED]> wrote:
Sorry I just realized that the SubmitLink b
nice!what you do in the submit link i want to do in the form itself (so the form generates a hidden input)Then everything in that form, Links, onChange listenerers will/can use that one to do the form submit but then dispatch the event)
johanOn 11/21/05, Christian Essl <[EMAIL PROTECTED]> wrote:
So
Sorry I just realized that the SubmitLink before had a bug (test, test,
test ;)).Enclosed is something which should work - at least for FireFox
and IE& it does. Please test it if you need it - at all.
Thanks,
Christian
On Mon, 21 Nov 2005 04:43:26 +0100, Christian Essl
<[EMAIL PROTECTED]> wr
I don't know if I understand you right but enclosed is a component which
behaves (and is) exactly like a Wicket Button but renders instead href="javascript:document.generatedFormName.submit()">, which triggers the
form submit.
One of the SubmitLinks must be given the form in the constructor to
Maybe i was not clear about my problem. What i need is that when i
click the link get some info and redirect to other page. So far, the
only way i can get the info is getting the model on the onSubmit
method, but that method i use it for redirect to a diferent page.On 11/20/05, Johan Compagner <[EM
then you need to do an onClick on the button that submits the form.only at this time you can't know that that link was clicked (or you have to do that with a special hidden field and check that field in the Form.submit
() method)johanOn 11/20/05, Manuel Corrales <[EMAIL PROTECTED]> wrote:
Hi, i ha
Hi, i have a page with a small form, a couple links and a button (submit).
Now, when the button is pressed, i can get the model data, but i need that when a link is clicked, get some data of the form.
How can i achieve this?
Thanks.
14 matches
Mail list logo