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
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
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
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/
---
Wonderful! Thanks.
-Ramnivas
Dirk Markert wrote:
Ramnivas,
Igor fixed it already. Check out latest svn version.
Dirk
2006/3/21, Ramnivas Laddad <[EMAIL PROTECTED]>:
Hi,
ListMultipleChoice overrides the size attribute specified in HTML
markup. I think that attribut
Ramnivas,
Igor fixed it already. Check out latest svn version.
Dirk
2006/3/21, Ramnivas Laddad <[EMAIL PROTECTED]>:
Hi,ListMultipleChoice overrides the size attribute specified in HTMLmarkup. I think that attribute, if specified in HTML, should be left
untouched.In my case, the page needs a fe
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
ListMultipl
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
ListMultipl
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 cou
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
ListMultipl
really nice framework!
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 exampl
:
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
egy since I haven't 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 up
default render strategy since I haven’t 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 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 wicket-examples/builtin-ajax-I
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
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: java.lang.ClassCastE
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
getti
I’m using snapshot 20060227-0200 a ListMultipleChoice
with AjaxFormComponentUpdatingBehavior. The ListMultipleChoice’s model is
getting set to only the first selected item in the list during the AJAX update. I’m
guessing the problem might be in wicket-ajax.js:
function wicketGetValue(c
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 cor
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
corresponding
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 know
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 comparato
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 th
e.net
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 an
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 to the other
side. Combined with ajax, that
I’m 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 sub
27 matches
Mail list logo