myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott O'Bryan <darkar...@gmail.com>
Subject Re: [Trinidad] Removing Text Icons (* and X)
Date Thu, 23 Aug 2007 18:37:33 GMT
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
> nate.perkins@gdc4s.com
>
>   
>> 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:andrew.rw.robinson@gmail.com] 
> 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 <my_trash_mail@yahoo.com> wrote:
>   
>> Yes.  Sorry, I forgot to add [Trinidad] to the subject.
>>
>> --Dave
>>
>> --- Andrew Robinson <andrew.rw.robinson@gmail.com> wrote:
>>
>>     
>>> Is this in relation to Trinidad?
>>>
>>> On 8/22/07, DLC <my_trash_mail@yahoo.com> 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
>   
>>
>>     
>
>   


Mime
View raw message