ER: ADF Faces Skins: "Unknown pseudo class:alias"

Hi,
I'm trying to create an ADF Faces Skin, by overriding aliases in my own CSS file.
The code editor, however, is hilighting the word "alias" every time I use it (as in ".AFDarkBackground:alias") in red, and the error "Unknown pseudo class:alias" appears both on a popup and in the Structure Pane under "CSS Errors." Is Can I ignore this, or am I doing something wrong? Do I need to import some base CSS that defines the pseudo class? The sample from the HowTo doesn't seem to, but then it shows up with the same CSS Errors.
Best,
Avrom
Message was edited by:
[email protected]
Changed topic title to reflect request for enhancement farther down.

Thanks!
I think I'll edit the title of this to contain ER: ... it would be very nice if it were possible to turn off this bit of validation. I can imagine varying degrees of "smartness" for such a feature--from a manual "accept simple desktop pseudoclasses" option to automatically checking to see if the CSS is listed in an adf-faces-skins.xml file or is imported by any CSS files that are.

Similar Messages

  • Problem with a example of "Developing and Using ADF Faces Skins"

    Hi, I've tried the example "Developing and Using ADF Faces Skins", but when I run the sample.jspx page and choose the skin "MyCompany" in the select skin I obtain the next message:
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.ui.laf.simple.desktop.SideBarRenderer._getIconData(SideBarRenderer.java:393)
    at oracle.adfinternal.view.faces.ui.laf.simple.desktop.SideBarRenderer.prerender(SideBarRenderer.java:83)
    at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:79)
    Could somebody help me?
    Thanks a lot ;-)

    Hi there,
    I had the same issue last friday.
    It's probably because you are using JDeveloper 10.1.3.2 instead of 10.1.3.0 or 10.1.3.1 for which the example is made.
    I haven't been able to fix this yet, other then by commenting out the this part of the css.
    Luc Bors
    Message was edited by:
    lucbors

  • ADF Faces Skins Not Working

    I can't seem to get my ADF faces skins to register at all. I have a css file, an adf-faces-skins.xml file, and a <skin-family> element in my adf-faces-config.xml file, but to no avail.
    One possible hint--I think I might not be getting access to the appropriate XML namespace in my adf-faces-skins.xml file. I can't, for example, get code insight to work there ("No insight available"). I'm using
    <skins xmlns="http://xmlns.oracle.com/adfview/faces/skin">
    which looks like it's right out of the help. Am I missing a library of some sort?
    Thanks much,
    Avrom

    Yes, I have, and I don't see anything I've done substantially differently from there--with the exception of adding a new version of Faces to my project. I assume I don't have to do that if I'm using 10.1.3 Production (the HowTo says it's a "more recent" version of Faces, but it was written against EA 1).

  • Problem in Developing and Using ADF Faces Skins sample

    sample.jspx dose not have “Select Skin” box as the document shown.
    I am trying the sample project downloaded from sample WAR file - adffaces_skin.war in article “Developing and Using ADF Faces Skins”.
    In paragraph “Changing the Color Schema of a Skin”
    sample.jspx has a “Select Skin” box to allow user to select “Simple” or “MyCompany”. (in JSP Visual Editor)
    However, it does not show on the project built from downloaded from sample WAR file (adffaces_skin.war).

    After reading the whole document, I realize it is my mistake.
    The box will be created after all user skins setting.
    The sample works.
    Only thing need to remind is for later version Jdeveloper, Application Worksapce in only for early version Jdeveloper. All the version after 10g 1.3 EA1, Only have Application.

  • Need file adf-faces-skins-doc.xml

    Hi
    I have down loaded the latest ADF release. I want to customize the ADF skins, I am not able to find file adf-faces-skins-doc.xml in skins folder which explains the Style sheet attributes of the ADF component.
    Can any one please send me this file or tell me the location on internet where I can find it.
    Thanks

    Hi!
    Download the sample application. The file you're searching for should be inside the warfile.
    http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/adffaces-skin.war
    Claus

  • Adf faces skin-family change for page or component

    I know how to change this by editing adf-faces-config.xml tile. Is it possible to change the skin-family at a page level or for even for an individual component?

    You can change the skin at the page level by setting the value of the skin-family property to an expression language:
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <skin-family>#{skinFamily.skinSelection}</skin-family>
    </adf-faces-config>
    Where skinFamily is a managed bean and skinSelecion can be implemented as follows:
    public String getSkinSelection()
    FacesContext context = FacesContext.getCurrentInstance();
    UIViewRoot viewRoot = context.getViewRoot();
    String viewId = viewRoot.getViewId();
    System.out.println(viewId);
    if ( viewId.startsWith("/blaf/") ) {
    skinSelection = "oracle";
    else if ( viewId.startsWith("/minimal/") ) {
    skinSelection = "minimal";
    else if ( viewId.startsWith("/vantive/") ) {
    skinSelection = "vantive";
    return skinSelection;
    If you want to have two components, let's say, two tables, at the same page but with a different style you can accomplish that by using the inline-style tag.
    []'s

  • How to apply New ADF Faces Skin into JHeadStart Application

    Hi
    I have downloaded the new skins such as srdemo,mycompany..
    I have only changed skinfamily value in adf-faces-config file but when i generate application with JAG the new skin does not apply it.
    Can anybody help me what's the problem?
    thanks

    This should work fine. Did you accidently re-enable JHeadstart on your project? This wil overwrite adf-faces-config.xml again, so double check your skin family is specified correctly.
    Steven Davelaar,
    JHeadstart Team.

  • Using ADF Faces Skins

    I'm looking for a reference on deploying Skins with ADF Faces. The published howto on OTN is'nt very helpful because the sample code link is broken (See my previous post). The JDeveloper help files are somewhat helpful but I'm looking for a working example. I'm following the technique as implemented in SRDEMO but I must be missing something as my style sheet changes are not showing up.
    It would be nice if someone from Oracle could look into fixing the link to the sample code for:
    http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
    I think if I had a working example that allows skins to change at runtime I would be able to figure out what I'm missing. I have been trying access the link for a couple days now and no one has reponded to any of my requests.

    The link to http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/adffaces-skin.war
    seems to work for me.
    In any case to change the skin you are using you change the adf-faces-config.xml file.
    To get it to change at runtime - just put a reference to a value in a backing bean instead of the fixed "oracle" and then change the value in the bean at runtime.

  • ADF Faces Skins: Way to refer to more than one alias in a selector?

    Is there any way to refer to more than one alias at a time in a selector? The obvious one,
    .SpotlightStyles
      -ora-rule-ref:selector(".AFVeryLargeFont:alias");
      -ora-rule-ref:selector(".AFMediumForeground:alias");
    }doesn't seem to work...it looks like only the last mentioned rule gets used.
    Thanks much,
    Avrom

    Hi,
    well not quite sure about your issue. But normally additional key fields for a characteristic are maintained doing a compounding of the characteristic to at least one other characteristic. You can do that in the infoobject maintenance on the tab compounding.
    regards
    Siggi

  • ADF Faces skins problems using libraries

    Hi,
    I have been trying to use the tutorial on the following website:
    http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
    This shows you how to create skins and things. The only problem is that I cannot see the view that is shown in the screenshot. I.e. I get a load of garbled gabage showing me the tags in the document instead of whats visually there.
    I realise this is a problem with the library but everytime I try and set up the JSF and ADF libraries in the JSP Tag libraries of Tools->Manage Libraries I click the Execute Tags in JSP Visual Editor it lets me do it but then I click refresh on the window with sample.jspx in it and JDeveloper just dies.
    The libraries I am using I have downloaded and followed the instructions on
    http://www.oracle.com/technology/products/jdev/howtos/10g/jsf_howto/jsf.html
    To do the JSF libraries and I have followed the same instructions for the ADF libraries. If anyone has any idea I would be glad of the help
    Cheers
    Daniel

    I tried the same example and it is working fine with me. May I know the JDeveloper version you are using?

  • Community Effort : ADF Faces Skinning Workflow Pattern

    All,
    in the Blog entry below, I started the outline of a skinning work flow that should help new skin developers to walk on a beaten path instead of wasting their time in heading into the wrong direction. This thread here is to gather community feedback - including yours - of what steps should be added to this flow. Note that this entry is not for discussing skinning problems but sharing what has helped you in the past to build new skins. Its all about methodology (sorry Chris, I should have posted this on the EMG first, maybe you guys can chime in). Just in case, if there is an ER you see for the skin editor, start your post with ER - but make sure you stay realistic and focused ;-)
    http://blogs.oracle.com/jdevotnharvest/
    Frank

    Hi Frank,
    A few questions, largely on ADF Skin Editor (Standalone) Vs JDeveloper R2
    1. In the ADF Skin Editor(ASE), the Images section of the editor, for a skin, shows up a blank screen with below entry in logs
    Dec 21, 2011 11:43:48 PM oracle.adfdtinternal.view.rich.skins.editor.imagizer.ImagesMetadata$DefaultColorProfileCache create
    INFO: ImagesMetadata: calculating base color: 494 ms.
    This works in JDeveloper R2 release though.
    2. While trying to extend fusion.desktop screen, I have observed, the version of fusion-desktop.css in ASE is vastly different from the fusion-desktop.css in JDeveloper R2.
    For instance : in R2's version of CSS I can not find the selectors for af|PanelBox light Background. (and thus missing the image files needed for light Background of a panelBox)
    The combination of both 1 and 2 above is acting as a roadblock in my attempt to create a custom skin for one of the Customer POC's, need to generate image files with custom colors to be used largely in layout components.
    Any help regarding this would be greatly appreciated.
    Thank you.
    - Hemant

  • Externalize the Skin from ADF Faces project

    I have a requirement, where we don't want to bundle Skin(CSS, adf-faces-skins.xml, adf-faces-config.xml files) with the web project. Which would help us to add new skin or change the existing skins.
    I see the CSS file name is different when it renders in the final HTML page. If my file name is 'sni.css' and it is kept in folder 'Web Content/css' but in the output html('/adf/styles/cache/sni-desktop-10_1_3_3_0-en-ie-6-windows-s.css'). How does the name changes here?
    We do this in our old framework by putting CSS files in Web Server. Can we do similiar thing in ADF Faces to externalize the styles? Overriding Faces Listeners or by any other way?
    Similiarly want to externalize images, adf-faces-skins.xml and adf-faces-config.xml also.
    Thanks

    Hi,
    We created a external skin project. WebSkin.war. In this project we put every thing (images, ccs, etc).
    In the others Web projects, into our jsp files we added this line on the header.
    <link rel="stylesheet" type="text/css" media="screen" href="/WebSkin/common/skins/<%=styleBean.getStyleName()%>/screen.css" />
    And (of course) getStyleName give us the current Skin Name (blue, purple, etc)
    But (nothing is perfect).. we are using JBOSS as application server, we didn't test that solution on other platform.
    I hope is not to late ...
    Regards.
    Message was edited by:
    ppasquel

  • Skinning ADF Faces

    Is there any documentation available on ADF Faces' skinning mechanism? I need to apply my own product branding. So far I haven't found anything but the briefest mention of this functionality.
    Thanks,
    L.

    Hi,
    go to
    http://jroller.com/page/cschalk
    and search the page for
    "Example ADF Faces Skin Posted". This gives you an example of how skinning works with ADF Faces. It doesn't appear to be magic and should be clear from Chris's explanation.
    Frank

  • ADF - customize skin issue with Weblogic 10.0

    we have defind following custimized skin in the adf-faces-skins.xml
    it's works pretty well in jdeveloper,
    but after deploying to weblogic 10, the custimzed css file is missing
    any hints?
    <skin>
    <id>mycompany.desktop</id>
    <family>abcCompany</family>
    <render-kit-id>oracle.adf.desktop</render-kit-id>
    <style-sheet-name>abcCompany/skin/abc.css</style-sheet-name>
    </skin>

    Hi,
    if the CSS is in public_html/abcComapny/skin directory then it should be displayed unless the adf-faces-config.xml doesn't reference abcCompany as a skin family
    Frank

  • [ADF] One Skin, Multiple Applications

    Hi,
    I was wondering what the "best practice" is to have one skin for multiple applications. Ideally I'd like to be able to make a tiny change in the main skin and it changes the look and feel for many apps.
    Is that even possible? I'm using standalone OC4J for the time being.
    Thanks,
    Brian

    Brian,
    I would think that setting
    <style-sheet-name>skins/mycompany/mySkin.css</style-sheet-name>
    in the adf-faces-skins.xml fiel to an absolute directory (instead of relative) does the trick. However, this makes your application less portable because you bind it to a specific directory structure
    Frank

Maybe you are looking for