RE: [T5] Marking fields in error

2007-08-22 Thread Kolesnikov, Alexander GNI
Thanks, Uli, will try this!

-Original Message-
From: Ulrich Stärk [mailto:[EMAIL PROTECTED] 
Sent: 22 August 2007 12:36
To: Tapestry users
Subject: RE: [T5] Marking fields in error


Right now it seems that the path for the marker image is hardcoded. But you 
could try to create a file org/apache/tapestry/field-error-marker.png
in your classpath and store your own marker there. This should override the 
default marker. This is similar to 
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner.

HTH,

Uli

On Mi, 22.08.2007, 12:42, Kolesnikov, Alexander  GNI sagte:
> Okay, so I am taking this back :) I was looking at the screenshots in 
> the User Guide. But in this case, do I have an opportunity to override 
> the existing marker?
>
> Thanks,
>
> Alexander
>
> -Original Message-
> From: Nick Westgate [mailto:[EMAIL PROTECTED]
> Sent: 22 August 2007 11:37
> To: Tapestry users
> Subject: Re: [T5] Marking fields in error
>
>
> T5 _does_ mark a field with an error marker. "field-error-marker.png"
>
> Cheers,
> Nick.
>
>
> Kolesnikov, Alexander GNI wrote:
>> I've got a friend who is color blind. I've shown to him the way how 
>> the fields in error are marked in T5 - just making everything red, 
>> without using any error markers - and this doesn't look convincing to 
>> him.
>>
>> So I suggest T5 developers adding some kind of error marker - two red 
>> asterisks or an icon - on the right side of a field in error. That 
>> would be helpful for many users.
>>
>> Thanks,
>>
>> Alexander
>>
>> -
>> -
>> 
>> CONFIDENTIALITY NOTICE: If you have received this email in error,
> please immediately notify the sender by e-mail at the address shown. 
> This email transmission may contain confidential information.  This 
> information is intended only for the use of the individual(s) or 
> entity to whom it is intended even if addressed incorrectly.  Please 
> delete it from your files if you are not the intended recipient.  
> Thank you for your compliance.  Copyright 2007 CIGNA
>>
> ==
> ==>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> 
> CONFIDENTIALITY NOTICE: If you have received this email in error, please
> immediately notify the sender by e-mail at the address shown.  This email
> transmission may contain confidential information.  This information is
> intended only for the use of the individual(s) or entity to whom it is
> intended even if addressed incorrectly.  Please delete it from your files
> if you are not the intended recipient.  Thank you for your compliance.
> Copyright 2007 CIGNA
> ===-
> 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]



--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  This email 
transmission may contain confidential information.  This information is 
intended only for the use of the individual(s) or entity to whom it is intended 
even if addressed incorrectly.  Please delete it from your files if you are not 
the intended recipient.  Thank you for your compliance.  Copyright 2007 CIGNA
==


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



RE: [T5] Marking fields in error

2007-08-22 Thread Kolesnikov, Alexander GNI
Yeah, I know about styles, but not sure how to override an asset that
comes with a component. If it was a named asset, like in T4, I would
probably know what to do, but T5 uses a path...

I am looking for a simple solution that could go into the book ;)

Cheers,

Alex  

-Original Message-
From: Nick Westgate [mailto:[EMAIL PROTECTED] 
Sent: 22 August 2007 12:26
To: Tapestry users
Subject: Re: [T5] Marking fields in error


I'm sure, you can, though I haven't tried this yet.

You could try just overriding that asset in your project.
For colours you can override styles in your own CSS files.

If you want more substantial changes, look into overriding
the DefaultValidationDecorator. Search the source for:
DefaultValidationDelegate

Cheers,
Nick.


Kolesnikov, Alexander GNI wrote:
> Okay, so I am taking this back :) I was looking at the screenshots in 
> the User Guide. But in this case, do I have an opportunity to override

