Hi 2008/6/29 akoo <[EMAIL PROTECTED]>: > public void prepare() throws Exception { > if(productId == 0) > { > product = new Product(); > } > else > { > product = ProductManager.findProduct(productId); > } > }
You should use prepare() to prepopulate lists / comboboxs/ etc not to create your domain objects. Regards -- Lukasz http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]