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

Similar Messages

  • 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

  • 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

  • Please tell me  how to use adf menuTabs?

    I am using adf menuTabs in my project. What happened was I could not put any components in the menuTabs. so please give me details for how to use the menuTabs.

    Open the Camera app. There is a button at the bottom that looks like a camera. Tap that to take a picture. There is also a shortcut to the camera on the lock screen:
    Camera Shortcut on the Lock Screen
    (Note that I am a representative of the organization for the above link, which is not endorsed by Apple)

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

  • ADF table skins

    I have used jdev 11.1.1.6.0
    I have create ADF table , In table header row ,if i drag column header to resize column,it will resize column data only first time, if i refresh column data, column will comes its original size and header remains in resize position. Can i bind column to column header using any skin property.

    Hi,
    The normal behaviour of af:table is that column header and column always have the same width.
    I guess there is something wrong with your table or your existing skinning?
    (I can remember very gloomy a similar behaviour but unfortunately I can't remember the root cause. It was at least 2-3 years ago).
    Do you use custom skins?
    Have you already tried to create a simpel test application with an table to reproduce this issue?
    regards
    Peter

  • Using ADF menutabs

    Hi
    I need to have a menutab with 2 tabs - tab1 and tab2, each displaying different components. I create tab1.jspx, put a af:menuTabs with two af:commandMenuItems as its children. Note Tab1 is selected by default.
    <af:menuTabs>
    <f:facet name="nodeStamp">
    <h:panelGroup/>
    </f:facet>
    <af:commandMenuItem text="Tab1"
    selected="true" useWindow="true"
    action="go.tab1"/>
    <af:commandMenuItem text="Tab2" action="go.tab2"/>
    </af:menuTabs>
    Now I copy tab1.jspx to tab2.jspx, make Tab2 as default selection. I put the navigation rules that from Tab1.jspx, if action=go.tab2, show Tab2.jspx. Similarly a return path from Tab2.jspx to Tab1.jspx if action=go.tab1.
    Is this how the <af:menuTabs> should be implemented? But this seems lousy. Shouldn't there be just one main.jspx that displays the menutabs and internally handles the tab selection and displaying the relevant components for the page. Pls advice.
    thanks
    RK

    You're right RK, at the moment you pretty much need to hardcode the <af:menuTabs> component in each page. Klunky but hopefully the JDev team is thinking up a solution based on somesort of template mechanism.
    However, there is a partial solution to this issue, have a look at section 19.2 Using Dynamic Menu for Navigation in the ADF Developer's Guide for Forms/4GL Programmers. This drives the menu components, specifically af:page off configurations in your faces-config.xml file, saving you having to hardcode the menu structure in each page. I advise you to have a look at the guide.
    Good luck & regards,
    CM.

  • ADFS 3.0 Issue - Caching Bad Passwords

    We have come across a slightly odd problem with ADFS.
    For over a year now we have been running ADFS 2.0 for our Office 365 Enterprise Mail, the solution was set up as default ( with the obvious exception of Certs and passwords it was plain next, next next and take all the defaults ) and this has been perfect
    all this time.
    We just used the same method for a nice default install of ADFS 3.0 and we have switched one of our smaller domains to use it as a test, however we have come across a very annoying issue.
    If a user opens Outlook, they get a password prompt as usual, if they put in the password all is perfectly fine, if however they accidentally typo and put in the wrong password, when the password prompt finally comes up a second time, it dosent seem to care
    if they put the right one in, it sends the first password again, and keeps going no matter what you do until the account is locked out, the only way to fix it is to close and reopen outlook.
    I'm sure many people will not read or understand this correctly and just say it's a setting or some other issue with Outlook etc. but bear in mind I can even switch this domain back to our ADFS 2.0 setup and do the same test with the same user and the same
    machine, and everything works as you'd expect, and typing the correct password the second time leads to authentication. This must therefore be an issue or difference between ADFS 2.0 and 3.0, or perhaps its just a plain old bug, who knows, all I do know is
    that it's an issue that causes some very annoyed users, and we cant complete our update to ADFS 3.0 until this is fixed.
    I have read a few ADFS 3.0 articles that suggest that using a GMSA account ( the default ) may be to blame so I am investigating using a normal account as the service account, but that does unfortunately seems to entail a reinstall of ADFS to accomplish
    so will take a little time to switch.
    Any help or ideas would be appreciated.

    Hi David,
    I just tested this on Outlook 2013, after input a wrong password, the password prompt popped out without any error message, and the wrong password was cached (displayed as ********), if I click on OK, the password prompt will popped
    back with wrong password again.
    Is this the issue which you were referring to?
    If that’s the case, then it is a normal behavior, by design at least. To avoid account lockout, every time the password prompt pops out after a failed logon attempt, we need to clear the password, then input a correct one manually.
    Best Regards,
    Amy

  • Adf table columnStretching issue when using with in panel splitter

    My Scenario is like this:
    I have used adf table with columnStretching to last column of table. And the table is placed at second facet of panelSplitter. On load it covers full area of second facet which is pretty good. When try to collapse panelSplitter, arround 2 pixel of horizontal scrollbar appears at bottom. Even on uncollapse the panelSplitter to original orientation, the extra space remains there which makes horizontal scrollbar with 2 pixel gap for movement at bottom of table.
    Is Anyone facing this kind of issue? And how can I solve the issue?
    Thank you for your help and responses in advance. YOur help will be very much valuable to me.

    Hi Frank,
    I am using FF, Chrome and also IE in different compatibility mode. While wrapping with panelCollection it works fine. But the menu bar section and status bar is introduced on panelCollection which I cannot use in my work.
    -Robin

  • ADF Table filter issue with OR or AND input value

    Hi all,
    adf:table filterable fields for OR or AND input value not works. Actually One of column is for State and it has "OR" value for -> OREGON State.
    and I tried using filterModel and queryListener for table attribute. But I am not getting exact clue where I need to fix for this issue. Any suggestion and help is appreciated greatly.
    jdev version 11.1.1.3
    Thank you.
    - Robin

    Something like this might work for the one case:
    public void handleQuery(QueryEvent queryEvent){
        // Replace the OR with an equivalent condition
        Map m =
          ((FilterableQueryDescriptor) (queryEvent.getDescriptor())).getFilterCriteria();
        for (Map.Entry entry: (Collection<Map.Entry>) m.entrySet())
          if (entry.getValue() != null &&
              StringUtils.equalsIgnoreCase(entry.getValue().toString(), "OR"))
            entry.setValue("O AND _R");
        // Process The Query
        ELUtils.invokeMethod("#{bindings.VOQuery.processQuery}",
                             QueryEvent.class, queryEvent);
        // Put the OR back
        for (Map.Entry entry: (Collection<Map.Entry>) m.entrySet())
          if (entry.getValue() != null &&
              StringUtils.equalsIgnoreCase(entry.getValue().toString(),
                                           "O AND _R"))
            entry.setValue("OR");
    }

Maybe you are looking for