Customize the ADF skin component

Hi all

I'm trying to customize the skin of component af:message.

so far, I can remove error icon using the skin. Like this

AF | message: error-icon {}
content: ' ';
Width: 0px;
height: 0px;
}

I want to delete the message next to the icon as well.

How to get there?

With respect,
WP

Hello

to change the message, you create the definition of skin, as shown below



    
        blafplus-rich-extended.desktop
        blafplus-rich-extended
        org.apache.myfaces.trinidad.desktop
          
        
             skins/blafplus-rich-extended.css
        
        blafplus-rich.desktop
       MyResourceBundle
   

the bundle name 'MyResourceBundle' is created as shown below

public class MyResourceBundle extends ListResourceBundle {
  public Object[][] getContents() {
    return contents;
  } 

  static final Object[][] contents = {
     {"af_dialog.OK","Okay"},
     {"af_panelWindow.CLOSE", "Close"},
     {"af_document.SPLASH_SCREEN_MESSAGE","Hello and Welcome"}
  };
} 

All other strings are read in base skin

Frank

Tags: Java

Similar Questions

  • How to build finance balance sheet as user interface using the ADF Faces component

    Hello

    We know that financial balance sheet will have a calculated field, imaging of the last row will be the value of the sum for all above each column (see below the very approximate example), I doubt that ADF Table is the faces component appropriate to have a quick idea on this? Thank you

    1 point | 10. 10. 10. 10. 10.

    2 point | 20. 20. 20. 20. 20.

    sum | 30. 30. 30. 30. 30.

    -Liang Yi

    It is possible in the ADF. See below how you can add a sum calculated lines.

    http://rohanwalia.blogspot.in/2012/11/ADF-Groovy-for-total-sum-of-column-in.html

    You can extend the same approach in your use case.

    Thank you

  • How to use the ADF skin editor in jdev 11.1.1.5.0

    Hello to all,
    I have a question in standalone ADF Skin Editor, im new to adf skin I changed the skin from fx fusion in the skin 11.1.2.0 Editor, but incapable of knowing how to use it in the jdev 11.1.1.5.0.

    You can refer to this topic-

    http://docs.Oracle.com/CD/E21764_01/user.1111/e21420/adfsg_apply.htm#BGBCDGGA

  • How to change the ADF Faces component visibility in changing the comboBox value?

    Hi all
    I want to change visibility panelGoupLayout true false when I choose a comboBox value, I can do this by using a commandButton control, but my question is how to change using the comboBox to the bean to support value, can anyone help me? Besides my English is not enough, I hope that I could say to my problem.
    Thank you.
    Ali

    Published by: user12246056 on November 23, 2009 09:01

    Hello

    You must add the id of the selectOneChoice as partialTriggers to the panelGroupLayout - check my example above.

    partialTriggers="soc1"
    

    Also, you seem to keep the selectOneChoice inside the panelGroupLayout (who you want to fake visible). So, once you make the invisible panelGroupLayout, the selectOneChoice (which is inside your panelGroupLayout) will become also invisible. Cordially (put out the panelgrouplayout if she not how you wanted it to be).

    Arun-

  • Customize the Page from the ADF

    JDev ADF BC 11.1.1.6.0

    I want to customize my page ADF for differenet of business scenarios. For example, a label displayed as 'ABC' for a user should be displayed as "XYZ" for user B.
    I mean, the label component is the same, but have different texts for different users.

    I'm also only on the security of the ADF. Let do more sample using pledge does not matter.just that you need to take care of the connection method.
    You must put this logic in your connection method where you check the user name and password.

    Thank you
    Prateek

  • Problem with the library of the skin of the ADF

    Hello

    I created a skin ADF library to include myself in other projects.

    My skin also contains FontAwesome, but the doesn´t of font files get included, although my path is correct.


    FontAwesome icons are displayed only when the user installs the FontAwesome.otf on its system.

    I m using Jdeveloper 12 c.

    What should I do?

    Thank you

    DestinatioN

    Hello

    ADF 11 g will downgrade tags CCS3 to CCS2, with result ignored @font-face

    This has been fixed in ADF 12.1.3, so the official statement will be moving to the ADF 12.1.3

    However a workaround is available that works on ADF and ADF Mobile browser also.
    It is to apply the rule of @font-face in a separate CSS file:

    {@font-face}
    do-family: 'LucidaSansFont ';
    SRC: url ("http:////fonts/lucida_sans.eot?#iefix")format('embedded-opentype'), ")
    URL ("http:////fonts/lucida_sans.woff")format ("woff"), ")
    URL ("http:////fonts/lucida_sans.ttf")format ("truetype"), ")
    }

    Note: http:////fonts/lucida_sans.ttf is the path to the police which is present in the same application deployed on weblogic server package that is.

    Required steps:

    • Incorporation of the @font-face rule does not work, it is therefore necessary to create a new rule CSS containg @font-face it alone.
    • The newly created CSS should not be stored in the Trinity - skins.xml, while the other continued to be recorded.
    • The newly created CSS is so designated in single .jspx using tag . This does not work in .jsff.
    • The references to family of fonts in @font-face does not return the contextual or absolute path on different browsers

    IE works with absolute path / deployed URL path for fonts, but not with the contextual road, while in Firefox, it only works with the contextual road and deployed URL path.
    This is observed only during the test by the ADF application, however trials through HTML and CSS standards things work very well on all url references.

    Ref: what is the approach recommended in the ADF to use a custom font? (Doc ID 1931343.1)

    Thank you

    Amey

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • Customize the filter/search text, but display the original text of the research to adf 12.1.3

    After customization of search in the QueryFilterBean text, how always display the original text entered by the user if the results of the table appear.

    It is in the ADF 12.1.3 version. Is this possible?

    You introduce new variables to filter for the entrance of users as is described in this blog https://tompeez.wordpress.com/2015/04/11/how-to-filter-adf-bound-tables-by-date-range-jdeveloper-12-1-x/

    Then read the values of variables in the onQueryListener in your bean method that you introduced in the filter and apply both in terms of filter criteria.

    Timo

  • Library of the skin of the ADF in JDev 11.1.1.7.0

    Hello

    I use JDev 11.1.1.7.0. I have created a Web Application from merger for skins-in order to create a shared library for Skinning. I created this as an ADF library JAR. Also, I created another Web Application of merge to use the ADF to skinning library. I associated the ADF counting library to the Application.

    Problem:

    The application is not made according to the defined CSS.

    Warning message:

    < SkinFactoryImpl > < getSkin > cannot find a skin that matches org.apache.myfaces.trinidad.desktop SkinTemplate and renderkit family, so we'll use the simple skin

    Not a valid @agent CSS property < SkinCSSDocumentHandler > < _parseAgentProperties > address: max-version: 1.9.2

    Not a valid @agent CSS property < SkinCSSDocumentHandler > < _parseAgentProperties > address: max-version: 532

    Code:

    The project, the counting

    Trinidad - config.xml:

    <? XML version = "1.0" encoding = "windows-1252"? >

    "< trinidad-config xmlns ="http://myfaces.apache.org/trinidad/config">."

    SkinTemplate < skin-family > < / skin-family >

    skin v1 < version > < / skin-version >

    < / Trinity-config >

    Trinidad - skins.xml:

    <? XML version = "1.0" encoding = "UTF-8"? >

    "< skins xmlns ="http://myfaces.apache.org/trinidad/skin">."

    < skin >

    MySkin.custom.desktop < id > < /ID >

    < Home > SkinTemplate < / family >

    org.Apache.MyFaces.Trinidad.desktop < render-kit-id > < / render-kit-id >

    < extends > skyros < / extends >

    < style-sheet-name > skins/skintemplate/SkinTemplate.css < / name of style sheet >

    < / skin >

    < / skins >

    On demand,

    Trinidad - config.xml:

    <? XML version = "1.0" encoding = "windows-1252"? >

    "< trinidad-config xmlns ="http://myfaces.apache.org/trinidad/config">."

    SkinTemplate < skin-family > < / skin-family >

    skin v1 < version > < / skin-version >

    < / Trinity-config >

    Are there any errors recorded just before getSkin? In my case, I do not use the version, but the main is always the same.

    Try to give skyros - v1.desktop in in the main application.

    Trinidad - skins.xml:

    http://MyFaces.Apache.org/Trinidad/skin">

    MYSKIN. Custom.Desktop

    SkinTemplate

    org. Apache.MyFaces.Trinidad.Desktop

    Skyros - v1.desktop

    skins/skintemplate/SkinTemplate.css

  • Customize the af:button CSS component. Update property

    I need to change the style for af:button when it takes the focus (tab key), but I couldn't do it.

    I create my custom skin that extends from skyros.v1.desktop.

    This is part of my css file:

    af|button:focus {
        color: #333333;
        border-top: 1px solid #E2CB9B;
        border-right: 1px solid #E2CB9B;
        border-bottom: 1px solid #D4BB87;
        border-left: 1px solid #E2CB9B;
    }
    
    
    @agent mozilla {
        af|button:focus {
            background-image: -moz-linear-gradient(top, #FFE4A8 0%, #FFD475 100%);
        }
    }
    
    
    @agent webkit {
        af|button:focus {
            background-image: -webkit-linear-gradient(top, #FFE4A8 0%, #FFD475 100%);
        }
    }
    
    
    @agent ie {
        af|button:focus {
            background-image: -ms-linear-gradient(top, #FFE4A8 0%, #FFD475 100%);
        }
    }
    

    The error is, button never takes ownership of focus when the user presses the tab key.

    I tested with the chrome browser and if I switch the theme of the ceremony for the div, it works.

    This is the html code generated for the af:button component.

    <div id="ptb1:r1:0:cb2" class="xg5 p_AFTextOnly" _afrgrp="0"><a href="#" onclick="this.focus();return false" class="xg7"><span class="xgf">Acceder</span></a></div>
    

    Development: jdeveloper 12 c (12.1.2.0).

    Property I need is the following: af | button: link: focus {}

    Finally, I can close this thread.

  • Customize the popup adf

    JDev Version - 11.1.1.6

    Having several popups adf and want to style each popup differently.

    . AFPopupSelector has an influence on all pop-up windows, because it is the global selector.

    Is there another approach to style popups differently?

    Thank you

    Kala

    Thanks for the reply!

    I'm able to customize the pop-up window using triggerType panelWindow and showPopupBehavior = 'action '.

    triggerType = 'action' popupId = "p1" / >

    inlineStyle = "margin-top: 8px;" border-color: gray; border-style: solid; border-width: 1px; left margin:-9px; border-top: none; border-bottom: solid Black; border-bottom-width: 2px; position: relative; »

    closeIconVisible = "false" >

    -Kala

  • How to customize the Filter Table ADF Faces?

    How to customize the filter ADF Faces Table

    I want to filter column == > add filter select only one option

    http://img192.imageshack.us/img192/994/unledixd.PNG | http://img192.imageshack.us/img192/994/unledixd.PNG


    What about Ninja

    Published by: Ninja on August 29, 2011 12:42 AM

    Published by: Ninja on August 29, 2011 12:47 AM

    Check [url: http://hasamali.blogspot.com/2010/10/custom-adf-table-filter-with-drop-down.html] this blog.

    Jean Lou

  • Question for adf inputText component when the required value true attribute

    Hello

    The JDev version that I used in 11.1.2.0.0

    I have an ADF form that contains 3 components EmployeeName (inputText), EmployeeAddress (inputText) and EmployeeType (lov selectOneChoice), when I select an lov EmployeeType value, I need the EmployeeAddress to change automatically, this is implemented via the valueChangeListener and autoSubmit attributes in the attribute of component and partialTriggers of selectOneChoice on the employaddress inputText as the code below, when debugging backing bean I saw the logic is complete. But since the EmployeeName has a required attribute is set to true, the page then to issue me an error message that "EmployeeName is required field" and I do not see the employaddress updated correctly. My question is if I can skip the check required for EmployeeName at this time when I just changed selectOneChoice value rather than clicking the button submit on the page?

    < af:panelFormLayout id = "pfl1" >
    < af:inputText value = "#{bindings." EmployeeName.inputValue}.
    label = "#{bindings." EmployeeName.hints.label}.
    required = "#{true}".
    ID = "it2" >
    < f: validator binding = "#{bindings." EmployeeName.validator} "/ >"
    < / af:inputText >
    < af:inputText value = "#{bindings." EmailAddr.inputValue}.
    label = "#{bindings." EmailAddr.hints.label}.
    ID = "it1.
    "partialTriggers =": soc4 ".
    Binding = "#{EmployeeBean.emailAddrBinding}" >
    < f: validator binding = "#{bindings." EmailAddr.validator} "/ >"
    < / af:inputText >
    < af:selectOneChoice value = "#{bindings." EmployeeType.inputValue}.
    label = "#{bindings." EmployeeType.label}.
    ID = "soc4".
    autoSubmit = 'true '.
    valueChangeListener = "#{EmployeeBean.changeEmpTypeListener}" >
    < f: selectItems value = "#{bindings." EmployeeType.items}.
    ID = "si1" / >
    < / af:selectOneChoice >
    < / af:panelFormLayout >

    Try setting immediate = "true" on the selectOneChoice component.

  • What is the best way to customize the skin of the PlayBar?

    Hello

    I need to customize the skin of the PlayBar and put our new totally brand design.

    I know that the default skin files are found under folder Templates. Should I take one of these fla files and customize it with our new model?

    I have another option in my mind, but do not know if it works. I guess I can hide the playback bar and create my own buttons on the stage and in this way can build the scene with my own reading bar control.

    Do you think one is better? I need your comments.

    Thank you
    Erkan

    The question is not so much what you CAN do with buttons in Captivate to replace the PlayBar, but what one MUST do one way or the other.

    It must be remembered as it is currently impossible to add interactive objects such as buttons to master slides or quiz question slides. So if you do not create your own playback bar customized with all the keys you need, you will end up having to replicate the same button, set each slide of your project, which is a lot of buttons to maintain. But then when you get to your quiz slides, you will not be able to add same buttons here.

    So if you have the resources to customize your own reading bar, which seems to be the best option from a perspective of low maintenance.

  • How to customize the textArea component

    How is - a customize the component text box (I mean the font of text, the text size, color and so on). Nothing like what appears in the Inspector components.

    Is it possible to customize visually? Or should I use?

    define a TextFormat

    var newFormat:TextFormat = new TextFormat();
    newFormat.font = "Arial";
    newFormat.size = 14;
    newFormat.color = 0xFF0000;

    Apply it to the text box

    tArea.setStyle ("textFormat", newFormat);

    change the background color of the text box

    tArea.textField.background = true; If set false, white wins
    tArea.textField.backgroundColor = 0xEEEEDD;

Maybe you are looking for

  • Effective navigation

    On the Page of contents of Apple communities, how do remove all the stuff that I have no interest and refine my search to that me was dedicated.   Right now it feels like I am browsing of the Pennysaver.    Let's say I'm interested in learning about

  • Change the cursor of LabVIEW

    Hello I have a question about the digital slider.  I clicked on it and brought it up to the Customization screen.  I can right click on it to change the image of the needle of the triangle in a rectangle, but I also see a second blue triangle in the

  • I can't synchronize with Hotmail, Outlook Express.

    original title: outlook express I have trouble sending and syncronize account on Hotmail. He says I need vairafiy (exuse my spelling) my user name and password. Help please!

  • Postgres.exe has encountered a problem and needs to close

    I get the above error message when I start my computer.  IN response, I get the following information from microsoft: "Download updates for." "Generic Host process for Win32 Services" error occurs after you start or restart your computer. The error a

  • Abnormal fonts

    I've removed all the expired window update that are installed on my computer, but it turns out done my computer malfuntion on fonts. I tried so many time reset (Panel) display fonts but it remains too large to normal size. I event tried to restore bu