Re: How to have logical 'OR' between two validator rules ?

2005-07-28 Thread Marc Demlenne
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. > >

Re: How to have logical 'OR' between two validator rules ?

2005-07-27 Thread Marc Demlenne
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

Re: How to have logical 'OR' between two validator rules ?

2005-07-27 Thread Marc Demlenne
_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

How to have logical 'OR' between two validator rules ?

2005-07-26 Thread Marc Demlenne
Thanks very much for any answer. -- Marc Demlenne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

validation Framework validwhen

2005-07-15 Thread Marc Demlenne
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

Validation framework - gobal formset

2005-07-14 Thread Marc Demlenne
" 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

Re: validation client-side. Problem with 2 submit buttons

2005-07-13 Thread Marc Demlenne
le. > > var validate = true > > > > validate > don't validate > > > > > Marc Demlenne <[EMAIL PROTECTED]> > > > > > > > > Marc Demlenne <[EMAIL PROTECTED]> > > 07/13/2005 11:30

Re: validation client-side. Problem with 2 submit buttons

2005-07-13 Thread Marc Demlenne
; -- > 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]

validation client-side. Problem with 2 submit buttons

2005-07-13 Thread Marc Demlenne
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

validation - all locales

2005-07-13 Thread Marc Demlenne
Thanks very much for any help. -- Marc Demlenne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: I18N by pages

2005-07-11 Thread Marc Demlenne
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

Re: I18N by pages

2005-07-11 Thread Marc Demlenne
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]

Re: [OT] Ajax - generic "processStateChange"

2005-06-23 Thread Marc Demlenne
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); }; > } > >

[OT] Ajax - generic "processStateChange"

2005-06-21 Thread Marc Demlenne
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

Re: Waiting window with Struts

2005-05-24 Thread Marc Demlenne
. 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

Waiting window with Struts

2005-05-24 Thread Marc Demlenne
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