Hi

Im trying to use a component model and som labels to display contents of the 
model.. It does not work why?


See pastebin :

http://pastebin.ca/317148


or here for code:

package wicketDemo;

import wicket.markup.html.WebPage;
import wicket.markup.html.basic.Label;
import wicket.markup.html.basic.MultiLineLabel;
import wicket.model.CompoundPropertyModel;

public class ThankYouPage extends WebPage {

        public ThankYouPage(FormModel filledForm) {

                CompoundPropertyModel model = new 
CompoundPropertyModel(filledForm);
                
                add(new Label("carModel", model));
                add(new Label("carYear", model));
                add(new Label("carMillage", model));
                add(new MultiLineLabel("carFailureText", model));

        }

}

regards Nino

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to