Did you use a CompoundPropertyModel on the page? If so, that would explain why it was looking for a setter with the name of the DataView.

Linda.

Douglas Ferguson wrote:
I just started using some code that was retired for awhile, so I'm not sure 
what all changed around it and the behavior I'm seeing is really strange.

I have a DataView on my page and wicket is complain that my model object 
doesn't have a getter for the id of the DataView.
I.E. DataView is called "alternateWebsites" and wicket is complaining that the 
model object doesn't have getAleternateWebsites.

I'm confused as to what change would make a DataView itself call set/get 
Model???
I'm also confused how the compound property model is even getting attached to 
the DataView.

I was able to fix this with a setModel(new Model()) on the dataView. But that 
seems awefully hackish.

Douglas

------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.278 / Virus Database: 270.11.10/1994 - Release Date: 03/10/09 19:51:00



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

Reply via email to