ADF SelectInputDate skin questions

Hi everyone,
i'm creating a skin for my adf project and i have some questions about the selectinputdate component:
- Can i change the navigation icons in calendar with the af|selectInputDate::nav-link selector (and how)?
- How can i changed de background color for the window tha display the calendar component, i play with selectInputDate selectors without success.
- How can i changed days numbers colors, i play with af|selectInputDate::content selector without success (i can change only inactives days colors).
Thanks, Eduardo.

Hello, Here's the answers to your questions:
- Can i change the navigation icons in calendar with the af|selectInputDate::nav-link selector (and how)?
The best way to change the navigation icons is with the 'icon' keys: next-icon and prev-icon. You can use an <img> or text. The default in the simple skin is text : "<" and ">". If you want to use an img instead, then you'd skin it like this:
af|selectInputDate::next-icon {
content: url("...");
You could use background-image on the ::nav-link, but it is a CSS problem with making enough visual space to show up the image. For example, we have created aliases in our 11g ADF Faces components for clickable images and to make them visible, we had to add padding, etc.
.AFClickableImageAnchor:alias {
font-size: 14px;
padding-right: 16px;
margin-left: 1px;
margin-right: 1px;
background-repeat: no-repeat;
background-position: bottom left;
@agent ie {
.AFClickableImageAnchor:alias {
display: inline-block;
- How can i changed de background color for the window tha display the calendar component, i play with selectInputDate selectors without success.
You can't style a popup's background color dependent of what component is in it.
- How can i changed days numbers colors, i play with af|selectInputDate::content selector without success (i can change only inactives days colors).
You c an use af|sID::content A {color: aqua}.
We don't have a hook in place that you can use that doesn't expose HTML. We'd rather you not use HTML in the selectors, but if that's all you have, then there's no way around it.
Also, you can use Firebug and disable the content compression to help you with skinning.
Content compression compresses the styleclasses from their full name to short names, like x10. Viewing the full name makes skinning easier, but it should only be done during skinning development because of performance reasons -- the rendered pages will be larger with content compression turned out.
For turn off content compression in 10.1.3, you set in web.xml the
oracle.adfinternal.view.faces.DISABLE_CONTENT_COMPRESSION to true
- Jeanne

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 - 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 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.

  • Customizing Oracle ADF Default Skins

    Hello,
    My JDeveloper Version is 11.1.2.1.0. R2
    Is there any tutorial about Customizing oracle adf default skins. For Example I want to change some CSS Properties of "Simple" Skin. I know I can change some properties by using Inline styles but it is not good
    way.
    I have started reading this tutorial but I think It is complex. Is this not. Is this also for Release 2.
    http://docs.oracle.com/cd/E16764_01/web.1111/b31973/af_skin.htm#CHDBEDHA
    Thanks
    Muhammad Nasir

    Thanks Sir for Reply,
    Dear Sir I Know How to work with skin editor and how to apply skins to project and I did it. But Sir I want to use Oracle default Skin by Little Modifications to It. For Example If I use "Simple" skin
    by changing skin family to "simple" it works fine but how to edit this "simple" skin for customizations.

  • [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

  • 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

  • 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.

  • 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

  • ADF View objects question

    Hello,
    I created a view object (which bases on an entity object) that I'd like to use for searching for records in a table called "CARS". Cars will be searched by names. I also have a JSP page for adding cars (administration functionality).
    The situation is as follows:
    1. I go to the page for adding cars and click "Submit" (which only submits data without committing to the database).
    2. Then I have validation errors (which is ok because some fields are mandatory).
    3. I search for cars by name.
    The funny part is that if I search for cars with given names, I get those cars AND I get the empty row with this new car I'd tried to add just a moment ago. It's definitely not yet in the database and the name of this car is not set (so it shouldn't match with the name I'm searching for).
    My question is: why is it happening and what should I do to get the rows created but not yet committed not appear in the search results?
    I tried to use clearCache() method of ViewObjectImpl but the result is still the same.
    Please help because I desperately need this for my diploma project.
    Thanks,
    Anna

    I run: "java -Djbo.viewlink.consistent=false -jar oc4j.jar" and I still get new rows. I'm using OC4J 10g (9.0.4.0.0) standalone that comes with JDeveloper 10g (9.0.5.2) on Linux.
    And about that Create pages: I mean I click on a link "New something" 3 times (for example). I don't use the browser back button because I have my menu on each page. In this case I'm just curious if it's possible to somehow "overwrite" previous "new" rows with the most recent one.
    I thought I would need that but now I know I need something else.
    Imagine such a situation:
    1. A user wants to create a new row or update an existing one.
    2. They start filling the form and submit it (in my case it's committing at the same time)
    3. During validation it turns out that some required values are missing so the user has to enter them.
    4. At this point the user leaves the input form and decides to add or update a different row.
    5. The user enters all the required values and this time validation would succeed. However, because of points 2. and 3. it does not.
    Now my question is: how can I make ADF somehow "forget" about the row inserted/updated in point 2. I know that ADF validates all new/changed rows at a time. But I would like to change that behavior so that it would validate only the row changed/created most recently.
    Thanks,
    Anna

  • BPM and ADF integration - some questions

    Hi,
    I have a few questions about comunication between BPM 11.1.1.5 and Human Task based Task Flow:
    1) What is the best way to pass data (task id, proces id, proces data) from BPM workspace to Human Task Task Flow (and get them as TF params).
    2) Where can I find a description, how ADF app comunicates with BPM process.
    3) Where can I find a description of all data controls created by JDeveloper (BPM Suite) when HT Task Flow is created.
    3) Where can I find a description (and their functionality) of managed beans created by JDeveloper (BPM Suite) when HT Task Flow is created.
    Kuba

    Hi,
    Sory, but I'm still not sure, how ADF comunicates with BPM (I know that it uses EJB services and hwtaskflow.xml). But a still don't have an answers for follwowing questions:
    1) I know ADF quite good. Having method in data controls (in our case getTaskDetails()) we need to invoke it somehow. I don't see anywher invokation of this method.
    2) In generated task flow there is some managed beans and params - what is role of them ? Having over 50 task flows , do I need it in all of them. Where can I find description of those beans and params
    3) In our approach we use BPM , ADF RC for UI and Business Components to persist data into database. Only data from payload we need is ID of master-level row. My question is - do I have to generate data controls for all human task ?. In my my opinion it should be only one communication point between BPM and ADF but not the same for all pair human task --> task flow.
    All infomation I need from BPM is:
    - task ID
    - task flow name (to open apriopriate tab in my application)
    - available outcomes
    - to know is BPM operation is enabled
    Kuba

  • Two Skins Questions

    I have two questions which I've seen asked elsewhere on this
    forum but not answered. I'll try them again :-D
    Fist, I can create a custom skin and apply it to my project
    at time of generation, but it does not appear in my Project Set-up
    pod for further customization. How can I get it to appear? Or, how
    can I get it zipped and added to my gallery so that I can simply
    create from gallery?
    Second, I'm having trouble predicting the behavior of my
    custom image buttons in the generated help project. How can I find
    out the dimensions I should use for the Contents, Glossary, Index,
    Search buttons and some tips for getting them to render as desired?
    For example, if I background image with a gradient and transparent
    images for buttons, some of them display at or near the specified
    height, but others do not. Any idea how RoboHelp deals with the
    images? What sizes I can use?
    Thanks in advance.

    So for the second issue, I've determined that Firefox and IE
    render my images differently position-wise. Anybody know if there's
    a document for designing cross-browser compatible skins?

  • ADF menuTabs skin issue

    JDeveloper 10.1.3.3, ADF Faces
    Hi,
    I'm trying to create a custom skin for my ADF Faces application. I use this sample: http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
    There is a code snippet:
    <af:menuTabs>
        <af:commandMenuItem text="Home" selected="true"/>
        <af:commandMenuItem text="Settings"/>
        <af:commandMenuItem text="Help"/>
    </af:menuTabs>
    {code}
    The problem appears if I remove selected="true" attribute from the first commandMenuItem. Then initially none of the tabs is selected and af|menuTabs::enabled-start-icon is missing. In my own application one additional af|menuTabs::enabled-start-icon in front of the first tab and one additional af|menuTabs::enabled-end-icon beyond the last tab are displayed. When one of tabs gets selected these additional images disappear.
    Is this a bug or an error in my own code?
    Thanks,
    Marius                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    since you are not showing your code, its hard to tell if this is an implementation problem. However, to me this sounds like a bug still. However, I could not find an entry in teh bug database for this scenario
    Frank

  • 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

Maybe you are looking for

  • Creating Formula calculated field in BI publisher Template

    Hi, I am creating a report template (rtf) using oracle BI publisher Desktop for siebel 8.1.1 and i need to add a new field that divide two created count fields , but i don't know how to make it and i didn't have any help from the designer guide. Than

  • Cue Point - navigateTourl question

    Ok, this is what I need to do, I have an flv inside an swf. when the flav gets to either 22:00 or a certain frame I need an invisible button to appear ONLY after the cue point where the flv will display a click here graphic and the invisible button w

  • Safari 6.0.4 is compressing all web sites and images from both sides

    My MBP 13: (mid 09, 8 gb ram, OS X Mtn Lion v OS X 10.8.3 (12D78) I much prefer Safari but about a month ago Safari started showing compressed screens of website or other info. (I tried to post a screenshot here but couldn't figure out how to do it,

  • How to Stop the process chain if it in the middle of the process?

    Hi, Is there anyway that i can stop the process chain if it is in the middle of the process already? Raj

  • Strange Folder Appeared on Desktop

    It was a folder containing photos (NOT vulgar) of total strangers.  Looked like someone's personal photo folder.  I don't know when it appeared, I think I didn't even notice it for a couple of days.  Then I freaked out and deleted it.  My question is