Using Context to report errors

2006-05-08 Thread jelmstrom
Hi, I'm trying to use the FacesContext to report exceptions thrown by code accessed by BackingBeans, but I cannot access the view component to alter the state of the controls. This is simply because it has not been created yet, because as far as the JSF framework knows, this is a new request.

Re: Validator parameters

2006-04-06 Thread jelmstrom
I want to avoid subclassing (thats the point of using properties) since I want to make the validator a standard component used in several projects, without allowing anyone to modify it. The job it doesis identical in every scenario, the only change is the set of rules that it should check against

Validator parameters

2006-04-06 Thread jelmstrom
Hi, I have defined a validator in my faces-config.xml that contains a parameter I'd like to set to enable different validators to apply different logic. Something like this, BasicValidator com.stuff.web.ValidatorImpl validationMode java.lang.String basic HiTecValida