Re: commandbutton action not being invoked if form contains programatically-defined selectitems

2009-02-11 Thread Cedric Hurst
looking for validation errors by including an h:messages tag somewhere in your form. Volker Weber-5 wrote: Hi Cedric, 2008/8/24 Cedric Hurst cedric.hu...@gmail.com: I have an h:form which contains two h:selectOneMenu elements. These elements are being populated programatically

commandbutton action not being invoked if form contains programatically-defined selectitems

2008-08-24 Thread Cedric Hurst
I have an h:form which contains two h:selectOneMenu elements. These elements are being populated programatically with a f:selectItems tied to a JSF managed bean which returns ListSelectItem. Unfortunately, when I attempt to click the h:commandButton to invoke an action, the action does not get

Dependency Injection in Validators

2008-03-31 Thread Cedric Hurst
Hello all... does anyone know if it's possible to use dependency injection inside JSF validators? My code is as follows: package com.ibm.wasce.customerLocator.web.jsf; import javax.ejb.EJB; import javax.faces.validator.Validator; import javax.faces.validator.ValidatorException; import

Re: Dependency Injection in Validators

2008-03-31 Thread Cedric Hurst
be to integrate Spring + JSF. Yet another way would be to manage business layer with Spring and then you an instance of a bean which implements ApplicationContextAware to get you any spring bean reference to any other bean not managed by Spring. ~madhav On Mon, Mar 31, 2008 at 1:42 PM, Cedric Hurst