Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-04-27 Thread Igor Vaynberg

like i said, use formcomponentupdatingbehavior, it only sends over data for
that one field.

if you want to do stuff liek validate on the fly there is an example in
wicket-examples under ajax/form

what you do is add that formcomponentupdatingbehavior to onchange event of
the textbox and throttle it down to only fire once every 5 seconds or
whatever.

-igor


On 4/27/07, wicket0123 <[EMAIL PROTECTED]> wrote:



Wasn't the initial question to get a form field's value w/o submitting the
entire form?  The goal was to get 1 field's value w/o submitting the
entire
form.



ckuehne wrote:
>
> 2007/1/31, Marc-Andre Houle <[EMAIL PROTECTED]>:
>>
>> Why not simply use AjaxSubmitLink or AjaxSubmitButton ? It will submit
>> all
>> the form, evidently, but you can do which ever action you want in the
>> onClick handler?
>
>
>
> That's exactly the conclusion  I came up with after thinking a bit about
> the
> problem. Thank's again to all for the help!
>
> Conny
>
>
-
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

--
View this message in context:
http://www.nabble.com/-Wicket-user--How-to-include-a-form-field-in-the-ajax-request-without-form-submit-tf3145142.html#a10228176
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-04-27 Thread wicket0123

Wasn't the initial question to get a form field's value w/o submitting the
entire form?  The goal was to get 1 field's value w/o submitting the entire
form.



ckuehne wrote:
> 
> 2007/1/31, Marc-Andre Houle <[EMAIL PROTECTED]>:
>>
>> Why not simply use AjaxSubmitLink or AjaxSubmitButton ? It will submit
>> all
>> the form, evidently, but you can do which ever action you want in the
>> onClick handler?
> 
> 
> 
> That's exactly the conclusion  I came up with after thinking a bit about
> the
> problem. Thank's again to all for the help!
> 
> Conny
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Wicket-user--How-to-include-a-form-field-in-the-ajax-request-without-form-submit-tf3145142.html#a10228176
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-31 Thread Conny Kühne

2007/1/31, Marc-Andre Houle <[EMAIL PROTECTED]>:


Why not simply use AjaxSubmitLink or AjaxSubmitButton ? It will submit all
the form, evidently, but you can do which ever action you want in the
onClick handler?




That's exactly the conclusion  I came up with after thinking a bit about the
problem. Thank's again to all for the help!

Conny
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-31 Thread Marc-Andre Houle

Why not simply use AjaxSubmitLink or AjaxSubmitButton ? It will submit all
the form, evidently, but you can do which ever action you want in the
onClick handler?  Am I missing something?

Marc

On 1/31/07, Erik van Oosten <[EMAIL PROTECTED]> wrote:


Hello Conny,

You could use the 'onclick' event, however, you won't get the value of
the text input. So, you probably need to submit the form. For this links
are not intended, you need a submit buttons. With css you can style the
button as a link again (if you really must :) ). Wicket won't support
something that can not be supported.

Please read the class comment of Wicket's Form class for a lot of
information on form processing.

Regards,
 Erik.

Conny Kühne wrote:
> Thanks for the quick response. Unfortunately I don't quite understand
> how to achieve the functionality with
> ajaxformcomponentupdatingbehavior. More precise, I don't know which
> event to attache to it. I don't want to
> call the availability check "onBlur" but only when the link is clicked.
>
>
>
> 2007/1/30, Igor Vaynberg < [EMAIL PROTECTED]
> >:
>
> see ajaxformcomponentupdatingbehavior
>
> -igor
>
>
> On 1/30/07, *Conny Kühne* < [EMAIL PROTECTED]
> > wrote:
>
> Hi,
>
> my scenario is as follows:
>
> I have a registration form (non ajax) and want to add a link
> that checks the availability of the username
> (i.e., if it has already been taken) via ajax.
>
> So I need a way to get the value of a form field without
> submitting the form. Ideally the value of the form field
> should be read (or it's model updated) when the ajax link is
> clicked.
>
> Is there a convinient way to achieve this behavior.
>
> Best regards,
> Conny
>
>

--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-31 Thread Erik van Oosten
Hello Conny,

You could use the 'onclick' event, however, you won't get the value of 
the text input. So, you probably need to submit the form. For this links 
are not intended, you need a submit buttons. With css you can style the 
button as a link again (if you really must :) ). Wicket won't support 
something that can not be supported.

Please read the class comment of Wicket's Form class for a lot of 
information on form processing.

Regards,
 Erik.

Conny Kühne wrote:
> Thanks for the quick response. Unfortunately I don't quite understand 
> how to achieve the functionality with
> ajaxformcomponentupdatingbehavior. More precise, I don't know which 
> event to attache to it. I don't want to
> call the availability check "onBlur" but only when the link is clicked.
>
>
>
> 2007/1/30, Igor Vaynberg < [EMAIL PROTECTED] 
> >:
>
> see ajaxformcomponentupdatingbehavior
>
> -igor
>
>
> On 1/30/07, *Conny Kühne* < [EMAIL PROTECTED]
> > wrote:
>
> Hi,
>
> my scenario is as follows:
>
> I have a registration form (non ajax) and want to add a link
> that checks the availability of the username
> (i.e., if it has already been taken) via ajax.
>
> So I need a way to get the value of a form field without
> submitting the form. Ideally the value of the form field
> should be read (or it's model updated) when the ajax link is
> clicked.
>
> Is there a convinient way to achieve this behavior.
>
> Best regards,
> Conny
>
>

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-31 Thread Conny Kühne

Thanks for the quick response. Unfortunately I don't quite understand how to
achieve the functionality with
ajaxformcomponentupdatingbehavior. More precise, I don't know which event to
attache to it. I don't want to
call the availability check "onBlur" but only when the link is clicked.





2007/1/30, Igor Vaynberg < [EMAIL PROTECTED]>:


see ajaxformcomponentupdatingbehavior

-igor


On 1/30/07, Conny Kühne < [EMAIL PROTECTED] > wrote:

> Hi,
>
> my scenario is as follows:
>
> I have a registration form (non ajax) and want to add a link that checks
> the availability of the username
> (i.e., if it has already been taken) via ajax.
>
> So I need a way to get the value of a form field without submitting the
> form. Ideally the value of the form field
> should be read (or it's model updated) when the ajax link is clicked.
>
> Is there a convinient way to achieve this behavior.
>
> Best regards,
> Conny
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to include a form field in the ajax request without form submit

2007-01-30 Thread Igor Vaynberg

see ajaxformcomponentupdatingbehavior

-igor


On 1/30/07, Conny Kühne <[EMAIL PROTECTED]> wrote:


Hi,

my scenario is as follows:

I have a registration form (non ajax) and want to add a link that checks
the availability of the username
(i.e., if it has already been taken) via ajax.

So I need a way to get the value of a form field without submitting the
form. Ideally the value of the form field
should be read (or it's model updated) when the ajax link is clicked.

Is there a convinient way to achieve this behavior.

Best regards,
Conny

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user