|
Michael_Schutte@xxxxxxxxxxxx wrote:<grin>
<<<Note that in my example, all the fields are edited at once, all theYup, I understand that, Michael. I've already done that, creating a
messages are shown. My only downfall right now is that I haven't
figured the easy way to "reverse image" the input field when it's in
error. I'm certain there is a way, but if there isn't we need a way to
add that. It should be as easy as checking for an error and applying a
different style if there is one. >>>
Use CSS to change the background color and the text color.
class for error messages and a class for input fields in error. And on
client-side validation, it's easy to define the class to apply to a
field when an error occurs. The problem is that, using server-side
validation, I haven't found the JSF keyword (if one exists) that will
tell a field to use an alternate style if the field is in error.
I would have created one, but the JSF implementers didn't ask me...
Joe
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.