se that may help you--look at the test example just
> below it:
>
> http://struts.apache.org/userGuide/dev_validator.html#validwhen
>
> Glen
>
>
> Marc Demlenne escribió:
> > Yes, sorry I made a mistake while explaining. I'll try to do it better now.
> >
m
still investigating ...
On 27/07/05, Glen Mazza <[EMAIL PROTECTED]> wrote:
> Marc Demlenne wrote:
>
> > Hi and thanks for the answer,
> >
> > In fact my problem could be explained the following way :
> >
> > Having two fields A and B, I need to validate A if
_Guide.pdf can be of help for
> you--I am unsure.
>
> Glen
>
>
> Marc Demlenne wrote:
> > Hi,
> >
> > I need to use a text box that must correspond to a regular expression,
> > so it can be validated by the "mask" validator.
> >
> > H
Thanks very much for any answer.
--
Marc Demlenne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Then either the field has to be
validated by MASK, or it has to be the same as the hidden one.
How can you define validwhen in this case ? validwhen (field ==
hidden) will be ok, but mask validation will be false, so form will be
refused.
any workaround ?
Thanks for any help !
--
Marc Dem
" the problem,
of course, but I don't want to have redundancy in this file while it's
useless.
Shouldn't it be possible to define only general case, and to fallback
on it when specific case isn't define ? Is there a special issue to
resolve this ?
Thanks in advance for
le.
>
> var validate = true
>
>
>
> validate
> don't validate
>
>
>
>
> Marc Demlenne <[EMAIL PROTECTED]>
>
>
>
>
>
>
>
> Marc Demlenne <[EMAIL PROTECTED]>
>
> 07/13/2005 11:30
; --
> Rafael Taboada
> Software Engineer
>
> Cell : +511-97753290
>
> "No creo en el destino pues no me gusta tener la idea de controlar mi vida"
>
>
--
Marc Demlenne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
name, one of them defined
as validate=true, the other as validate=false.
Is there a client-side equivalent ?
Thanks a lot for any help.
--
Marc Demlenne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Thanks very much for any help.
--
Marc Demlenne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just a small mistake while copying my code here ... I've swapped to
things. Sorry
It is :
On 11/07/05, Marc Demlenne <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Maybe another idea if I understand well what you want.
> So you
ribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Marc Demlenne
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
eturns a function, but if it returns (for
> example) an int, there are problems.
>
> Use an anonymous JavaScript function for your event handler:
>
> function retrieveURL(name, spanID) {
> req.onreadystatechange = function() { processStateChange(spanID); };
> }
>
>
panID) ;
...
}
function processStateChange (spanID) {
...
document.getElementById("spanID").innerHTML = req.responseText;
...
}
But this won't work. What would be the correct way to implement this ?
Th
.
The only reason i want to avoid using explicite function call is to be
more general and lcear and complete. My page contains more links than
just a submit, and a general solution would be clearer...
Nevertheless, your solution is applicable and helpfull. Thanks !
--
Marc Demlenne
GPG : 768
iately when the ActionClass is called, and
hided only when the result page is fully displayed. This is very easy
when it is the displaying of the page which is slow (when the logic is
inside JSP), but doesn't seem so easy with struts, where it's the
action that can take time.
Can anyone hel
16 matches
Mail list logo