Can I include my own style definition in a .xss file for a custom laf?

I am trying to create a custom look-and-feel within UIX to get it as close as possible to
our existing application's look-and-feel.
So I have an elance-laf.xml which points to an elance.xss stylesheet.
In elance.xss, I override some of the simple laf styles.
In addition, I also want to define my own styles.
so elance.xss looks something like this:
<?xml version="1.0"?>
<styleSheetDocument xmlns="http://xmlns.oracle.com/uix/style">
<styleSheet>
<style name="DefaultFont">
<property name="font-family">Courier</property>
<property name="font-size">14pt</property>
</style>
<style name="ButtonServerText">
     <property name="background-color">#CEC992</property>
</style>
<style name="myStyle">
     <property name="background-color">#8397AF</property>
</style>
</styleSheet>
</styleSheetDocument>
The problem is that "myStyle" never makes it to the automatically generated
cabo/styles/cache/elance-desktop-2_2_8-en-ie-6-windows.css
Is this not allowed?
I need this because I will be writing some custom template
based renderers where I would want to use my own styles.
Any help is greatly appreciated.
Thanks,
Jayesh Kapoor

Hi Jayesh -
The XSS language supports two different types of styles: named styles and selector-based styles.
Named styles are used to define a set of style properties that are referenced by name from other styles (using the <includeStyle> element). These styles do not show up in the generated CSS style sheet - they are used to simplify the XSS style sheet definition.
Selector-based styles are associated with a CSS selector instead of a name. These styles do show up in the generated style sheet.
So, if you want to define a CSS style, you'll need to specify a selector-based style instead of a named style. That is, instead of:
<style name="myStyle">You want:
<style selector=".myStyle">Note that I added the "." prefix to your style name to indicate that it is a CSS class selector.
Andy

