Re: Skip the Validation Phase of JSF with ExtVal

2012-01-23 Thread Gerhard Petracek
hi igor, i attached a patch [1] for such a new feature. - you can remove the add-on, apply the patch (it applies on [2]), build extval (with mvn clean install), use the snapshot-version in your project and use @BeanValidation(useGroups = SkipValidation.class) at the action-method which should

Re: Skip the Validation Phase of JSF with ExtVal

2012-01-21 Thread Mark Struberg
Hi! Something I did sometimes is to use an explicit request parameter combined with f:validateBean : f:validateBean disabled=#{!empty param['check']}   your stuff and the button looks like the following: h:commandButton id=personAddBtn action=#{searchForm.startSearch()}

Re: Skip the Validation Phase of JSF with ExtVal

2012-01-21 Thread Gerhard Petracek
hi mark, that's basically right for std. jsf2 (and it's more like a workaround). however, extval doesn't support the usage of the tag because it isn't type-safe. (currently just the groups get transferred due to a different reason.) instead of providing support for this workaround, we will

Re: Skip the Validation Phase of JSF with ExtVal

2012-01-20 Thread Igor Guimarães
I make this changes and not work: view: Put this button: h:commandButton id=bypass value=Bypass All actionListener=#{plcbasemb.create}/ ManagedBean /** * @since jCompany 5.0 Limpa Entidade da conversação para permitir que uma nova seja criada no fluxo que se segue. */

Re: Skip the Validation Phase of JSF with ExtVal

2012-01-20 Thread Gerhard Petracek
hi igor, you need version 2.x of myfaces-extval-core and myfaces-extval-bean-validation and the add-on. if it doesn't work, i can have a look at it or rudy (he implemented it based on my add-on for the myfaces-extval-property-validation module). regards, gerhard http://www.irian.at Your

Skip the Validation Phase of JSF with ExtVal

2012-01-19 Thread Igor Guimarães
Hello, Extval provide a way to skip of Validation Phase of processor? A have a button New, that puting a new itens on my list or create a new bean, but the property imediate jumping other phasses too (Update Model Values and Invoke Application), and its not applicable for me. Anybody has a

Re: Skip the Validation Phase of JSF with ExtVal

2012-01-19 Thread Rudy De Busscher
Hello Igor, There exists an add-on that can do that , see (1). Don't know how well it works with Bean validation, probably not due to the missing @SkipValidationSupport on bean validation annotations. Why is immediate=true not an option? The actionListener on the button is still executed

Re: Skip the Validation Phase of JSF with ExtVal

2012-01-19 Thread Gerhard Petracek
hi, bean-validation only works with groups - you have to use a different add-on. you can see an example at [1]. regards, gerhard [1] http://goo.gl/dM120 http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for

Re: Skip the Validation Phase of JSF with ExtVal

2012-01-19 Thread Igor Guimarães
Gerhard, I have a questions, I need put the @BeanValidation(useGroups= at my BackingBean and entity, or only BackingBean it's necessary (my case, variant validation)? When I click on button, what the extension doing for skip of the validation phase? Thanks. Igor Guimarães. On Thu, Jan 19,

Re: Skip the Validation Phase of JSF with ExtVal

2012-01-19 Thread Gerhard Petracek
hi igor, the add-on just allows to use the extval annotation also with action(/-listener) methods. it resets the current groups and sets 'Bypass' as the current group. since 'Bypass' doesn't match a group you are using for constraints, no constraint gets validated. regards, gerhard