> the existing marker?
> 
> Thanks,
> 
> Alexander
> 
> -Original Message-
> From: Nick Westgate [mailto:[EMAIL PROTECTED]
> Sent: 22 August 2007 11:37
> To: Tapestry users
> Subject: Re: [T5] Marking fields in error
> 
> 
> T5 _does_ mark a field with an error marker. "field-error-marker.png"
> 
> Cheers,
> Nick.
> 
> 
> Kolesnikov, Alexander GNI wrote:
>> I've got a friend who is color blind. I've shown to him the way how
>> the fields in error are marked in T5 - just making everything red, 
>> without using any error markers - and this doesn't look convincing to

>> him.
>>
>> So I suggest T5 developers adding some kind of error marker - two red
>> asterisks or an icon - on the right side of a field in error. That 
>> would be helpful for many users.
>>
>> Thanks,
>>
>> Alexander
>>
>> -
>> -
>> 
>> CONFIDENTIALITY NOTICE: If you have received this email in error,
> please immediately notify the sender by e-mail at the address shown. 
> This email transmission may contain confidential information.  This 
> information is intended only for the use of the individual(s) or 
> entity to whom it is intended even if addressed incorrectly.  Please 
> delete it from your files if you are not the intended recipient.  
> Thank you for your compliance.  Copyright 2007 CIGNA 
> ==
> ==
> ==
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> --
> 
> CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown.
This email transmission may contain confidential information.  This
information is intended only for the use of the individual(s) or entity
to whom it is intended even if addressed incorrectly.  Please delete it
from your files if you are not the intended recipient.  Thank you for
your compliance.  Copyright 2007 CIGNA
>

==
> 
> 
> -
> 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]



--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  This email 
transmission may contain confidential information.  This information is 
intended only for the use of the individual(s) or entity to whom it is intended 
even if addressed incorrectly.  Please delete it from your files if you are not 
the intended recipient.  Thank you for your compliance.  Copyright 2007 CIGNA
==


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



RE: [T5] Marking fields in error

2007-08-22 Thread Ulrich Stärk
Right now it seems that the path for the marker image is hardcoded. But
you could try to create a file org/apache/tapestry/field-error-marker.png
in your classpath and store your own marker there. This should override
the default marker. This is similar to
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner.

HTH,

Uli

On Mi, 22.08.2007, 12:42, Kolesnikov, Alexander  GNI sagte:
> Okay, so I am taking this back :) I was looking at the screenshots in
> the User Guide. But in this case, do I have an opportunity to override
> the existing marker?
>
> Thanks,
>
> Alexander
>
> -Original Message-
> From: Nick Westgate [mailto:[EMAIL PROTECTED]
> Sent: 22 August 2007 11:37
> To: Tapestry users
> Subject: Re: [T5] Marking fields in error
>
>
> T5 _does_ mark a field with an error marker. "field-error-marker.png"
>
> Cheers,
> Nick.
>
>
> Kolesnikov, Alexander GNI wrote:
>> I've got a friend who is color blind. I've shown to him the way how
>> the fields in error are marked in T5 - just making everything red,
>> without using any error markers - and this doesn't look convincing to
>> him.
>>
>> So I suggest T5 developers adding some kind of error marker - two red
>> asterisks or an icon - on the right side of a field in error. That
>> would be helpful for many users.
>>
>> Thanks,
>>
>> Alexander
>>
>> --
>> 
>> CONFIDENTIALITY NOTICE: If you have received this email in error,
> please immediately notify the sender by e-mail at the address shown.
> This email transmission may contain confidential information.  This
> information is intended only for the use of the individual(s) or entity
> to whom it is intended even if addressed incorrectly.  Please delete it
> from your files if you are not the intended recipient.  Thank you for
> your compliance.  Copyright 2007 CIGNA
>>
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> CONFIDENTIALITY NOTICE: If you have received this email in error, please
> immediately notify the sender by e-mail at the address shown.  This email
> transmission may contain confidential information.  This information is
> intended only for the use of the individual(s) or entity to whom it is
> intended even if addressed incorrectly.  Please delete it from your files
> if you are not the intended recipient.  Thank you for your compliance.
> Copyright 2007 CIGNA
> ===-
> 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: [T5] Marking fields in error

2007-08-22 Thread Nick Westgate

I'm sure, you can, though I haven't tried this yet.

You could try just overriding that asset in your project.
For colours you can override styles in your own CSS files.

If you want more substantial changes, look into overriding
the DefaultValidationDecorator. Search the source for:
DefaultValidationDelegate

Cheers,
Nick.


Kolesnikov, Alexander GNI wrote:

Okay, so I am taking this back :) I was looking at the screenshots in
the User Guide. But in this case, do I have an opportunity to override
the existing marker?

