Re: How Does Checkbox Know To Store To My Data Object

2013-10-24 Thread Paul Bors
Read section 10.2 Models and JavaBeans of the Wicket Guide at:
http://wicket.apache.org/guide/guide/chapter10.html#chapter10_2

From the code snipet you posted I take it your form or parent of your form
has a CompondPropertyModel which must be feeding your checkbox. Either that,
or you have a model tight to your checkbox.



-
~ Thank you,
p...@bors.ws
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-Does-Checkbox-Know-To-Store-To-My-Data-Object-tp4661879p4661947.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How Does Checkbox Know To Store To My Data Object

2013-10-22 Thread dhongyt
I think its an object in my Model?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-Does-Checkbox-Know-To-Store-To-My-Data-Object-tp4661879p4661925.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How Does Checkbox Know To Store To My Data Object

2013-10-22 Thread meduolis
Try to add something like this onSubmit: System.out.println(It's up to date
compiled code running here) and check console if you get this output :).
I think you need to recompile your sources and application. Because this
code snipped does nothing.
I might be wrong, we all do mistakes :)



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-Does-Checkbox-Know-To-Store-To-My-Data-Object-tp4661879p4661927.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How Does Checkbox Know To Store To My Data Object

2013-10-21 Thread dhongyt
Sorry I'm using the  tag

FormDownloadBagService form = new
FormDownloadBagService(dataForm)
{
@Override
protected void onSubmit()
{
}
};

Basically looks like this.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-Does-Checkbox-Know-To-Store-To-My-Data-Object-tp4661879p4661907.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How Does Checkbox Know To Store To My Data Object

2013-10-19 Thread Per Newgro

Hi david,

there is no code in your email.

Cheers
Per

Am 18.10.2013 22:39, schrieb dhongyt:

I have a Data Object called DownloadBagService which works as a place to hold
the checked files the a user selects.

I have a page that the user are able to select files from and add it to the
DownloadBagService.


When the user checks on files and hits submit. The files appear in the
DownloadBagService magically.
As you can see my onSubmit contains code that is commented out. How does
Wicket know to put those files in the DownloadBagService?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-Does-Checkbox-Know-To-Store-To-My-Data-Object-tp4661879.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



How Does Checkbox Know To Store To My Data Object

2013-10-18 Thread dhongyt
I have a Data Object called DownloadBagService which works as a place to hold
the checked files the a user selects.

I have a page that the user are able to select files from and add it to the
DownloadBagService.


When the user checks on files and hits submit. The files appear in the
DownloadBagService magically.
As you can see my onSubmit contains code that is commented out. How does
Wicket know to put those files in the DownloadBagService?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-Does-Checkbox-Know-To-Store-To-My-Data-Object-tp4661879.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org