Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-11-02 Thread Antonio Fernández - STAR Málaga


Hi again ,


Many thanks Howard, i will continue working on this way, starting with
the analize of the Tapestry JavaScript build-in functions for 
indentifying the

ones that needs to be overwritten.


Greetings4All
Passi



Howard Lewis Ship escribió:

This can be done by monkey patching the Tapestry JavaScript.  You
can have a JS library that overwrites the definitions of some of the
built-in Tapestry functions related to validation.  In this way, you
can prevent the pop up bubbles, or change how the validation messages
are presented to the user.

On Thu, Oct 30, 2008 at 1:36 AM, Antonio Fernández - STAR Málaga
[EMAIL PROTECTED] wrote:
  

Hi again !

Many thanks for you fast asnwer , i tryed your option , but this is not the
behaviour i want.

Now the submit action happens when one or more TextFields are empty,
and with clientValidation=true the submit is not completed.

I want the behaviour of clientValidation=true, but simply hidding the
Validation Messages.




Greetings  Nice Day


Sven Homburg escribió:

have a look in the Form component description (parameter
clientSideValidation)
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html

2008/10/30 Antonio Fernández - STAR Málaga [EMAIL PROTECTED]




Hi All   Good Morning   :-)

Is there a way for hidding the JavaScript Validation Messages on the
Client-Side ?

Greetings
Passi

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











  



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



Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-11-02 Thread Antonio Fernández - STAR Málaga



Finally i´ve found a solution.

I have overwritten only the definition of the following object :

Tapestry.FieldEventManager = Class.create({

..
.

});


By removing all the content from removeDecorations and 
showValidationMessage functions i have
exactly the validation´s behaviour i want ( client-side without layout 
effects )



Greetings  Thanks a lot,
Passi



Antonio Fernández - STAR Málaga escribió:


Hi again ,


Many thanks Howard, i will continue working on this way, starting with
the analize of the Tapestry JavaScript build-in functions for 
indentifying the

ones that needs to be overwritten.


Greetings4All
Passi



Howard Lewis Ship escribió:

This can be done by monkey patching the Tapestry JavaScript.  You
can have a JS library that overwrites the definitions of some of the
built-in Tapestry functions related to validation.  In this way, you
can prevent the pop up bubbles, or change how the validation messages
are presented to the user.

On Thu, Oct 30, 2008 at 1:36 AM, Antonio Fernández - STAR Málaga
[EMAIL PROTECTED] wrote:
 

Hi again !

Many thanks for you fast asnwer , i tryed your option , but this is 
not the

behaviour i want.

Now the submit action happens when one or more TextFields are empty,
and with clientValidation=true the submit is not completed.

I want the behaviour of clientValidation=true, but simply hidding the
Validation Messages.




Greetings  Nice Day


Sven Homburg escribió:

have a look in the Form component description (parameter
clientSideValidation)
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html 



2008/10/30 Antonio Fernández - STAR Málaga 
[EMAIL PROTECTED]





Hi All   Good Morning   :-)

Is there a way for hidding the JavaScript Validation Messages on the
Client-Side ?

Greetings
Passi

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











  



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






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



Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-11-02 Thread kranga
The issue here is that you chose to implement a very specific paradigm (pop 
ups) to display error messages which almost always will be the wrong 
paradigm because every website and design expression will require something 
different. So everyone is going to try to override the basic settings


- Original Message - 
From: Howard Lewis Ship [EMAIL PROTECTED]

To: Tapestry users users@tapestry.apache.org
Sent: Saturday, November 01, 2008 6:47 PM
Subject: Re: [Tapestry 5.0.15] - Hidding client-side validation


This can be done by monkey patching the Tapestry JavaScript.  You
can have a JS library that overwrites the definitions of some of the
built-in Tapestry functions related to validation.  In this way, you
can prevent the pop up bubbles, or change how the validation messages
are presented to the user.

On Thu, Oct 30, 2008 at 1:36 AM, Antonio Fernández - STAR Málaga
[EMAIL PROTECTED] wrote:


Hi again !

Many thanks for you fast asnwer , i tryed your option , but this is not 
the

behaviour i want.

Now the submit action happens when one or more TextFields are empty,
and with clientValidation=true the submit is not completed.

I want the behaviour of clientValidation=true, but simply hidding the
Validation Messages.




Greetings  Nice Day


Sven Homburg escribió:

have a look in the Form component description (parameter
clientSideValidation)
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html

2008/10/30 Antonio Fernández - STAR Málaga 
[EMAIL PROTECTED]





