[Wicket-user] ListMultipleChoice selected List

2006-12-19 Thread Scott Lusebrink
could someone provide me with code to retrieve the selected options from a ListMultipleSelect. I tried looking at isSelected which is protected and not public for some reason and could not figure out what parameters it wanted.for the future public List ListMultipleChoice.getSelected(); would

Re: [Wicket-user] ListMultipleChoice selected List

2006-12-19 Thread Igor Vaynberg
the selected options will be added to the model object (which is a collection) after the submit. -igor On 12/19/06, Scott Lusebrink [EMAIL PROTECTED] wrote: could someone provide me with code to retrieve the selected options from a ListMultipleSelect. I tried looking at isSelected which is

[Wicket-user] ListMultipleChoice render size = 0

2006-08-29 Thread ali
in library , page EditBook , ListMultipleChoice for wrtingStyles render attribute size=0 in IE , it isnt a problem, but in opera, it height is only a row -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Re: [Wicket-user] ListMultipleChoice render size = 0

2006-08-29 Thread Eelco Hillenius
Thanks, that was a bug. It's fixed now. Eelco On 8/28/06, ali [EMAIL PROTECTED] wrote: in library , page EditBook , ListMultipleChoice for wrtingStyles render attribute size=0 in IE , it isnt a problem, but in opera, it height is only a row -- Using Opera's revolutionary e-mail client:

[Wicket-user] ListMultipleChoice should not change the size attribute

2006-03-20 Thread Ramnivas Laddad
Hi, ListMultipleChoice overrides the size attribute specified in HTML markup. I think that attribute, if specified in HTML, should be left untouched. In my case, the page needs a few lists to have the same sizes to get a good layout. I could have fixed this problem by subclassing the

Re: [Wicket-user] ListMultipleChoice should not change the size attribute

2006-03-20 Thread Igor Vaynberg
done-IgorOn 3/20/06, Ramnivas Laddad [EMAIL PROTECTED] wrote: Hi,ListMultipleChoice overrides the size attribute specified in HTMLmarkup. I think that attribute, if specified in HTML, should be leftuntouched.In my case, the page needs a few lists to have the same sizes to get a good layout. I

[Wicket-user] ListMultipleChoice should not change the size attribute

2006-03-20 Thread Ramnivas Laddad
Hi, ListMultipleChoice overrides the size attribute specified in HTML markup. I think that attribute, if specified in HTML, should be left untouched. In my case, the page needs a few lists to have the same sizes to get a good layout. I could have fixed this problem by subclassing the

[Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Jerry Smith
I have a ListMultipleChoice with an AJAX onchange handler attached to it in a form. When I first bring up the form, the behavior works fine. I submit the form, which comes back to the same page. Now when I select something in the ListMultipleChoice it's throwing: Caused by:

Re: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Igor Vaynberg
thats weird, why is an ajax request causing a redirect? are you setting the redirect manually somewhere? what render strategy do you use?-IgorOn 3/9/06, Jerry Smith [EMAIL PROTECTED] wrote: I have a ListMultipleChoice with an AJAX onchange handler attached to itin a form.When I first bring up the

Re: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Igor Vaynberg
also you cannot update a component attached to a select element directly. this is because browsers dont allow select.innertHTML to work. so you will need to wrap your component with a webmarkup container and update that via ajax instead. there is an example of this in

RE: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Jerry Smith
the default render strategy since I havent set that anywhere. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: Thursday, March 09, 2006 2:05 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1 also you

Re: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Igor Vaynberg
set that anywhere. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Igor Vaynberg Sent: Thursday, March 09, 2006 2:05 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1 also you cannot update a component

RE: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Jerry Smith
To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1 wicket examples/ajax has a choice example that does the same thing and has a submit button. i couldnt reproduce the problem. can you reproduce it in a quickstart project so that i can take a look

Re: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Igor Vaynberg
! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Igor Vaynberg Sent: Thursday, March 09, 2006 2:23 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1 wicket examples/ajax has a choice example that does

[Wicket-user] ListMultipleChoice and AJAX problem

2006-03-02 Thread Jerry Smith
Im using snapshot 20060227-0200 a ListMultipleChoice with AjaxFormComponentUpdatingBehavior. The ListMultipleChoices model is getting set to only the first selected item in the list during the AJAX update. Im guessing the problem might be in wicket-ajax.js: function wicketGetValue(comp)

Re: [Wicket-user] ListMultipleChoice and AJAX problem

2006-03-02 Thread Igor Vaynberg
i just checked in a fix to head. here is a patch if you want it sooner, let me know if that helpsOn 3/2/06, Jerry Smith [EMAIL PROTECTED] wrote: I'm using snapshot 20060227-0200 a ListMultipleChoice with AjaxFormComponentUpdatingBehavior. The ListMultipleChoice's model is

Re: [Wicket-user] ListMultipleChoice

2006-02-11 Thread Johan Compagner
i don't know what goes wrong. In the forminput example we have also a ListMultipleChoice and that one is working fineCan you just look what goes wrong just set a breakpoint in ListMultipleChoice.updateModel()and see why the Collection selectedValues = (Collection)getModelObject(); is not filled

[Wicket-user] ListMultipleChoice

2006-02-10 Thread Jonathan Cone
Description: I'm using a ListMultipleChoice component to populate a List model object. When the user selects multiple items in the list, I want the list model object to be populated with those items. Problem: The ListMultipleChoice renders correctly with all the proper 'choices' and

Re: [Wicket-user] ListMultipleChoice doesn't call modelChanging()

2005-10-26 Thread Johan Compagner
if there was no collection to begin with the setModelObject() wil work. It has to act on it directly i don't see another way to do it. And i can't just set a new Collection i think because that could be a hibernate collection that is looking at its contents to do something with it. And i don't

[Wicket-user] ListMultipleChoice doesn't call modelChanging()

2005-10-25 Thread Nathan Hamblen
In 1.1 rc2, ListMultipleChoice.updateModel() acts a little funny. It gets a reference to a Collection in line 282, then operates on it directly. First it clears it, then it adds things back. At line 316 it calls setModelObject(selectedValues), but that doesn't do anything because the

[Wicket-user] ListMultipleChoice and Selection Changed Notifications

2005-10-14 Thread Brian Sam-Bodden
Hi, I was wondering is there any way to get a client side notification when the selected items in a ListMultipleChoice component are changed. I have a page with 3 ListMultipleChoice components and I want to narrow the choices available in the 2nd List based on the choices in the 1st List and

RE: [Wicket-user] ListMultipleChoice

2005-06-17 Thread Kruger Jan Petter
Subject: Re: [Wicket-user] ListMultipleChoice Hmmm, interesting... Wicket components are by default created with the idea that the model is managed at the server side. The best solution is probably to combine this with roundtrips; so each time you push a button, it would remove from one and add

[Wicket-user] ListMultipleChoice

2005-06-16 Thread Kruger Jan Petter
Im trying to implement a page with two selection lists. The purpose is to have a control where one can move selected choices between the two lists. With a little _javascript_ the movement of items between the lists is easy, but the problem arises when the form embedding the lists is