Thanks,

Alexander

-Original Message-
From: Nick Westgate [mailto:[EMAIL PROTECTED] 
Sent: 22 August 2007 11:37

To: Tapestry users
Subject: Re: [T5] Marking fields in error


T5 _does_ mark a field with an error marker. "field-error-marker.png"

Cheers,
Nick.


Kolesnikov, Alexander GNI wrote:
I've got a friend who is color blind. I've shown to him the way how 
the fields in error are marked in T5 - just making everything red, 
without using any error markers - and this doesn't look convincing to 
him.


So I suggest T5 developers adding some kind of error marker - two red 
asterisks or an icon - on the right side of a field in error. That 
would be helpful for many users.


Thanks,

Alexander

--

CONFIDENTIALITY NOTICE: If you have received this email in error,

please immediately notify the sender by e-mail at the address shown.
This email transmission may contain confidential information.  This
information is intended only for the use of the individual(s) or entity
to whom it is intended even if addressed incorrectly.  Please delete it
from your files if you are not the intended recipient.  Thank you for
your compliance.  Copyright 2007 CIGNA

==

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



--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  This email 
transmission may contain confidential information.  This information is 
intended only for the use of the individual(s) or entity to whom it is intended 
even if addressed incorrectly.  Please delete it from your files if you are not 
the intended recipient.  Thank you for your compliance.  Copyright 2007 CIGNA
==


-
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: [T5] Marking fields in error

2007-08-22 Thread Kolesnikov, Alexander GNI
Okay, so I am taking this back :) I was looking at the screenshots in
the User Guide. But in this case, do I have an opportunity to override
the existing marker?

Thanks,

Alexander

-Original Message-
From: Nick Westgate [mailto:[EMAIL PROTECTED] 
Sent: 22 August 2007 11:37
To: Tapestry users
Subject: Re: [T5] Marking fields in error


T5 _does_ mark a field with an error marker. "field-error-marker.png"

Cheers,
Nick.


Kolesnikov, Alexander GNI wrote:
> I've got a friend who is color blind. I've shown to him the way how 
> the fields in error are marked in T5 - just making everything red, 
> without using any error markers - and this doesn't look convincing to 
> him.
> 
> So I suggest T5 developers adding some kind of error marker - two red 
> asterisks or an icon - on the right side of a field in error. That 
> would be helpful for many users.
> 
> Thanks,
> 
> Alexander
> 
> --
> 
> CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown.
This email transmission may contain confidential information.  This
information is intended only for the use of the individual(s) or entity
to whom it is intended even if addressed incorrectly.  Please delete it
from your files if you are not the intended recipient.  Thank you for
your compliance.  Copyright 2007 CIGNA
>

==
> 

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



--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  This email 
transmission may contain confidential information.  This information is 
intended only for the use of the individual(s) or entity to whom it is intended 
even if addressed incorrectly.  Please delete it from your files if you are not 
the intended recipient.  Thank you for your compliance.  Copyright 2007 CIGNA
==


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



Re: [T5] Marking fields in error

2007-08-22 Thread Nick Westgate

T5 _does_ mark a field with an error marker.
"field-error-marker.png"

Cheers,
Nick.


Kolesnikov, Alexander GNI wrote:

I've got a friend who is color blind. I've shown to him the way how the
fields in error are marked in T5 - just making everything red, without
using any error markers - and this doesn't look convincing to him. 


So I suggest T5 developers adding some kind of error marker - two red
asterisks or an icon - on the right side of a field in error. That would
be helpful for many users.

Thanks,

Alexander

--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  This email 
transmission may contain confidential information.  This information is 
intended only for the use of the individual(s) or entity to whom it is intended 
even if addressed incorrectly.  Please delete it from your files if you are not 
the intended recipient.  Thank you for your compliance.  Copyright 2007 CIGNA
==



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