Similar Messages

  • HT2486 how can I export the contact book data to a csv file for editing?

    how can I export the contact book data to a csv file for editing?

    You can edit a card right in Contacts. No need to export and re-import.
    Select a name and on the right side, click the Edit button:

  • Can I include 2 diff strctures in d same wsdl file in a webservice scenario

    Hii all,
    We are using webservice to webservice scenario in which sender shld b able to send all the new rquest to the target and receive any updations or modifications from the receiver.
    Few fields are different for request and modification structures. so i created 2 diff structures for source and target.
    can any one suggest me who can i use single wsdl file for both the msgs( Creation and modifications) mean how to implement multi maping ( 1 to many) using wsdl
    Regards
    Anu

    A simple way to include the 2 structures in one WSDL would be to create a combined structure similar to the one below:
    <RequestPackage> (1 occurrence)
       <Request> (0 to n occurrence)
          <Create> (0 to 1 occurrence)
             ... Create Fields u2026
          </Create>
          <Modify> (0 to 1 occurrence)
             u2026 Modify Fields u2026
          </Modify>
       </Request>
    </RequestPackage>
    This is more complex than using 2 wsdls but it would allow you to easily send multiple create and modify records in the same message.
    - Craig

  • How can i include Services and Bindung in a generated WSDL file?

    Hi,
    i what to use a generated wsdl file from an erp system, to build a web service client with WSDL2Java (org.apache.axis.wsdl.WSDL2Java).
    I noticed, that services an bindings are missing, also a policy is included.
    How can i include services and bindings in the wsdl and exclude the policy?
    Thanks!

    well, I assume you have SOAMANAGER.
    choose your service & "Apply Selection" (very useless button btw)
    select a binding in the dropdown box or create on if you do not have one yet
    Click button "Show WSDL options" (actually they do not really look like buttons in WD; call it yellow blot)
    Some extra config area is thrown onto your screen (without any sense for usability or design); Change the radio button for WSDL format from "WS policy" to "Standard"; make sure the first radio button group is on "True" for monolithic
    Now click the link (why is this a link and no blot?) called "Display selected bindings WSDL URL"
    an extra text field is again thrown onto your screen somwhere between the dropdown and the WSDL option config area containing an URL (get out your glasses if you don't see the sub-10pt-letters)
    hope it helps,
    anton

  • Can't See New Layer Styles In PS Elements V. 6 For Mac

    Can someone tell me why I cannot see new styles after I have installed them in PS Elements V6 for Mac. I have used Elements 4 for Mac for about a year, and I've just recently bought the new version. The book says you install them the same way in V. 6 as I did in V4. But they do not show up in the drop down list.  I use styles a lot in V. 4. Thank you.

    I did just as you said -- deleted both the mediaDatabase.db3 and the thumbdatabase.db3 -- they were not in folders other than 6.0 folder. I'm not sure what you meant by "repair permissions", but it did run through rebuilding itself after I restarted PSE.
    Do you think it might help if I created XML files? I read something about them in the manual, but it sounded so difficult, I was afraid to try it. 
    I really appreciate your help. Thank you.

  • So I think there should be an app with flash cards that you can fill in your own info with. I'm studying for a test, and how awesome would it be to have my flash cards on my phone!!! Is there already an app like that?

    I think there should be a flash card app that let's u put in ur own info. I'm studying for a test and I think it would be really cool to have my flash cards in my phone!! Is there an app like that already?

    http://www.appshopper.com/education/flashcards

  • Can I create a "carousel mode" slideshow file for a customer?

    I've shown a customer the bridge review mode and now they want a version to use on their ipad.
    They don't have any Adobe products. Ipad so no flash.
    Can I use lightroom or similar to create something like review mode, but for use it outside of CC?
    THanks

    Creating a new file with the extension Filename_responses will not collect the previously distributed form data. If you have the original _responses file, try copying it back to the actual location. However, the information for the distributed forms are still saved in a file named "adhocWorkflow". The information inside this file  determines the distributed form data and other workflows.

  • Where can I find the files for my custom amp presets?

    I've gone through and created a tonne of custom amp presets in Garageband that I would like to manually backup. Does anyone know where these files are kept by Garageband?
    I have located the presets that come with Garageband in Library / Application Support / GarageBand / Instrument Library / Track Settings / Real / Guitar Track
    I need to find where all my tweaked presets are saved!
    Many thanks in advance,
    Ben

    Ben,
    your own Track Settings are kept in your User Library in your Home Folder:
    /Users/your user name/Library/Application Support/GarageBand
    If you are using MacOS X 10.7 or later, your user library is hidden; probably that is why you did not find the files.
    To reveal your user library in the Finder use the Finder's "Go" menu: Click "Go" in the main Finder menu bar, then hold down the "Alt/Options" key ⌥, until "Library" appears in the drop-down menu. Click "Library" to reveal it in the Finder and select the "Applications Support" folder, then the "GarageBand" folder. This will contain all your custom Instruments.
    Regards
    Léonie

  • Can I increase swap size by just adding a swap file for permanent?

    Hello,
    I am doing installation of oracle 11gR2 database on Linux.
    the swap area size is not enough. so can't go thought OUI's pre-system check before installation.
    the system administrator says, he really feel hard to find out any free uppartitioned disk space for adding more to current swap.
    he wants me to see if he can add a swap file (rather than an entire device/partition) for swap space.
    I checked docs:
    How to Create a Swap Device on Enterprise Linux [ID 432991.1]
    it says,
    "If no free, unpartitioned disk space exists, a swap file (rather than an entire device/partition) can be used for swap space as a *temporary*"
    but why temporary? why not permanent (I don't want to have trouble in future) is there anyone can help me to confirm?
    Thank you very much in advance.

    995137 wrote:
    HI Osama,
    thank you for answering.
    To my understanding, there should be no harm for database in future, f we increase swap size by adding a swap file, right?
    many thanks !!!Right!
    add another swap file

  • Can I import my own custom album art for my own music in iTunes?

    Is the album artwork feature just for downloads from the iTunes store? Or can I import my own cover art as a JPEG, say, for music that I have created? Thanks, Scott

    Thanks, Chris. Good suggestion. But the problem hasn't gone away. Here's what I did:
    I ran Repair Permissions but it did not solve the problem. Then I ran verify disk and it checked out OK. Then I ran verify disk permissions and got these 3 i-Tunes related items in the results:
    Permissions differ on "Applications/iTunes.app/Contents/CodeResources", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "Applications/iTunes.app/Contents/Frameworks/iPodUpdater.framework/Versions/A/C odeResources", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/CodeResou rces", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Then I ran repair disk permissions a second time, and the same 3 i-Tunes-related "permissions differ" items showed up in the results. Problem still not solved.
    I dug down to these 3 files. Only the iTunesHelper/Contents/CodeResources had a permissions setting available. It was set to rw-rw-r. I don't know what lwr might be or what to do about it if anything.
    Bottom line, I still can't drag my JPEG into the iTunes artwork box. Now it doesn't even flash.
    Thanks,
    Scott

  • Can Flex make a Design Tool with a quality output file?

    Hi there,
    I have a team of developers working on a web-based design tool for a large-format print shop. They built the prototype on a Flex platform and used ImageMagick to handle text and image effects.
    Unfortunately, ImageMagick cannot produce the quality of output file we need for our products (prints up to 3 ft by 6 ft / 1m x 2m). It rasterizes all of the design objects, including text and vector clipart.
    Is it possible for Flex to handle all of these elements (object rotation, scale changes, etc.) and output a final design to high quality PDF or AI files without ImageMagick?
    I'm just not sure if my developers are missing something or if they're just not communicating the technical challenges involved in creating such large, high quality output files for a custom, web-based application.
    Many thanks in advance for any insight!

    I'm still not sure I understand what you need.  Sounds like the image map is the same for all the pages, but the image itself is different, although the images are the same size on each page.  Is that it?
    In that case, you could do this in a number of ways, but the best might be -
    Make the page have a transparent PNG/GIF image the same size as the map that has the 5 mapped areas defined on it.  Make the container for that image have a CSS BACKGROUND image that is the actual map.  Specify this CSS background image's path in an embedded stylesheet in the editable region of the head of the page.
    With this as the template, all you need to do on each page is to respecify the background image - since the embedded stylesheet is in an editable region that's do-able.  In other words the TEMPLATE would be -
    <html>
    <head>
    <!-- TemplateBeginEditable name="head">
    <style type="text/css">
    #foo {
         background-image:url(path_to_map.jpg);
         background-repeat:no-repeat;
    </style>
    <!-- TemplateEndEditable -->
    </head>
    <body>
    <div id="foo">
         <img width="map_width" height="map_height" src="transparent.png" usemap="#foomap">
    <map name="foomap">
    </map>
    </body>
    </html>
    The map image can, itself, be in an uneditable region of the page....

  • Where can i find occi inlcude file for linux

    anyone can tell me where i will find the occi inlcude file for linux application development. i search them for a lot time. thanks

    oh , i have cpoy these include file from another machine that run oracle10g in linux.

  • Exporting ENUM definition to DLL header file

    I have a VI that takes an ENUM as an input to select a command to be performed. This VI is part of a DLL to be called from C.
    I would like to see the ENUM definition in the header file for the DLL so that the C program can use the same symbolic names for the commands that I
    am using in my case selector within the VI.
    Is there a good way to do this?
    When I generate the DLL the parameter is shown simply as a uint32_t (I have the ENUM defined as 32 bit in LV rather than the default 16 bit).
    I would have expected that all ENUMs that are parameters or return values of any function going into a DLL would automatically be defined in the DLL's header...
    They really should be typedef ENUM definitions with the name of the LV control being given to the typedef by default.
    Any help is greatly appreciated.
    Thanks,
    Klaus

    You can export all items from an Enum Control using the "Strings[]" property. The values for enums always begin with zero and increment by one.
    Does this help?
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • I keep finding words on web pages (including my own) written in green and doubly underlined (described as 'Text enhance') that provide a hyperlink to "Groupon". HOw does this happen and how can I stop it?

    I keep finding words on web pages (including my own) written in green and doubly underlined (described as 'Text enhance') that provide a hyperlink to "Groupon". Why does this happen and how can I stop it?

    I dont want to "OPT-OUT"....i want it gone permanently!!

  • How can I change the paragraph style of the Table of Contents entries themselves?

    From what I can see, all Table of Contents entries are the same font, size, indentation and layout when the book is viewed in Portrait mode on an iPad. I have long subheadings in my Table of Contents, and they get truncated!
    How can I modify the style definition of the TOC entries themselves so that they will display in a smaller font size with less indenting, etc.?

    Modifying the TOC: http://support.apple.com/kb/PH2752?viewlocale=en_US
    Have you tried altering the style of the default items on the TOC page?

Maybe you are looking for

  • EDI Vendor outbound payment advice, idoc do not contain RE in the header

    Hi,     I am facing a critical issue on EDI vendor outbound payment advice idoc. Actually the IDOCs which i created do not contain the “RE” in the header record. This mandatory qualifier is located just before the SAP ID. The IDOCs which i created go

  • Billing docs are 2x posted to accounting

    Dear all, I am currently struggling with the following problem - would be great if somebody could help me with ideas about the root cause: VBRK-RFBSK -- 'Posting status' Accounting relevance of export billing docs was set to D -- 'not relevant' due t

  • SAP std pgm to re-trigger selected output types associated with sales order

    Hi, Can anyone help me providing the standard SAP Program which will do repeat output action for different output types associated to the sales order. Output Type ZA00 ZA01 ZA10 ZA11 ZML0 ZRN0 ZSA0 ZSA1. Thanks, Ramya Sanjana

  • Black & White in Greyscale

    I need to make an image that is Green & Black 'greyscale' instead of Black & White 'greyscale'. I tried the color replacement tool, while it works, it just changes the one color, either black or white, but none of the grey in between. I downloaded th

  • Problems with BusinessGraphics Gantt Chart: WebDynpro 7.1 SP3

    Hi, i tried the BusinessGraphics Gantt Chart and went through the Code Example for Displaying a Gantt Chart on: http://help.sap.com/saphelp_nw04/helpdata/en/a8/1cd93f5e0f9015e10000000a155106/content.htm Unfortunately my gantt does not look and behave