On Sat, 22 Mar 2008, greeklinux wrote:
> But I get a runtime exception. Because the expression "key" cannot be
> applied on the class that is backing
> my formModel. I thought that the "key" is applied on the List SelectChoise
> class.
> 
> Can someone give me a hint?

A more complete or more reproducible source code bit and
stack trace might be helpful, but just judging from your
post I would try replacing the CompoundPropertyModel with
more explicit models. For me, the CompoundPropertyModel
magic turns black in all but the simplest of cases. And
if you end up in a situation that you can rewrite cleaner
with CPM, it tends to be apparent as well.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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

Reply via email to