Hi All   Good Morning   :-)

Is there a way for hidding the JavaScript Validation Messages on the
Client-Side ?

Greetings
Passi

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










--
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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


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



Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-11-02 Thread Howard Lewis Ship
Exactly: we have great LF out of the box, and easy way (monkey
patching the JavaScript) to handle the UI however you want.

You say that like its a bad thing.

On Sun, Nov 2, 2008 at 12:24 PM, kranga [EMAIL PROTECTED] wrote:
 The issue here is that you chose to implement a very specific paradigm (pop
 ups) to display error messages which almost always will be the wrong
 paradigm because every website and design expression will require something
 different. So everyone is going to try to override the basic settings

 - Original Message - From: Howard Lewis Ship [EMAIL PROTECTED]
 To: Tapestry users users@tapestry.apache.org
 Sent: Saturday, November 01, 2008 6:47 PM
 Subject: Re: [Tapestry 5.0.15] - Hidding client-side validation


 This can be done by monkey patching the Tapestry JavaScript.  You
 can have a JS library that overwrites the definitions of some of the
 built-in Tapestry functions related to validation.  In this way, you
 can prevent the pop up bubbles, or change how the validation messages
 are presented to the user.

 On Thu, Oct 30, 2008 at 1:36 AM, Antonio Fernández - STAR Málaga
 [EMAIL PROTECTED] wrote:

 Hi again !

 Many thanks for you fast asnwer , i tryed your option , but this is not
 the
 behaviour i want.

 Now the submit action happens when one or more TextFields are empty,
 and with clientValidation=true the submit is not completed.

 I want the behaviour of clientValidation=true, but simply hidding the
 Validation Messages.




 Greetings  Nice Day


 Sven Homburg escribió:

 have a look in the Form component description (parameter
 clientSideValidation)

 http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html

 2008/10/30 Antonio Fernández - STAR Málaga
 [EMAIL PROTECTED]




 Hi All   Good Morning   :-)

 Is there a way for hidding the JavaScript Validation Messages on the
 Client-Side ?

 Greetings
 Passi

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









 --
 Howard M. Lewis Ship

 Creator Apache Tapestry and Apache HiveMind

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


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





-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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



Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-11-01 Thread Howard Lewis Ship
This can be done by monkey patching the Tapestry JavaScript.  You
can have a JS library that overwrites the definitions of some of the
built-in Tapestry functions related to validation.  In this way, you
can prevent the pop up bubbles, or change how the validation messages
are presented to the user.

On Thu, Oct 30, 2008 at 1:36 AM, Antonio Fernández - STAR Málaga
[EMAIL PROTECTED] wrote:

 Hi again !

 Many thanks for you fast asnwer , i tryed your option , but this is not the
 behaviour i want.

 Now the submit action happens when one or more TextFields are empty,
 and with clientValidation=true the submit is not completed.

 I want the behaviour of clientValidation=true, but simply hidding the
 Validation Messages.




 Greetings  Nice Day


 Sven Homburg escribió:

 have a look in the Form component description (parameter
 clientSideValidation)
 http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html

 2008/10/30 Antonio Fernández - STAR Málaga [EMAIL PROTECTED]




 Hi All   Good Morning   :-)

 Is there a way for hidding the JavaScript Validation Messages on the
 Client-Side ?

 Greetings
 Passi

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









-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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



Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-10-30 Thread Sven Homburg
have a look in the Form component description (parameter
clientSideValidation)
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html

2008/10/30 Antonio Fernández - STAR Málaga [EMAIL PROTECTED]


 Hi All   Good Morning   :-)

 Is there a way for hidding the JavaScript Validation Messages on the
 Client-Side ?

 Greetings
 Passi

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




-- 
with regards
Sven Homburg
http://www.chenillekit.org
http://tapestry5-components.googlecode.com


Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-10-30 Thread Antonio Fernández - STAR Málaga





Hi again ! 

Many thanks for you fast asnwer , i tryed your option , but this is not
the behaviour i want.

Now the submit action happens when one or more TextFields are empty,
and with clientValidation=true the submit is not completed. 

I want the behaviour of clientValidation=true, but simply hidding the
Validation Messages. 




Greetings  Nice Day 


Sven Homburg escribi:

  have a look in the "Form" component description (parameter
"clientSideValidation")
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html

2008/10/30 Antonio Fernndez - STAR Mlaga [EMAIL PROTECTED]
  
  
  
  
Hi All   Good Morning   :-)

Is there a way for hidding the _javascript_ Validation Messages on the
Client-Side ?

Greetings
Passi

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