Importing Custom Style Sheets Into UiXML

Is there any documentation on importing custom stylesheets (.css files) into UIXML. Has anyone one done this or know of a workaround if it cannot be done?
Tks,
Booker Northington II

Hi Booker -
Thanks for the clarification. Here is a sample which shows how to import a custom CSS style sheet into a UIX document using the HTMLWebBean:
<?xml version="1.0" encoding="UTF-8"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:html="http://www.w3.org/TR/REC-html40">
<content>
<document xmlns="http://xmlns.oracle.com/uix/ui">
<metaContainer>
<head>
<contents>
<html:link rel="stylesheet" type="text/css" href="mystyles.css"/>
</contents>
</head>
</metaContainer>
<contents>
<body>
<contents>
<styledText styleClass="myStyle" text="Hello, world!"/>
</contents>
</body>
</contents>
</document>
</content>
</page>
Note: The <html:link> element inserts the HTMLWebBean which references the custom CSS file. We can then use styleClass="whatever" to reference the custom styles.
Andy

Similar Messages

  • Numbered List and Bulleted List w/ Custom Style Sheet

    Hi,
    I am a new user to RoboHelp 7, and must say I find it useful
    but also painful to use. Currently I’m trying to solve
    something that feels like a bug in RoboHelp 7, but before I give in
    and accept defeat I wanted to check with the forum.
    I have FrameMaker 8, and import the files to RH where I use
    them to create WebHelp projects.
    Here’s a short procedure:
    1. I Import my files with a predefined style sheet matching
    the FM styles.
    2. I also check the Convert to HTML list option and set all
    numbering and bullet styles to User defined.
    - After import RH does the usual thing and creates a bunch
    of style sheets on its own
    3. I select all the files from the Topic List pod and apply a
    new custom style sheet. This enables me to have one style sheet for
    all the HTML files with the right layout and formatting
    4. I generate the output, and RH uses the new style sheet
    reference
    The resulting HTML files shows that the output is not the
    same as the generated HTML shown in RH’s HTML editor view
    - Editor view: <li class=”style”>
    - Browser view: <li>
    6. If I make a change (e.g. add a space) and save the HTML
    file, and generate the project again the HTML is correct in the
    browser
    One could argue that it’s not a big problem; however,
    with a large project this is starting to look more like a nightmare
    Does anyone know of this problem, and if so can it be fixed?
    Kind regards,
    Jon

    Is this the time when I get really angry at Adobe for creating the worst FrameMaker/RoboHelp integration ever? No! However, I must admit that I'm amazed that they are unable to solve an important feature as conversion of lists from a FrameMaker document to a RoboHelp WebHelp project. When I say conversion I mean a clean conversion with minimal interference from RoboHelp that allows me to use CSS to its full extent.
    Here's the problem, and this was also the problem with RoboHelp 7 and FrameMaker 8. BTW, I use standalone versions (not TCS 1 or 2).
    Figures: First image depicts FrameMaker 9's Paragraph Designer and the Autonumber format for a paragraph named VizNumbered. Second image depicts the RoboHelp 8's conversion setting.
    FrameMaker uses Autonumbering in front of paragraphs to create lists. This means that you in RoboHelp need to manage two formats, the autonumber and the paragraph style.
    RoboHelp does of course not (by default) use Autonumbering in front of paragraphs because a RoboHelp WebHelp project is HTML based, and list tags in HTML can perfectly handle any formatting of text etc.
    RoboHelp will convert, when "Convert Autonumber to HTML List" is selected, the Autonumber in FrameMaker to a list tag (LI). By default this will generate a list with a lot of margin, font and other CSS properties that tries to simulate the way the list is laid out in the FrameMaker document. In addition to the list tags it will convert the FrameMaker paragraph to a P tag which it inserts within a list tag. The issue you will experience with this is that indentations with the paragraph tag does not align properly between line 1 and 2. At the same time the WebHelp project will not look the same in IE, Firefox or Chrome. That is, Chrome and Firefox will look the same, and IE different. IE has the WYSIWYG feel, but it does not comply well with W3C standards (i.e. using P tags enclosed by LI tags is not a good idea ...).
    Selecting "Convert Autonumber to RoboHelp List" does something similar, but is not recommended at all!
    So, here's the big question. How can I make sure RoboHelp understands that I ONLY need to define a list tag with a CSS class attribute attached to it?
    Today I basically only get the following:
    <li><p class=""></p></li> or,
    <p class=""></p>
    What I want is the following:
    <li class=""></li>
    Can this be solved with today's versions, can anyone help me, or do I have to wait for the Adobe development team to realize this and to fix it?

  • Is Custom Style Sheet Working?

    I'm trying to use a custom style sheet, in order to block ads, but I don't think it works in this version of Safari. (on OS X 10.4, I use a custom CSS file and it works great.) In the Windows beta, it does nothing.
    I even tried a simple custom style sheet to hide all images:
    img { display: none ! important }
    and set that, but all image still display.
    So, is it broken??

    Cool! That does work.
    Except...
    I had downloaded the nightly Webkit build for Windows (nightly.webkit.org) - which btw has the nifty "inspect Element" menu item enabled!
    But - that doesn't like the custom style sheet - Safari would crash every time I tried to load a page that had some element that would have been blocked. I even tested it with a simple custom stylesheet that just has:
    img { display: none ! important };
    At least I don't have to wait long to try it with a new Nightly build!

  • Load or import custom style mapping in link options – is that possible somehow?

    Hi Everyone,
    I'm working with Instructions for Use and Technical Manual documents in InDesign. I'm constantly fine-tuning our templates, and now I have to refresh them again, because of a brand refresh. I'm using the Custom Style Mapping in the Link Options panel a lot, because it helps us to copy the text from older documents to the new ones with the right formatting, with less effort. The only thing I miss is the “Load/Import Custom Style Mapping” option from this panel.
    Do you know if there’s any options to export/import/load these mappings somehow from one document to another? Is it possible to write a script for that? I find this part of InDesign quite unattached, it seems to me (based on my search) that no other people are using it. I feel lonely, help me here!
    (I have created many new mappings in an older document, and I’d like to be able to use them in the new templates as well, but I can only do that if I map the styles again. And it’s quite time consuming. Maybe I'm just using too many paragraph styles, I have no idea – this could be another question: what is too much when it comes to styles...)
    Thanks a lot,
    Zita

    Sync is not intended to be used as a backup service like you are talking about, but it will work as long as you save the Recovery Key, as Jefferson mentioned (you also need your Sync Username ''[email address you used]'' and your account Password).
    Mozilla has just started working a new "cloud service" that is code named '''PiCL''' for "Profile in CLoud", which I am expecting will be a lot easier to use and might allow the user to access their bookmarks and other data from the internet without adding a "borrowed" PC to your Sync account.

  • Custom style sheets

    hi,
    I want to create custom style sheets which has some new styles that I can specify but these styles use the styles from blaf.xss and i can overwrite the properties of those styles!
    I was successful in overwriting the blaf styles but I want to have my own style tags. I just want to have different names because, right now if I want to change the background color of a <rowLayout> I had to use the styleClass="OraBgColorDark" in the <rowLayout> tag which inturn uses the <style name="DarkBackground" > and in my custom.xss i had to overwrite the <style name="DarkBackground" > and provide a property called "background-color" with a certain color that I wanted. But what if did this
    <style name="MyColor">
          <!-- this is from the balf -->
          <includeStyle name="OraBgcolorDark">   
          <property name="background-color">#FFFFC0</property>
        </style>In the rowLayout i could specify the styleClass like this styleClass="MyColor"!!!
    I tried it but didn't get it to work. Can anyone suggest me the possible reasons or how I can reach my goal to have a stylesheet that has its own new tags that i could use?
    regards,
    raj

    please disregard the post. Read the Jdev doc a bit more and found the solution.
    regards,
    raj

  • Km/docs/etc/wpceditor/css/runtime/ is using all custom style sheets(runtime

    Hello ,
    I am using km/docs/etc/wpceditor/css/runtime/File.css for web content where File.css is a custom stylesheet. This works fine. If I upload more than one custom style sheets, all of them are simultaneously used even though am only referencing one style sheet in the custom JSP layout. How can I use only one custom style sheet that I reference in my JSP layout:
    <LINK REL="stylesheet" HREF="irj/go/km/docs/etc/wpceditor/css/runtime/File.css" />

    Hi Vishal,
    Can you be more specific when you said
    "But if some styles does not match in that specified css Then it will refer the other css present at runtime folder."
    In my case,am using 3 custom style sheets(File1.css, File2.css, File3.css). At run time, all my pages are using all 3 style sheets, even though, I have referenced only one stylesheet in the JSP layout:
    <LINK REL="stylesheet" HREF="irj/go/km/docs/etc/wpceditor/css/runtime/File1.css" />
    Thanks for your response.

  • Using custom style sheet for UI  presentations

    Hi...
    is there a possibility to use custom stylesheets for UI presentations in BPM ???
    if so how do i link the custom stylesheet to my workspace so that i get the desired output on my UI screens.
    The only style sheet i see fro UI is fo_style.css

    You first will need to import the CSS file into your project. You do this by right clicking on the webResources folder located under the WebRoot branch of your project tree. This will present a short menu to you, and one of the options is Import Resources. Browse to your CSS file and click Open.
    Next you need to open your ALBPM Presentation and open the Properties window. Set the CSS Support property to True, and then select the imported CSS file under the CSS Filename property.

  • How to include custom style sheets in BI 7 WAD (Web Reports)

    Hi,
    I have WAD in 3.X, where I have used custom stylesheets. Now I need to use the same style sheets of 3.x development in BI 7 WAD.
    How do i achieve this?
    Regs, Arka

    Hi,
    Stylesheets cannot be included via the Web Application Designer for BI 7.0 web templates. You need to use the Theme Editor of the Portal instead. Please refer to the documentation:   
    http://help.sap.com/saphelp_nw70/helpdata/de/f4/bb7a3b688d3c1de10000000a11402f/frameset.htm
    Best regards,
    Janine

  • Scripting the import of style sheets

    Hi Community,
    first of all I'm not an InDesign operator but I try to help a colleague. My question is, if it is possible to import one or more style sheets in InDesign documents without the need to open these documents and without the need of an installed InDesign application on the target server? We are programming a template for using with an InDesign server based application and need the information if it is possible to import new or missing style sheets without downloading each finished document, import the new style sheet and upload it back to server. A workaround with a shell script or something like that, would be very helpful.
    If there are one or more possibiliies it would be great if somebody could point me in the right direction with a link to one or more tutorials.
    Thanks in advance & Bye Tom

    Hi,
    thanks but I think that the requirement, that I have to bring the new style sheets in closed documents, hosted on a remote server, is not covered with this kind of script. I'm not familiar with InDesign scripting but the expression app.activeDocument sounds like that the target document have to be at least accessible by the local InDesign client. But in our case this isn't possible. We only can execute a script on the target server and have to access hundreds of indd documents, stored in the file system of the server. Please let me know if I lose sight of something.
    Thanks for your attention & Bye Tom

  • Importing multiple excel sheets into DIAdem

    Hello,
    I have an Excel file with multiple sheets. I am trying to import data from cells on each sheet into DIAdem. I am capable of importing anything I want so far using a VBS Script, but only from one sheet at a time. In order to import from another sheet, I have to select that sheet on Excel, save the file and close it. Then the next time the file is accessed by DIAdem, it will open on the sheet that was last saved on.
    Is there a way I can create a VBS file that would check if there are any other sheets on the same file, move to a different sheet and import data from it? I am thinking some kind of IF statement that would realize when the last row from a sheet was imported, and then move on to the next sheet.
    Any ideas/comments/suggestions will be greatly appreciated!
    Thanks, Andy

    Hi arkangel,
    The GroupDefaultSet() command changes the default group, but that only affects ADDITIONS to the Data Portal after that point, such as new FormulaCalculation channels, excerpted section channels from VIEW, new ANALYSIS channels from an FFT calculation, etc.
    If you want to reference channels of the same name from multiple groups, and you have DIAdem 9.x, you can use the [GroupName]/[ChannelName] adressing scheme to query off the "Time" channel from multiple groups. If you have DIAdem 9.1, then you can also use the [GroupIndex]/[ChannelName], [GroupName]/[ChannelIndex], or {GroupIndex]/[ChannelIndex] adressing options. For example:
    For i = 1 TO GroupCount
    ChNum = CNo("[" & i & "]/Time")
    IF ChNum > 0 THEN Msg = Msg & "Group " & i & " --> " & ChnLength(ChNum) & vbCRLF
    NEXT
    MsgBox Msg
    For DIAdem 8.x you will need to use the CNo() function's optional second parameter (ChannelNoStart) in order to ensure that you start at the next channel AFTER the one you just found. Channel numbers was all there was in DIAdem 8.x.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to bring Sample CSS Style Sheets into a Template?

    I am creating a site from scratch using CS4 Template.  Can I incorporate more than one DW Sample CSS Style Sheet?  And how do I bring them into the Template site?
    Thanks, g

    Thank you.  I added the 3 sample css style sheets I want to use into my site.  Now I am trying to bring a different sample css into different sections of the layout.  Example:
    Sidebar 1: green/yellow
    Sidebar 2: red/yellow
    Middle: blue/yellow
    I seem to only be able to have one for the whole page.  Is this true?
    What I am doing is clicking on the div tag: <div.sidebar#sidebar1>, then "Edit CSS" and then scroll down in the Class window to "attach style sheet" and there at the bottom is a link to the sample css style sheets.  I click on the one I want and it changes the css for the whole page not just the sidebar 1. Is there a way I can get a different css sample style sheet for each sidebar in a 3 column layout, and a different sample css for the middle?
    thank you very much

  • Show and Share custom style sheet

    Is it possible to install a custom css on Show and Share? How can I do it?
    We have our own style sheet con our company's Look&Feel
    Thanks
    Manuel Blanco
    Sent from Cisco Technical Support iPad App

    Hi Manuel,
    At the moment, the Show and Share allows you to customize colors, background image and company logo.
    Installing a custom CSS would be an interesting Enhancement Request, I would recommend you to follow up with your Cisco Account team on this.
    Regards,
    Marco

  • How to bring 3 different Sample CSS style sheets into 3 different areas of DW Layout?

    I added the 3 sample css style sheets I want to use into my site.  Now I am trying to bring a different sample css into different sections of the layout.  Example:
    Sidebar 1: green/yellow
    Sidebar 2: red/yellow
    Middle: blue/yellow
    I seem to only be able to have one for the whole page.  Is this true?
    What I am doing is clicking on the div tag: <div.sidebar#sidebar1>, then "Edit CSS" and then scroll down in the Class window to "attach style sheet" and there at the bottom is a link to the sample css style sheets.  I click on the one I want and it changes the css for the whole page not just the sidebar 1. Is there a way I can get a different css sample style sheet for each sidebar in a 3 column layout, and a different sample css for the middle?
    thank you very much

    You can't bring 3 of the sample CSS style sheets together because there are defined areas like tables and lists and paragraphs that are just being redefined.  Then what happens is the browser picks (usually the last set) the instructions it wants to use to display the content.  The only way around this is to save a copy of the 3 CSS documents and open them at the same time.  Then use one as your master which will be linked to the page and grab colors from the other CSS documents.

  • Customizing Style sheets in Istore

    Hai,
    Is there any way to have multiple .css files pointing to the same minisite registered under the programmatic access name 'STORE_STYLE_SHEET'.
    if I am trying to do this through Store Administration UI then I get the following error
    Error in saving logical to physical mapping
    Error in saving logical to physical mapping
    ORA-00001: unique constraint (IBE.IBE_DSP_LGL_PHYS_MAP_U2) violated in Package IBE_PhysicalMap_GRP Procedure save_physicalmap
    Mapping for site 10040 and all languages exists already exists for deliverable 7473
    any help appreciated
    thanks
    pradeep.

    Two separate issues:
    Netscape references
    Instead of "first and foremost" Netscape code, is the idea
    that the Netscape browser configuration "needs" more code settings
    than do the other browsers. Netscape, if you were unaware, has
    traditionally set itself apart from other browsers (perhaps a noble
    attitude on their part, but definitely a pain for developers and
    users over the last dozen years).
    Style Sheets
    From
    XHTML & HTML: The Definitive Guide, C. Musciano & B.
    Kennedy: "Neither Netscape Navigator nor Internet Explorer support
    multiple <link>ed style sheets as proposed by the CSS2
    standard. Instead, they cascade all the <link>ed style
    sheets, with rules in later sheets overriding rules in earlier
    sheets." Further, "Netscape Navigator [email protected]
    Internet Explorer honors the ...@media at-rules, for both
    document-level and external sheets."
    Seems like your rants might be better directed to the browser
    folks, instead of RH.
    You don't say what your output is, but if it's WebHelp, you
    might be able to accomplish your stated goal by doing some
    post-processing work on the output. You'd need a good tool such as
    FAR, which can find &
    replace multiple lines in your HTM files. You can even set up batch
    files to run multiple changes to files.
    Good luck,
    Leon

  • New portal theme from a custom style sheet

    Hi,
    I want to create a portal theme using custom CSS sheets. Is there a possibility?? Any documentstion or other pointers would be helpful.
    Thanks,
    Vineeth

    Hi Vineeth ,
    I will recomend you not to do that as there are loads of CSS which consitute and make the theme for the Portal .What, i would recomend is to create a theme using standard portal provided functaionality and then edit the css for giving some special effects.
    you can find the CSS at
    usr\sap\<sid>\<instance>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps\com.sap.portal.design.portaldesigndata\themes\portal\sap_standard
    usr\sap\<sid>\<instance>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps\com.sap.portal.design.urdesigndata\themes\portal\sap_standard
    Thanx
    Pankaj

Maybe you are looking for

  • Invoice Payment Using Current Day's Exchange Rate

    Hello, The currency of our Mexico company code is peso. Sometimes, they enter invoices with a document currency of US dollar. The invoice will pick up the exchange rate applicable on the posting date of the invoice. So far, so good. On the day of pay

  • ITunes 7.2 won't open

    Installed 7.2 on my Core 2 Duo iMac, and now the program won't launch. I click the icon in the dock, and it appears to launch, but the main window never comes up. I can't even force quit the application; I have to completely restart the machine to ge

  • FTP Adapter Location - sending alerts

    Hi, we have a FTP adapter to receive files from FTP.  but i have a requirement like, if the file is not received in the specific time frame , then biztalk orchestration should send an error alert.  Is there any possibility to do it in Biztalk adapter

  • Understanding the use of interface class?

    Hello, This question referes to java servlets, but the questions is about java design. My wrox java server pages text, includes an example where some user data is posted to servlet. To process the data posted and store this, they created a interface

  • Webservice WSDL

    Hi All, I have punlished a EJB webService on the j2ee engine.I want to get the WSDL generated for my webservice, how can I get it? when I gho to the WebService Navigator in the J2ee engine administration them I get the WSDL.zip for my webservice but