Problem in register a custom skin

Dear all
i am using jdeveloper 11.1.1.3
To register a custom skin there are several steps to do :
In the Application Navigator, right-click the project and select New.
In the New Gallery, expand General and select XML.
Select XML Document from XML Schema and click OK.
In the Create XML from XML Schema - Step 1 of 2 dialog:
XML File: Enter trinidad-skins.xml.
Directory: Append \src\META-INF to the end of the Directory entry.
Select Use Registered Schemas, and click Next.
In the Create XML Schema - Step 2 of 2 dialog:
Target Namespace: Select http://myfaces.apache.org/trinidad/skin.
Root Element: Select skins.
but my target name space is empty so i can not select "http://myfaces.apache.org/trinidad/skin"
what should id do ?
Best Regards,

Hi,
As I understand to register a custom skin, you just have to create an xml file named "trinidad-skins.xml" and put it inside WEB-INF directory. To create an xml file, you should have chosen in the New Gallery the "XML>XML Document" and not "XML>XML Document from XML Schema". An of course after you created the XML file, you could modify the source.
A sample trinidad-skins.xml would be as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
    <skin>
        <id>princess.desktop</id>
        <family>princess</family>
        <extends>simple.desktop</extends>
        <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
        <style-sheet-name>skins/princess/princess.css</style-sheet-name>
    </skin>
</skins> Regards,
pino

