Ah yeah, that is your issue. The parsing of the skinning file can take a while, so it's parsed when it's first loaded for each platform (rtl and browser) and then it sort of hang around. During development I always restart my server because JDEV does that by default. Sorry I didn't mention it.

Scott

DLC wrote:
When I started up my machine this morning I found that

.AFErrorIcon:alias { content:url( ... ); }

DOES work correctly.  I didn't realize that I'd need to reboot the server in 
order for the changes
to propagate.  I'd just assumed that they would because other changes to the 
css file do.

Thanks again for your help,

--Dave

--- Jeanne Waldman <[EMAIL PROTECTED]> wrote:

I tried this in the purple skin:
.AFErrorIcon:alias { content:url(/skins/purple/images/btns.gif); }

and ran the purple skin and the icon.jspx component demo and set name="error" and I saw my image.

It should work, so maybe there is a typo?

- Jeanne

DLC wrote:
I've tried it with both one and two colons.  Neither seems to work.

--Dave

--- Jeanne Waldman <[EMAIL PROTECTED]> wrote:


---------------------------------
  There's a typo here in your email, and not sure if it is the same inyour code:

:alias (one colon, not two)

- Jeanne

DLC wrote: 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 arequired 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 justconfused.I'm trying to replace the default AFErrorIcon (which is an 'X') with my own.
Could
someone show me an example that they haveworking?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.ScottPerkins, Nate-P63196 wrote: Would this also work for the af|chooseDate::launch-icon...the defaultfor this is a green
calendar,
but I would like to change it to a bluecalendar.Can I do that with css or do I 
need to change
the
code? Nate [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 AMTo: MyFaces DiscussionSubject: Re: [Trinidad] 
Removing Text
Icons (* and X)You can find the code in BaseDesktopSkin.java that registers the
defaulticons.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);}-AndrewOn
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/



____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC




____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469


Reply via email to