Well, maybe I should be more specific. This is what I've tried: .AFErrorIcon::alias { content: url(/images/icon_alert.gif); } .AFErrorIcon::alias { content: 'W'; } .AFErrorIcon { content: url(/images/icon_alert.gif); } .AFErrorIcon { content: 'W'; }
None of these have any effect on the rendering of the error icon (e.g., what's rendered next to a required input field that is blank when attempting to submit). That is rendered like this: <a class="AFErrorIconStyle" title="Error" name="_msgAnc_username">X</a> I would prefer it to render something like this: <img src="/images/icon_alert.gif" /> Does that help? --Dave --- Scott O'Bryan <[EMAIL PROTECTED]> wrote: > Dave, it needs to be an "icon". Can't be an X.. > > DLC wrote: > > Thanks for your input. Unfortunately, I can't seem to get this to work > > right. Maybe I'm just > > confused. > > > > I'm trying to replace the default > > AFErrorIcon (which is an 'X') with my own. Could someone show me an > > example that they have > > working? > > > > Thanks, > > > > --Dave > > > > --- Scott O'Bryan <[EMAIL PROTECTED]> wrote: > > > > > >> You can do that in the css . The skinning framework parses the css and > >> any icons which are specified in the skinning file will override the > >> default values. Use the "content:" as specified in the below example to > >> specify which image to use. > >> > >> Scott > >> Perkins, Nate-P63196 wrote: > >> > >>> Would this also work for the af|chooseDate::launch-icon...the default > >>> for this is a green calendar, but I would like to change it to a blue > >>> calendar. > >>> > >>> Can I do that with css or do I need to change the code? > >>> > >>> > >>> Nate Perkins > >>> 480-441-3667 > >>> [EMAIL PROTECTED] > >>> > >>> > >>> > >>>> This email message is for the sole use of the intended recipient(s) and > >>>> > >>>> > >>> may contain GDC4S > >>> > >>> > >>>> confidential or privileged information. Any unauthorized review, use, > >>>> > >>>> > >>> disclosure or distribution > >>> > >>> > >>>> is prohibited. If you are not an intended recipient, please contact > >>>> > >>>> > >>> the sender by reply email and > >>> > >>> > >>>> destroy all copies of the original message. > >>>> > >>>> > >>>> > >>> -----Original Message----- > >>> From: Andrew Robinson [mailto:[EMAIL PROTECTED] > >>> Sent: Thursday, August 23, 2007 11:22 AM > >>> To: MyFaces Discussion > >>> Subject: Re: [Trinidad] Removing Text Icons (* and X) > >>> > >>> You can find the code in BaseDesktopSkin.java that registers the default > >>> icons. > >>> > >>> In your skin, you should be able to do things like: > >>> > >>> .AFDetailDisclosedIcon::alias { > >>> content: "V"; > >>> } > >>> or > >>> > >>> .AFDetailDisclosedIcon::alias { > >>> content: url(/skin/myskin/icons/myIcon.gif); > >>> } > >>> > >>> -Andrew > >>> > >>> On 8/23/07, DLC <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>>> Yes. Sorry, I forgot to add [Trinidad] to the subject. > >>>> > >>>> --Dave > >>>> > >>>> --- Andrew Robinson <[EMAIL PROTECTED]> wrote: > >>>> > >>>> > >>>> > >>>>> Is this in relation to Trinidad? > >>>>> > >>>>> On 8/22/07, DLC <[EMAIL PROTECTED]> wrote: > >>>>> > >>>>> > >>>>>> Hi all, > >>>>>> > >>>>>> I would like to substitute the text icons * and X for required and > >>>>>> > >>>>>> > >>> error markers on fields > >>> > >>> > >>>>> with my > >>>>> > >>>>> > >>>>>> own markup (an image and/or other text). Is there any way to do > >>>>>> > >>>>>> > >>> this? If so, how? > >>> > >>> > >>>>>> Thanks, > >>>>>> > >>>>>> --Dave > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>> ________________________________________________________________________ > >>> ____________ > >>> > >>> > >>>>>> Shape Yahoo! in your own image. Join our Network Research Panel > >>>>>> > >>>>>> > >>> today! > >>> > >>> > >>>>> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 > >>>>> > >>>>> > >>>>>> > >>>>>> > >>>> > >>>> > >>> ________________________________________________________________________ > >>> ____________ > >>> > >>> > >>>> Shape Yahoo! in your own image. Join our Network Research Panel > >>>> > >>>> > >>> today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 > >>> > >>> > >>>> > >>>> > >>> > >>> > >> > > > > > > > > > > ____________________________________________________________________________________ > > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user > > panel and lay it on us. > http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 > > > > > > > > ____________________________________________________________________________________ Pinpoint customers who are looking for what you sell. http://searchmarketing.yahoo.com/