Similar Messages

  • Trying to re-create our 10g custom skin in 11g

    Hi Everyone:
    We had a detailed custom skin and also utilized customized velocity templates that created a specific look and feel to our application in 10g. We used a header.jspx & leftside.jspx that were in the region-metadata.xml file. The JHeadstart team assisted a previous employee with setting all of this up.
    We are trying to convert our applications over from 10g to 11g and think that enhancements such as the "tree" layout will replace needing a leftside.jspx page that listed the menu links along the left side instead of folders across the top. We have gone through the 11g Tutorial and read chapter 19 "Applying Custom Skins to Applications" of the "Web User Interface Developer's Guide for Oracle Application Development Framework". While working on a simple webpage to start with in our application, we registered the custom skin as specified in "Applying Custom Skins to Applications", but things look very different, and I'm trying to get a handle on how to re-apply the look and feel now that this section of our application has been converted to 11g and properly utilize the new features of 11g that weren't available in 10g. To start with, we had a custom Logo on our Application that I would like to show up on the Header of the Application in the same spot where the "Oracle JHeadstart Demo" title is displayed. I am trying to study the custom_labels.vm velocity template, but am not sure where to apply this. The logo is in the form of a .gif file.
    Can someone tell me how to put our custom logo .gif file in the Header where the Oracle JHeadstart Demo title is displayed and have it generated through JHeadstart?
    Starting there can hopefully open up ideas on how to apply the rest of our look and feel utilizing all of the new features of 11g, not just replicating things as they were done in 10g.
    Thanks very much in advance.
    Mary
    UofW

    Hi Steven:
    Great to hear from you, I was hoping you'd reply :)
    I followed your instructions, and also changed the header and footer size attributes (headerGlobalSize & footerGlobalSize) to accommodate our larger .gif Logo. So far, so good. I made these changes in the default layout velocity template - jhsPageTemplate.vm which generates the JhsPageTemplate.jspx page. Starting to work toward the look and feel our users want. However, I was hoping to use the tree layout. I want to institute these changes in the JhsTreeMenuPageTemplate.jspx, but I am unable to find the velocity template that generates the JhsTreeMenuPageTemplate.jspx.
    Could you please tell me where it is?
    Thanks again, and Merry Christmas to you and yours.
    Mary
    UofW

  • Flash CS4 Custom Skin URL Problem

    Using Flash CS4, AS2 I'm attempting to load a Halo_Skin_3.swf skin in the FLVPlayback Component Inspector.
    The default skins in CS4 are limited, but the  Halo_Skin_3.swf is available in DreamWeaver and I prefer this one.
    The video plays fine using no skin or a Flash CS4 skin, but does not play if I insert Halo_Skin_3.swf in the URL text box.  This .SWF is located in root directory of the SWF I'm publishing, so the path isn't the problem.  Custome Skin URL is chosen in the skin drop down menu.
    Can anyone explain what I'm doing wrong?  Is this feaure limited to AS3?
    I know I'm behind the AS3 curve but I'm learning it in the background - not confident enough to utilize it yet.
    Thanks!

    Yes, the design850.com is my site.
    I have the swf movie file in the http://www.design850.com/herzog/ directory (and obviously the custom skin swf is in that directory as well).
    I have tried it both ways of referencing the skin swf as just CustomBlackExternalPlaySeekMute.swf and http://www.design850.com/herzog/CustomBlackExternalPlaySeekMute.swf but neither work.

  • Problem with css reload (custom adf skin)

    I have defined a custom skin but changes in the css does not immediately show in the page. I have not figured out what triggers a rreload of the css. When I delete the generated css from the embedded OC4J a new one i immediately created but with the old values.

    Hello,
    This depends on the version of ADF your using.
    If its 10G, as far as I know, changes will only get picked up after a redeploy and even then you need to force the browser to re download the css (using a force refresh, shift + F5 or the refresh key normally)
    If its 11G, the redeploy should not be needed as long as you force a browser refresh.
    As long as the previously mentioned context parameter is present:
      <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>true</param-value>
      </context-param>-Anton

  • JDeveloper 10.1.3 EA1 and custom skin problem

    It appears that my custom skin I created using ADF EA19 no longer works with JDev EA1. Is this a known issue, or is there something extra I have to do now to get my custom skin to work correctly?
    The funny thing is that some of my custom images (e.g.. commandButton) work fine, but none of my color or font changes appear to work.
    Any help would be appreciated. Thanks.

    Oops, just 1/2 answered my own question.
    Firefox appears to be caching something, as if you hit the refresh button, colours will change according to your css file modifications. Is there some sort of assumption by the browser that the css file will change rarely, so it doesn't check for a new version when the page is loaded?
    However hitting the refresh button doesn't change the font to one of the random fonts on my system. Oddly it works in Internet Explorer though. Is that because IE knows my system fonts, while Firefox doesn't?
    To change the font I added the following entry to the purpleSkin.css file:
    .AFDefaultFontFamily:alias {font-family:Courier New;}Questions.... questions....
    CM.

  • Custom Skin : can't see my new skin in skin editor

    Hello
    I'm trying to create a custom skin, following this tutorial :
    http://www.adobe.com/devnet/captivate/articles/skins_03.html
    Actually, the first thing I've tried is to duplicate an
    existing skin and rename it (Glass -> GlassModified) .swf and
    .fla files in C:\Program Files\Adobe\Adobe Captivate
    3\Gallery\PlaybackControls\SwfBars and C:\Program Files\Adobe\Adobe
    Captivate 3\Templates\PlaybackFLA
    but it doesn't.
    Then my quesiton : do I need to "register" my new skin
    somewhere ?
    Thanks for your help

    Hi Colin
    Did you restart Captivate after you installed the new skin??
    I seem to recall from another post that this was the problem as
    Captivate needs to restart to accept the new skins.
    Cheers
    Andrew

  • Mouse events ignored in custom skin

    I created a custom skin for my spinner. While I managed to get the layout this time, it seems that all mouse click events are ignored.
    package ch.sahits.game.javafx.control.skin;
    import java.io.InputStream;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.collections.ObservableList;
    import javafx.event.EventHandler;
    import javafx.geometry.Dimension2D;
    import javafx.scene.Group;
    import javafx.scene.control.TextField;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.HBox;
    import javafx.scene.layout.VBox;
    import ch.sahits.game.javafx.control.OpenPatricianSpinner;
    import ch.sahits.game.javafx.control.TextSizingUtility;
    import com.sun.javafx.scene.control.skin.SkinBase;
    public class OpenPatricianSpinnerSkin extends
            SkinBase<OpenPatricianSpinner, OpenPatricianSpinnerBehavior> {
        private TextSizingUtility sizing = new TextSizingUtility();
        public OpenPatricianSpinnerSkin(final OpenPatricianSpinner spinner) {
            super(spinner, new OpenPatricianSpinnerBehavior(spinner));
            Dimension2D dim4heigth = sizing.calculate(1, spinner.getFont());
            double width = 0;
            for (String word : spinner.getOptions()) {
                Dimension2D dim4width = sizing.calculate(word, spinner.getFont());
                if (dim4width.getWidth() > width) {
                    width = dim4width.getWidth();
            Dimension2D dim = new Dimension2D(width, dim4heigth.getHeight());
            String firstValue = "";
            if (!spinner.getOptions().isEmpty()) {
                firstValue = spinner.getOptions().get(0);
                spinner.selectedIndexProperty().set(0);
            HBox hbox = new HBox();
            final TextField textField = new TextField(firstValue);
            textField.getStyleClass().add("openPatricianSpinner");
            textField.setMaxSize(dim.getWidth(), dim.getHeight());
            textField.setEditable(false);
            InputStream is = getClass().getResourceAsStream("SlabUp.png");
            Image img = new Image(is);
            double imgWidth = img.getWidth();
            final ImageView imgViewUp = new ImageView(img);
            is = getClass().getResourceAsStream("SlabDown.png");
            img = new Image(is);
            final ImageView imgViewDown = new ImageView(img);
            double additionalWidth = Math.max(img.getWidth(), imgWidth);
            is = getClass().getResourceAsStream("InputPlank.jpg");
            img = new Image(is,dim.getWidth()+additionalWidth, dim.getHeight(), false, true);
            final ImageView imgViewPlank = new ImageView(img);
            imgViewPlank.onMouseReleasedProperty().addListener(new ChangeListener<EventHandler<? super MouseEvent>>(){
                @Override
                public void changed(ObservableValue<? extends EventHandler<? super MouseEvent>> ov,
                        EventHandler<? super MouseEvent> oldValue,
                        EventHandler<? super MouseEvent> newValue) {
                    System.out.println("Clicked on plank");
            Group textGroup = new Group(textField);
            VBox vbox = new VBox();
            vbox.getChildren().addAll(imgViewUp, imgViewDown);
            hbox.getChildren().addAll(textGroup, vbox);
            Group background = new Group(imgViewPlank,hbox);
            imgViewUp.onMouseReleasedProperty().addListener(new ChangeListener<EventHandler<? super MouseEvent>>(){
                @Override
                public void changed(ObservableValue<? extends EventHandler<? super MouseEvent>> ov,
                        EventHandler<? super MouseEvent> oldValue,
                        EventHandler<? super MouseEvent> newValue) {
                    ObservableList<String> options = spinner.getOptions();
    System.out.println("Clicked on slabUp");
                    if (!options.isEmpty()) {
                        if (spinner.getSelectedIndex() > 0) {
                            spinner.selectedIndexProperty().subtract(1);
                            String newDisplayValue = options.get(spinner.getSelectedIndex());
                            textField.setText(newDisplayValue);
                        } else {
                            System.out.println("Selected index <= 0");
                    } else {
                        System.out.println("Empty options list");
            }); // end up change listener
            imgViewDown.onMouseReleasedProperty().addListener(new ChangeListener<EventHandler<? super MouseEvent>>(){
                @Override
                public void changed(ObservableValue<? extends EventHandler<? super MouseEvent>> ov,
                        EventHandler<? super MouseEvent> oldValue,
                        EventHandler<? super MouseEvent> newValue) {
                    ObservableList<String> options = spinner.getOptions();
    System.out.println("Clicked on slabDown");
                    if (!options.isEmpty()) {
                        if (spinner.getSelectedIndex() < options.size()) {
                            spinner.selectedIndexProperty().add(1);
                            String newDisplayValue = options.get(spinner.getSelectedIndex());
                            textField.setText(newDisplayValue);
                        } else {
                            System.out.println("Selected index >= options.length");
                    } else {
                        System.out.println("Empty options list");
            }); // end up change listener
            onMouseReleasedProperty().addListener(new ChangeListener<EventHandler<? super MouseEvent>>(){
                @Override
                public void changed(ObservableValue<? extends EventHandler<? super MouseEvent>> ov,
                        EventHandler<? super MouseEvent> oldValue,
                        EventHandler<? super MouseEvent> newValue) {
                    System.out.println("Clicked on Skin");
            getChildren().add(background);
    I would at least expect to see the line 134 printed out. I call this spinner from a simple test application, without any event listeners added there.
    Has anyone an idea what might happen here?

    Hello, you don't register an event handler, you register a listener on the event handler property. So you don't listen for clicks, you listen for changing the registered click handler. You need to register the handler like this:
    imgViewDown.setOnMouseReleased(new EventHandler<MouseEvent>() {
         @Override public void handle(MouseEvent event) {
              // your handler
    This way you set the mouse release event handler which will be called on click. This code, by the way, would fire your listeners (the onMouseReleased property has changed).

  • Problem in  creation of Customer Master

    Hi gurus,
    I am facing problem in creation of customer master.
    I have created a account group zz01 copying from 0001.which has internal no. assignement for the customer.
    Now i am trying to create a customer master, at partner functions level under sales area data...  the system is asking for the no. for each partner functions.. when i tried to manually enter, the system is not taking any number nor it is letting me save the data.
    Please help me out in acertaining,  what could be the issue.
    regards
    Gupta
    [email protected]

    its due to the number ranges that is specified in the partner determination ... chech what is the number range assigned in the parner determination ,,, so once u check that u have to manually enter the number between that range only .. this should solve ur problem...
    path to check the number range is as below :
    spro-img-logistic generalbusiness partner-customers---define account groups and field selection ---    
    at this point click position button at the bottom and give ur account group .. select ur account group and click detail button .. now inside that u can see the specified number range .. dafault is 08 ( means u can specify between 400000 to 499999)..
    and some times  u may not have defined number range... check urs and create accordingly ... this should solve ur problem...
    rewards if solved ..
      thank you
    madhan

  • TS1646 hello  I have problem with regist my visa and I cannot buy from store the message came in the end of form is says the phone number must be a 7-digit number and I have writed but not accepted iam from saudi arabia my mobile is 966504850992 pls answe

    hello 
    I have problem with regist my visa and I cannot buy from store
    the message came in the end of form is says
    the phone number must be a 7-digit number
    and I have writed but not accepted
    iam from saudi arabia
    my mobile is 966504850992
    pls answer
    thanks
    dfr aldossary

    Wow, Karan Taneja, you've just embarrassed yourself on a worldwide support forum.  Not only is your post ridiculous and completely inappropriate for a technical support forum, but it also shows your ignorance as to whom you think the audience is.  Apple is not here.  It's users, like you. 
    If you would have spent half the time actually reading the Terms of Use of this forum that YOU agreed to by signing up to post, as you did composing that usesless, inappropriate post, you (and the rest of us on this forum) would have been much better off.

  • Facing some problems in creating a custom tabs in CRMD_ORDER Transaction

    Hi Friends,
    I am facing some problems in creating a custom tabs in CRMD_ORDER Transaction code in Solution Manager of SAP.
    Actually my requirement is adding of two tabs(one is header & another is item tab) in the above Transaction, i was able to put one tab i.e header tab but i was not able to keep item tab. i found a badi CRM_CUSTOMER_I_BADI in which documentation was given & i processed in the same way.
    For information i used the Badi CRM_CUSTOMER_H_BADI for header tab which i was able to add the tab & all functions like change, save working Good.
    But i want how to add custom tab in which item details were to be attached.
    i was done with the necessary SPRO settings(or Tcode CRMV_SSV) & able to see the 2 tabs thats it, but the functionality save is not working for the second tab & not saving in table CRMD_CUSTOMER_I (in this table there is one CI include where we added our item fields).
    And also i had a doubt whether to use ALV or Table Control. And if possible can any one can sent me the screen design & the code for the above requirement in detail.
    can any one who have knoweldge in Solution Manager & in the above Badi implementation can give me a right solution which will help me a lot.
    Thanks a lot in advance.
    Thanks
    Ravi.
    can any one give the solution regarding to the above one.
    Edited by: ravikanth on Jul 23, 2008 8:13 AM

    Hello Priyanka,
    I have the same problem by using Service Ticket in SAP CRM 5.0.
    Did you already solved this issue? If so, can you please provide the solution!?
    How can I activate and check the transfer log?
    Thanks and regards
    Alex

  • Customized Skins in Non-English Projects

    I have a customized skin that when used non-English projects,
    it omits special characters in the buttons for Contents and Index.
    I didn't create the skin so I don't have Flash. Any suggestions on
    how to fix the buttons to display the missing characters?

    If she's no longer with the company and she was using Flash,
    could it by chance be a company license for Flash that you could
    take over...?
    Rick referred to the LNG file, which exists in both the
    source files and the output files. Do the copying and pasting with
    the source versions. (The output version will be overwritten from
    the source version every time.)
    If Rick's suggestion doesn't work, the only other thing I can
    think of would be to check the .fla files themselves in Flash. The
    person who tweaked the files may have done something to the dynamic
    text fields for the button labels. If you can get a copy of Flash,
    you could check two things on the button label text field
    (double-click the Label object twice to get to this point):
    1. See if "Use device fonts" is selected in a dropdown on the
    left side of the Properties panel. This selection won't let you
    embed fonts. If it's selected, try #2 below instead. If it isn't,
    select it, export the movie, and put it in your output files.
    2. Change "Use device fonts" to "Anti-alias for animation."
    Click the Embed button. Select every option with Latin in it, and
    click OK. Export to a movie, and put it in your output files.
    Note that you'd have to do this for each button that isn't
    displaying the characters properly.
    Hope this helps,
    Ben

  • How to Register a Custom Template for Accounts Payable

    How do I register a Custom Template for Accounts Payable?

    Found this thread on the forum: Registering Template in Oracle Applications
    Take a look to see if the thread helps..

  • How to register a custom MBean in weblogic 9.1

    Dear All,
    In weblogic 8.1, I usually register my custom mbeans using the <startup> tag in config.xml file. But in weblogic 9.1 I can not do this. <startup> tag is unrecognizable in weblogic config.xml file. Anybody knows how to write a java program and run it to register the custom MBeans?
    Regards,
    Fahad

    I never promote the method the deletion unless you understand the underlying tables of planning, if you search on the forum you will see posts on the subject just like this one - Delete dimension from planning application
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to register a custom HCM module/application in Fusion Application

    Hi All,
    I am working on a Fusion Co-existence project and one of the requirement we have to create/register a custom application/module In Fusion Apps(Just like Creating Entry in FND_APPLICATION IN EBS).
    Once created we want it to be linked to a custom schema and custom Linus directory structure as well.
    Any help would be highly appreciated.
    Thanks,
    Ankit

    Hi Jani,
    We haven't deployed any application till now; Infact we are not even sure of it as we are EBS People predominantly. Here is what we need and Why:
    We are developing a custom integration to support the Data translations migrations from EBS to Fusion Apps in a co-existence environment. Solution is basically consist of :
    1.Extract the Data in Flat File using a Concurrent Program from EBS R12
    2.FTP the file to Fusion Server
    3.Read the file and write into Staging table using the SQL*Loader in Fusion Apps through a custom ESS Job
    4.Data validation and Import program in Fusion Apps through a custom ESS Job
    Since this is a custom solution The ESS Import/Validation jobs in Fusion Apps need to be register within a custom module (Like lets say XXHR). So the staging tables need to be created should be tied to custom Database schema linked with this application and the Files to be palced in the Fusion Server should be placed under the Custom XXHR_TOP/bin directory. Also the ESS job shold be registered with the custom application.
    So we are looking for a complete help on this.
    Hope it clarifies your questions.
    Thanks,
    Ankit

  • Can you call a public method in a custom skin?

    I made a custom skin for a button. In the skin there's a method to change some text. Can I call this method from my application?
    I get an error message when I try to call it like a normal object:
    uploadNewBtn.setNewPhotosLabel("test");
    Error 1061: Call to a possibly undefined method setNewPhotosLabel through a reference with static type spark.components:Button.

    You said it yourself, the method is inside skin not the HostComponent (button in your case). Obviously you cannot call it.
    There is a skin protperty inside SkinnableComponent, but it is typed as UIComponent so you still cannot cal it on the skin without casting. I don't know your use case, so in theory you either push the text/label from the host towards the skin, or you listen or bind from the skin on the hostcomponent.
    C

Maybe you are looking for

  • Safari 5.1.7 crashes iMac OS 10.6.8

    After my update to 5.1.7 Safari starts up without my preferenes, and constantly re-installs add bloc. If I click Safri/Preferences, I get no movement.  On teh second effort, Safari crashes and produces the following crash report?  Any suggested remed

  • Updater error message

    I just bought into the cloud scam. one update later, I get this message everytime I try to access the installer Error code: A12E1 OS 10.7.5 Please explain how to receive the service I have paid for. If you have no solution please explain how to get a

  • Opening multiple-record form in query mode

    Hi, I have two problems: 1. I have a portlet form based on a table that I would like to open in query mode. I've tried this code: - in the "..before displaying the form" block : WWV_MASTER_GENSYS_4 ( p_block_name => p_block_name , p_object_name => p_

  • Missing Result Rows on Query with Conditions

    I have a query that has a condition to show only items over $2500.00.   We have a result row that shows for plant when the condtions is not on but once the condition is set that result row goes away.  Does anyone know how to get a result row to show

  • Laptop Restarts randomly and Freezes with graphic errors

    Hello, I've been having some strange issues with my computer and would like some help with determining the cause. It will do the following: 1. Restart randomly. Screen goes dark and immediately jumps to the Toshiba screen that is seen when the system