Well, I've just quit the validation on strtuts (based on
commons-validator). So I've decided to use dumb manual validation.

Well problem is, I still can't get one of my forms to validate!!!!!

Here“ my struts-config:

<form-beans>
                <form-bean name="cadastrarVotanteForm"
type="com.synos.pbh.opdigital.view.form.votacao.CadastrarVotanteForm"></form-bean>
                <form-bean name="cadastrarVisitanteForm"
type="com.synos.pbh.opdigital.view.form.mailing.VisitanteForm"></form-bean>
   </form-beans>

<action path="/cadastrarVotante" scope="request" validate="true"
type="com.synos.pbh.opdigital.view.action.votacao.CadastrarVotante"
name="cadastrarVotanteForm" input="/cadastroVotante.do">
                        <forward name="success" 
path="def.sucessoInclusao"></forward>
                        <forward name="failure" 
path="/cadastroVotante.do"></forward>
                 </action>
<action path="/confirmarCadastroVisitante" scope="request"
validate="true"
type="com.synos.pbh.opdigital.view.action.mailing.ConfirmarCadastroVisitanteAction"
name="cadastrarVisitanteForm" input="/cadastroVisitante.do">
                        <forward name="success" 
path="def.confirmarCadastroVisitante"></forward>
                 </action>

What's really pissing me off is that the first formbean/action mapping
is just ignoring the validate phase, but the second don't. Can someone
explain me this? Both form extend ActionForm and both actions extend a
common action.

How come this be possible? Please, I tried everthing I know and
nothing seems to make it work, I must be missing a spot somewhere,
just can't find it.

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to