According to
The PropertyModel javadoc refers to the PropertyResolver javadoc which says
"This can can then be a bean property with get and set method. Or if a
map is given as an object it will be lookup with the property as a key
when there is not get method for that property."
-- 
http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/util/lang/PropertyResolver.html

given that it more or less works except when I'm trying to change the
value, it's not the #1 suspect right now..


On Fri, May 23, 2008 at 10:33 AM, Thomas Mäder <[EMAIL PROTECTED]> wrote:
> I would think so, too.
> I was looking more closely at your code, and this seems fishy:
>
> new PropertyModel(mTargetModel.getManufacturersAsMap(), manufacturerName))
>
> as I understand it, PropertyModel doesn't work with Maps, does it? It works
> on Java Beans.
>
> Thomas
>
>
> On Fri, May 23, 2008 at 3:16 PM, Kirk Israel <[EMAIL PROTECTED]> wrote:
>
>> the left/right moves ARE being done in the buttons onSubmit, I was
>> hoping  calling .setDefaultFormProcessing(false); when adding the
>> button to the page would have prevented that?
>>
>> On Fri, May 23, 2008 at 4:50 AM, Thomas Mäder <[EMAIL PROTECTED]>
>> wrote:
>> > Do the move left/move right controls do a submit? If so you might also be
>> > resubmitting the (old) check box value.
>> >
>> > Thomas
>> >
>> >>
>> >>
>> >> We have a list view that iterates over manufacturers, and each
>> >> manufacturer has a "pallet control" of devices
>> >> (two list boxes w/ move selection to right list, move selection to
>> >> left list buttons between) along with a "all for manufacturer"
>> >> checkbox
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to