Hello Darren,

It's as Matthias said, but you'll also have to use an EL expression for
either the required or showRequired (most likely required in your case)
attribute of your input fields as well.

As you can see, however, this deal only with the required icon, not the
label or the field itself. For those, you can try selectors looking like
tr|inputText:required. For example:

af|inputText:required af|inputText::label {/*...*/}
af|inputText:required af|inputText::content {/*...*/}

See http://issues.apache.org/jira/browse/ADFFACES-49.


Regards,

~ Simon

On 6/21/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:

It is possible,
that you skin the required icon

.AFRequiredIconStyle {
  color: #CC0000;
  -tr-rule-ref: selector(".AFDefaultFont:alias");
}


On 6/21/07, Darren McEntee <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> Hi,
>
> Can anyone tell me if it's possible to conditionally format Trinidad
fields?
> What we want is to be able to highlight mandatory fields, however the
> mandatory fields may change depending on a search type selected.
>
>
>
> Can any spread some light here please?
>
>
>
> Thanks,
>
> Darren.
>
> P Please consider the environment before printing this email
>  _________________________________________________________
>
> 1. The information contained in this E-mail, including any files
transmitted
> with it, is confidential and may be legally privileged. This E-mail is
> intended only for the personal attention of the stated addressee(s). Any
> access to this E-mail, including any files transmitted with it, by any
other
> person is unauthorised. If you are not an addressee, you must not
disclose,
> copy, circulate or in any other way use or rely on the information
contained
> in this E-mail or any files transmitted with it. Such unauthorised use
may
> be unlawful. If you have received this E-mail in error, please inform
the
> sender immediately and delete it and all copies from your system. You
may
> not forward this E-mail without the permission of the sender.
>
> 2. The views expressed in this E-mail are those of the author, and do
not
> necessarily represent the views of AMT-SYBEX. Internet communications
are
> not secure and AMT-SYBEX cannot, therefore, accept legal responsibility
for
> the contents of this message nor for any damage caused by viruses.
>
>  AMT-SYBEX Limited is a UK company, registration number GB03036807 at
> address The Spirella Building, Bridge Road, Letchworth, SG6 4ET.
>  AMT-SYBEX (NI) Limited is a UK company, registration number NI024104 at
> address Edgewater Office Park, Edgewater Rd, Belfast, BT3 9JQ.
> For more information on the AMT-SYBEX Group visit
http://www.amt-sybex.com
> _________________________________________________________
>


--
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Reply via email to