PropertyModel question

2009-12-15 Thread Kogel, Jonck-van-der
Hi, I ran into some strange behavior with PropertyModels vs. regular models. I set up a very simple example that demonstrates what works on the one hand and what I would expect to work as well but does not. What I'm doing is very basic: I'm population a list and when a user clicks on an item in

Re: PropertyModel question

2009-12-15 Thread Per Newgro
Hi, final Label testLabel = new Label(testLabel, new PropertyModelString(this, prodNo)); and in same class public String getProdNo() { return selected.getProdNo(); } or alternate final Label testLabel = new Label(testLabel, new PropertyModelString(this, selected.prodNo)); in same class