This discussion is archived
3 Replies Latest reply: Sep 19, 2012 8:25 AM by Murad H RSS

Change label-color properties of only mandatory fields

Murad H Newbie
Currently Being Moderated
Hi,
I am using JDeveloper 11.1.1.2.0.
I would like to change label-color properties of only mandatory fields by default not manually in adf 11g.
While, I am using *.AFLabel:alias* for label properties, and *.AFRequiredIconStyle* for mandatory icon properties.

*.AFRequiredIconStyle* { color: rgb(250,50,50); font-weight:bold; font-size: 10px;}

*.AFLabel:alias* { color: rgb(40,32,180); font-weight:bold; font-family: Arial, Helvetica, sans-serif; font-size: 11px;}

Please Help....

thanks
Murad
  • 1. Re: Change label-color properties of only mandatory fields
    Murad H Newbie
    Currently Being Moderated
    Please some body help me.......

    Thanks
    Md.Murad
  • 2. Re: Change label-color properties of only mandatory fields
    Arunkumar Ramamoorthy Guru
    Currently Being Moderated
    Murad,

    What is your question. Setting .AFRequiredIcon:alias should allow your to change it.

    http://jdevadf.oracle.com/adf-richclient-demo/docs/skin-selectors.html#Icons

    -Arun
  • 3. Re: Change label-color properties of only mandatory fields
    Murad H Newbie
    Currently Being Moderated
    Hi Arun,
    I would like to change label color of only mandatory fields by default like *{color: red; font-weight:bold;}*.
    I don't like display the * icon for mandatory. so we used *.AFRequiredIconStyle { color: rgb(250,50,50); font-weight:bold; font-size: 0px;}* and set the font-size: 0px;
    and for all label, we set the default color and size by this setting-
    *.AFLabel:alias { color: blue; font-weight:bold; font-family: Arial, Helvetica, sans-serif; font-size: 11px;}*


    --Murad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points