Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-06-01 Thread GS-ikiini
if it is selected. Is this correct? -B igor.vaynberg wrote: please search mail archives before posting http://www.nabble.com/Design-questions%3A-Use-of-controllers-and-wicket-models-tf3373279.html#a9510784 -igor On 3/26/07, GS-ikiini [EMAIL PROTECTED] wrote: Hey all, I have

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-28 Thread GS-ikiini
so this would associate my object with a checkbox? how do i place the select objects in a collection from there? -B svenmeier wrote: I'm not sure I fully understand what you're trying to do, but CheckGroup/Check components are a nice solution for managing the selection of multiple

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-28 Thread GS-ikiini
and all selected pens will be contained in selectedPensModel. For the models there are many possibilities: AbstractReadOnlyModel, PropertyModel, ... Sven GS-ikiini wrote: so this would associate my object with a checkbox? how do i place the select objects in a collection from

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread GS-ikiini
okI though that was a lower case bmy bad on the not so smart question... -B Eelco Hillenius wrote: java.lang.Boolean? Eelco On 3/26/07, GS-ikiini [EMAIL PROTECTED] wrote: one more thing...i see wehn you implement the IModel class in the thread, you use a data type called

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread GS-ikiini
with the componenet..what do they tell each other.? -B igor.vaynberg wrote: On 3/26/07, GS-ikiini [EMAIL PROTECTED] wrote: its saying that you create a custom model that takes as an argument in the constructor the object/model that you want to tie to a check box. this model is used

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread GS-ikiini
. Hope this helps, Eelco On 3/27/07, GS-ikiini [EMAIL PROTECTED] wrote: ok so i'm trying to implement my own model but i have little idea what i am suppose to be trying to do here. can someone please give a brief overview as to what the getObject, and setObject expects and does please. I

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-27 Thread GS-ikiini
I don't understand that last post can you re phrase please.. -B svenmeier wrote: Could it be that you slipped our CheckGroup/Check components? Cannot get simpler than that. Sven GS-ikiini wrote: this part of the concept i understand...what i don't get is a little deeper...from

[Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread GS-ikiini
Hey all, I have a list view that contains a list of objects. these objects are selectable via checkboxes. My problem is that i don't know how to know or tell my code what objects have been selected. here is what i want to do. i ahve a list of objects lets call them pens. So i have a list of 5

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread GS-ikiini
igor.vaynberg wrote: please search mail archives before posting http://www.nabble.com/Design-questions%3A-Use-of-controllers-and-wicket-models-tf3373279.html#a9510784 -igor On 3/26/07, GS-ikiini [EMAIL PROTECTED] wrote: Hey all, I have a list view that contains a list of objects

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread GS-ikiini
. there is explanation there, try to read that too, not just look at the code. -igor On 3/26/07, GS-ikiini [EMAIL PROTECTED] wrote: I don't quite grasp the concepts used in that tread. from what i understand i should create a separate model that takes the model that has to get set

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread GS-ikiini
Great so i do understand somewhat. I am reading the wiki on models now and its becoming more clear. I thought i knoew but apparently i didn't know the lowlevel workings. If i get stuck i will be seeking more help. Thanks a lot -B igor.vaynberg wrote: On 3/26/07, GS-ikiini [EMAIL PROTECTED

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-20 Thread GS-ikiini
- examples.html -Ryan On Mar 16, 2007, at 1:55 PM, GS-ikiini wrote: hey, is there way to get the select one option to remain in the selection list after the user has made a selection? -B igor.vaynberg wrote: the id of dropdowns has nothing to do with their model. i am

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-16 Thread GS-ikiini
c) { return getlogs(user,logtype); } } } and thats all she wrote. makes sense? -igor On 3/15/07, GS-ikiini [EMAIL PROTECTED] wrote: The popilateItem as i know it is used within the dataview. That part i understand. let me re-explain myself. on my webpage

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-16 Thread GS-ikiini
properties and uses them to filter the result just like the code shows. the models are just glue between formcomponent and properties on some java bean - which in this case happens to be the page. -igor On 3/16/07, GS-ikiini [EMAIL PROTECTED] wrote: let me make sure i understand

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-16 Thread GS-ikiini
dataprovider picks up those two properties and uses them to filter the result just like the code shows. the models are just glue between formcomponent and properties on some java bean - which in this case happens to be the page. -igor On 3/16/07, GS-ikiini [EMAIL PROTECTED] wrote

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-16 Thread GS-ikiini
/07, GS-ikiini [EMAIL PROTECTED] wrote: let me make sure i understand.. add(new DropDownChoice(users,new PropertyModel(this, user),)); the Property model returns the User model. and the id of this dropdownchoice is used to access that model? so get or setUsers on the User user

[Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread GS-ikiini
hey all, I am attempting to do some form processing for a filter that i am building. I user 4 dropDownChoice in a form with a submit button. I want to overide the onSubmit method, which i did. however when i try to get the values selected from the drop down in the method for prodessing, they

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread GS-ikiini
ok here is another question...how do i by pass the validating and form processing and go straight to the onSubmit method of my form(not the button)? -B GS-ikiini wrote: hey all, I am attempting to do some form processing for a filter that i am building. I user 4 dropDownChoice

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread GS-ikiini
examples, e.g. http://www.wicket-library.com/wicket-examples/compref?wicket:bookmarkablePage=:wicket.examples.compref.DropDownChoicePage /Gwyn On 15/03/07, GS-ikiini [EMAIL PROTECTED] wrote: ok here is another question...how do i by pass the validating and form processing and go straight

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread GS-ikiini
/compref?wicket:bookmarkablePage=:wicket.examples.compref.DropDownChoicePage /Gwyn On 15/03/07, GS-ikiini [EMAIL PROTECTED] wrote: ok here is another question...how do i by pass the validating and form processing and go straight to the onSubmit method of my form(not the button)? -B GS

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread GS-ikiini
that is in the compoundpropertymodel into a property with the same name as the id of the dropdownchoice. there is a great page on models on our wiki -igor On 3/15/07, GS-ikiini [EMAIL PROTECTED] wrote: also how do i get the user selection from a drop down that uses the dropDownchoice(String id,list choinces

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread GS-ikiini
is simple: populateitem(item item) { final imodel namemodel=new propertymodel(item.getmodel(), name); add(new dropdownchoice(names,namemodel,nameslist)); } -igor On 3/15/07, GS-ikiini [EMAIL PROTECTED] wrote: i seei have a fair understaning of models this is what i am doing

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread GS-ikiini
)); } -igor On 3/15/07, GS-ikiini [EMAIL PROTECTED] wrote: i seei have a fair understaning of models this is what i am doing: I have a dataprovider that services a dataview. this data provider is the the model that i ultimately need to update. however the properties within

[Wicket-user] spring bean injection and interfaces(IDataProvider)

2007-03-12 Thread GS-ikiini
Hey all, I am trying to use a spring bean in my implementaion of IDataProvider. but its just not working. i get a nullpointerexception. It however works fine in my page classes. Can someone please help me with this problem. I would really appreciate some help here. This is sending me mad at the

Re: [Wicket-user] spring bean injection and interfaces(IDataProvider)

2007-03-12 Thread GS-ikiini
(provided you have setup the proper componentinstantiationlistener), you need to inject your own stuff with InjectorHolder.getInjector().inject(obj) best, jim On 3/12/07, GS-ikiini [EMAIL PROTECTED] wrote: Hey all, I am trying to use a spring bean in my implementaion of IDataProvider

Re: [Wicket-user] spring bean injection and interfaces(IDataProvider)

2007-03-12 Thread GS-ikiini
().inject(obj) best, jim On 3/12/07, GS-ikiini [EMAIL PROTECTED] wrote: Hey all, I am trying to use a spring bean in my implementaion of IDataProvider. but its just not working. i get a nullpointerexception. It however works fine in my page classes. Can someone please help me

Re: [Wicket-user] spring bean injection and interfaces(IDataProvider)

2007-03-12 Thread GS-ikiini
i got it. Thank you. -B James McLaughlin-3 wrote: While wicket automatically injects all components (provided you have setup the proper componentinstantiationlistener), you need to inject your own stuff with InjectorHolder.getInjector().inject(obj) best, jim On 3/12/07, GS-ikiini