Accessing imported CSS

All,
I easily imported a custom CSS, but now am having trouble accessing it.
According to the docs (http://otn.oracle.com/products/database/htmldb/pdf/html_db_templates_white_paper.pdf page 10 sample code) I should be able to access it via #WORKSPACE_IMAGES#my.css but I can't seem to access it via this sub string. Is there another method I should be using? The help docs don't seem clear on this.
Thanks.

Jon,
If you reference this substitution string in one of your templates (e.g., page template), it should resolve to the my.css file that has been uploaded in your workspace.
In what context are you using the string #WORKSPACE_IMAGES#my.css?
Joel

Similar Messages

  • I had to create a new profile in Firefox and now, I can't access important data such as bookmarks which I desperately need.

    After two days of not being able to open Firefox, I found an article on this website which suggested that I create a new profile. I followed the instructions (which never stated that I should first backup Firefox or my old profile) After creating the new profile, Firefox is once again working fine but, I am unable to access important data such as bookmarks and history.
    I have followed several suggestion on this website but, I am still unable to find my old profile content.

    As long as you did not uninstall Firefox and remove personal data, your old profile still should be in the same location. Depending on how messed up it was, here are two options:
    '''(1) Use the profile manager to start Firefox up in your old profile and create a fresh bookmarks backup.''' If it didn't run, this won't be useful.
    To start in a different profile, Exit out of Firefox and start it up from the Start menu, search box, using
    firefox.exe -P
    Your old profile may have a name like default.
    Then you can create a fresh backup or export of your bookmarks (or both) to a neutral location (e.g., the Documents folder). These articles have the steps for creating these files:
    * [[Restore bookmarks from backup or move them to another computer]]
    * [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]] (note: does not preserve tags you have assigned to bookmarks, if any)
    Exit Firefox, use the profile manager to return to your new profile, then you can either restore the bookmark backup or import the HTML file. The difference is that a restore completely replaces whatever exists now, while an import adds to what you have now.
    * [[Restore bookmarks from backup or move them to another computer]]
    * [[Import Bookmarks from an HTML file]]
    Success?
    '''(2) Restore an old bookmark backup.''' Firefox creates these files regularly, but it might not be perfectly complete.
    To access the old files, I suggest starting from your current (new) profile folder. You can open that from within Firefox using either:
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This should launch a new window showing your ''current'' settings files. Using the address bar of that window, click up to the Profiles folder level and then double-click into your old profile folder, then into its bookmarkbackups folder. Copy the latest backup file to a neutral location (such as your Documents folder).
    Back in Firefox, try to restore the older backup. Note: this will completely replace your bookmarks in this profile, so if you have saved new bookmarks you want to save, please perform the optional steps in the following list:
    * Optional (preserve new bookmarks): [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    * [[Restore bookmarks from backup or move them to another computer]] - use Choose File to go to your Documents folder to get the old backup
    * Optional (add new bookmarks to the restored set): [[Import Bookmarks from an HTML file]]
    Success?

  • Anonymous Portal ... Problem accessing images, css, js

    Hi, i'm trying to build a web site to be accesed from internet and i'm having some trouble with some specific points (i'm new with SAP).  I've seen many questions like this in the forums but none are finally answered.
    I setup the anonymous portal based on SAP Instructions (help.sap), i'm using the Guest user to the anonymous users and i can access without login throught this adress http://localhost:50000/irj/portal/anonymous.
    <b>First Question</b>
    When i create a html using the html editor from the KM it work fine, i can see the page with the styles i used; but when i inssert an image uploaded, the page start to ask for authentication and don't show the image, if i enter a valid user and password it shows the image correctly.  I tryed assinging permissions to the Guest user over the image and it doesn't work.  As you know as i'm trying to make a Web Site to run on the Internet and it cannot ask the users of the portal to authenticate, this is my first question, how can i setup the portal to not ask authentication for this image?  if i access the image directly also ask for authentication and shows an unauthorized page, i tryed this two links: http://localhost:50000/irj/go/km/docs/documents/abc_htmlfiles/images/0186.jpg
    http://localhost:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/abc_htmlfiles/images/0186.jpg
    <b>Second Question</b>
    Locally i create a html and i upload it through the KM, i used separate .css file (style sheet file) and .js file (javascript file) to make some effects but when i load the html to the KM Document Iview it shows only the text and doesn't recognize the files with the styles or the javascript; i have the html over the abc_htmlfiles directory (my test directory) and the css files on the css directory, look this is the directory structure on KM:
    /root/documents/abc_htmlfiles/page0.html
    /root/documents/abc_htmlfiles/css/styles0.css
    /root/documents/abc_htmlfiles/js/script0.js
    from the html i've tried to access the .css and .js  like this:
    <LINK rel="stylesheet" href="css/styles0.css" type="text/css"/>
    <SCRIPT src="js/script0.js" type="text/javascript"></SCRIPT>
    What is the path to access this kind of resources?
    <b>Third Question</b>
    Now i just can create html content in the web site, but i don't know how to create a navegation menu, a menu which show me the different sections and iviews, do you have a link where i can get a step by step to create a menu like this?
    I really appreciate answers to my questions and think that i can assign some points (if you explain me how) to the people who help me.

    First Question
    I solved my problem following the SAP Note 837898, I am using the NW04 SP16 - Enterprise Portal 6.0.
    The problems as i understood is that SAP Portal uses WebDav authentication throught the default access /irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/, to avoid that authentication when using anonymous you have to config the portal to allow this path to access the documents in KM /irj/go/km/docs/.  The way you config the portal is described step by step in the <b>Note 837898</b> .. I followed all the steps (including the ones who modifies the Standard User Role iviews in Portal Content) and finally i restarted the Portal.
    It works for me and my SAP EP version.
    Second Question
    The 2nd Question was solved the way one of the posters said in this thread, but to anonymous portals after config the Note 837898 you should use the path <b>/irj/go/km/docs/</b> to avoid the authentication window which prompts for the user and password.
    <LINK REL=stylesheet HREF="/irj/go/km/docs/documents/abc_htmlfiles/css/styles0.css">
    <SCRIPT src="/irj/go/km/docs/documents/abc_htmlfiles/js/scripts0.js" type="text/javascript"></SCRIPT>
    Third Question
    The menus in SAP portal are made with Roles and assigned to the groups that are going to have access to the options of the menus .. it's quite simple following the links suggested in the answers already posted in this thread.

  • Import CSS into InDesign?

    My company wants to move about 200 books that are about 250-500 pages into InDesign. They are currently stored in a database in XML format and we use CSS and PrinceXml to publish. I am able to import the XML into InDesign, but I haven't found a way to import the CSS styles. Is that possible?

    As far as I know, there is no ability to import CSS into InDesign. When you export as EPUB, you have the option of using a CSS stylesheet to format the EPUB file.
    It's been explained to me that there are too many differences between the way InDesign creates styles from the way CSS works to do such a thing. For example, in CSS you can define placement on the HTML or XHTML page in a way that's not possible in InDesign.

  • Imported CSS - rewriter doesn't rewrite backgroung-image: url(...)

    Hello,
    Has anyone run into this problem? Documentation says
    url() inside CSS gets rewritten but it doens't work. My imported CSS has something like inside:
    background-image:url('/images/all_sites/fade_brown_bkgrnd.jpg');
    and it stays the same when passed through rewriter.
    Tried various rules to no avail. Anybody ran into this and found a work-around?
    Help is appreciated!
    Thanks,
    Alex N.

    Alex:
    We are having the same problem. Do you get the problem solved? and how?
    SUN PTS just told us, there is no such bug fix as mentioned, there is workaround, however. (that is, inline the background-image portion in CSS to HTML BODY). We really don't like such workaround since it involves a lot of code changed in a large web application.
    I appreciate your help. Thanks.
    Joe

  • Import CSS file locks up Eclipse

    Hi;
    I was following the JSF Tutorial and it got to the point where I am supposed to drag Import CSS File from the tag libraries window to the design window for register.jsp.
    So I pressed the LMB down, dragged and got the O with a slash through it cursor. No matter where I drag the cursor it has the O. I released the LMB and still the O. I can't do anything in Eclipse - it's totally non-responsive.
    I then hit CTRL-ALT-DEL to bring up the task manager, and then the O goes away and I can edit again in Eclipse. But I have tried 4 times to drag "Import CSS File" and each time it goes to the O and no response until I CTRL-ALT DEL. So needless to say, I'm stuck at this point in the tutorial.
    ??? - thanks - dave

    Hi,
    We are not able to reproduce the issue. Are you still facing the problem exercising "Import CSS file" by drag & drop method?
    If so, send the following to [email protected]
    * register.jsp file
    * workspace - ..eclipse\workspace\.metadata - .log file
    * <NitroX Install Folder>\NitroX\eclipse\plugins\com.m7.nitrox_2.1.0 - m7.log.0 file
    Thanks,
    M7 Support

  • @import css support? How to include CSS files in CSS file?

    Is it possible to use the @import command in CSS files? Or how to include other CSS files in a main CSS file?

    I think it's very important to support the import statement because if you build a real world application the css can be very complex. so there is a really need for css modularization....

  • Problem when access to CSS with SSH

    Hi,
    We have an strange issue when we try to access to the management of the CSS with SSH protocol: we need to put the username twice.
    Is it a normal behaviour?
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Tabla normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    login as: test
    User Access Verification
    Username:test
    Password:
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Tabla normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    test# show version
    Version:               sg0810106 (08.10.1.06)
    Flash (Locked):        08.10.1.06
    Flash (Operational):   08.10.1.06
    Thanks.
    Best regards,
    Dani

    Hello Dani,
    This has been the behavior of the CSS when logging in via SSH since the product was introduced.  So yes, this is normal behavior for the CSS.
    Hope this helps,
    Sean

  • Access Imported Archive in User Defined Function

    Hi!
    I want to access a XML file in an user defined function in a message mapping. The XML file is included in an imported archive. I need the information out of this XML file for configuring an extended receiver determination.
    Does anyone know how to solve this?
    Best regards,
    Daniel

    Hi Krishna,
    a property file will be a solution but is has to be stored in the filesystem. In my scenario I prefer a file (not neccessary xml) which is editeable in the IR.
    I tried something in this way (just for testing):
    try {
         DocumentBuilderFactory factory = null;
         DocumentBuilder builder = null;
         Document document = null;
         Element element = null;
         factory = DocumentBuilderFactory.newInstance();
         builder = factory.newDocumentBuilder();
         document =  builder.parse(Container.class.getResourceAsStream("routing.xml"));
         element = (Element)document.getElementsByTagName("BUSINESS_SYSTEM").item(0);
         return element.getNodeValue();
    } catch (Exception e) {
         return "Crash: "+e.getMessage();
    But it crashes, because the resource "routing.xml" cannot be found. I tried to add the namespace or the name of the imported archive or both as prefix, but it don't work. How can I find out under which address/url I can open the xml document?
    Best regards,
    Daniel

  • SAP EP 7.0 Error in accessing Import function of CustomizedTranport role.

    Hi All,
    I have a business requirement of Creating Transport role which should access only Transport Navigational Tab in EP 7.0.
    For that, I have created a role and added Standard System admin role as role to role and i hide the Navigational tabs except Tranport Tab (by changing Properties of ''Invisible in Navigational areas of System Admin role'')
    I have assigned this role to a user. and i have also given read/write permission to folders and in security zones. Export is working o.k and when i click on browse tab in import it is showing-->>
    "Unexpected error. Check the log files for details."
    I have checked logfiles and i didn't find any thing.
    Any ideas??
    Your early response would be highly appreciated.
    Thanks in advance,
    Khasim.

    SAP has resolved this problem.

  • Error in accessing imported roles

    Hi All,
            I am facing a problem while i am accessing roles which are imported from one portal to another.These roles are already assigned to iviews.I created a new user into a portal and assigned a imported role to that user.So while i am logging to the portal as the specified user then the iview related to that role should be visible to the user.But i couldnt find anything except a blank iview with portal desktop.
    Is there any changes which i need to do specially for the roles which are imported from a epa file?
    Please put your suggessions.
    Thanks you in advance.
    Chaitali

    I am facing a problem while i am accessing roles which are imported from one portal to another.These roles are already assigned to iviews.
    Did you tranport the iviews and roles or just the roles ? Do you already have the iviews with the same object id and object prefix on the target portal ?
    Just click on the imported role on the target portal and check if you can see those iviews attached to this role ?
    Hope this helps.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • Accessing ressources (css,images, scripts...) in portal archive via URL?

    Hello!
    I have created a par file with the following PAR-Archive:
    *.par
      ¦
      +---meta-inf                Automatically generated.
      ¦
      ¦                           All files and folders in the root folder are deployed as public. This usually includes resources,
      +---images                  images,
      +---css                     css,
      +---scripts                 JavaScripts etc.
    According to the documentation, you can access all folders in the archive. But in which way??? The URL looks like this:
    http://bbmag34.bbmag.aldi.com:50000/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fALDI!2fcom.aldi.extranet!2fcom.aldi.iviews!
    2fcom.aldi.extranet.iview.flex-integrator-text <- i tried to add !2fscripts!2fhallo.txt (which i copied to the scripts directory) but nothing happened.

    Hi Björn,
    maybe this will help...
    public static String getImageUrl(IPortalComponentRequest request) {
              HttpServletRequest httpRequest = request.getServletRequest();
              StringBuffer buf = new StringBuffer(1024);
                                    String prot = (httpRequest.isSecure()) ? "https://" : "http://";
                                    buf.append(prot)
                                      .append(httpRequest.getServerName())
                                      .append(":")
                                      .append(httpRequest.getServerPort())
                .append(request.getWebResourcePath())
                                      .append("/images/");
              return buf.toString();
    Regards,
    Jens

  • Can I import CSS & Javascript to Parallax Scrolling?

    Hi
    I have an example of Parallax Scrolling which gives the image the illustion of colour change on each slide. A simple example is shown here:
    http://dev.creemama.com/krystalrae-scroll-effect
    I have tried to achieve this using basic Parallax Scrolling in Muse, but is does not work as effectively as the sample. Another example is shown here:
    http://krystalrae.com/2013/fall
    I asked the developer how he achieved this and he said they used simple CSS and Javascript. I have tried putting the CSS Code and the Javascript code into muse - but it doesn't work. Is it possible to put code (other than Google maps) into muse to get the above effect?
    I would be most grateful if anyone can help with this - I am sure it must be possible in Muse.
    Many thanks
    Deborah K

    user7488239 wrote:
    Hi ,
    I have one APEX application , now I have need import one  javascript file  to this application as static file in shared components .can I use sqlplus to upload this file to the application.
    Thank you . George
    Yes you can given that your source and target workspace have same name & id, basically you can export/import any files (images, css and static files)
    You can export individual static files and they can be imported only through SQL*PLUS
    See http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/deploy_export.htm#HTMDB25824

  • @import css problem

    Hi,
    I'm trying to import an external css to the main CSS.
    master.css
    @import url(style.css);
    @import url(layout.css);
    It doesn't get it, and I'm having a huge CSS file with everything mixed, and I'd like to distribute the stuff.
    If anyone can help...
    Thanks!
    Jdev 11g 11.1.1.0.1

    Thanks for answering.
    It doesn't work.
    I've tried the following options:
    @import url("archive.css"); --> not working
    @import "archive.css"; --> not working
    @import archive.css; --> does not compile the project
    <style...>@import ... </style> --> not working
    I'll explain myself better.
    I have a project and I've made a CSS file wich modifies the whole project visual design.
    What I need is to redisrtibute the contents of this huge file in small files like "layout.css", "forms.css", "content.css", ... and call just one file "master.css" wich has got all the css @imports.
    For example:
    MASTER.CSS
    @import url("layout.css");
    @import url("forms.css");
    @import url("content.css");
    The problem is that it doesn't do the @import. It's like if MASTER.CSS was empty.
    Just in case, I've included the css files in the trinidad-skins.xml, but even though it doesn't work.

  • Importing css files in css file?

    Can I manage a set of css files? I mean, have a main css file
    that imports the other files?
    I've tried using import url() but it didn't seem to work.
    Thanks!

    Hello,
    Take a look at Dietmar's blog posting.
    http://daust.blogspot.com/2006/03/where-are-images-of-application.html
    Carl

Maybe you are looking for

  • Offsetting account showing as * mark pls see the screen shot

    Dear floks pls give me some inputs we need to provide a report to colleagues Tax affairs when it relates to the nature of the recordings on the accounts 3140600010/4150400010 2013. To do this we used the FAGLL03 and with a layout with Offst.acct / Na

  • 7th gen iPod Nano not recognized with Windows 8

    I am running Win8 and am having trouble getting my 7th gen Nano to be recognized either as a device on my PC or in iTunes. Is the Nano compatible with Win8? I have worked thru many of the troubleshooting guides and Apple support pages. Have the most

  • File download from the db.

    Hello, I'm using this standard? procedure to download files from the db. CREATE OR REPLACE procedure DOWNLOAD_MY_FILE_ATTACH (p_file in number) as      v_mime varchar2(255);      v_length number;      v_file_name varchar2(2000);      Lob_loc BLOB; be

  • LMS4 Syslog automated action anomaly

    LMS 4.2.1 on W2K8 R2 I just want to send an email for any sev 1 or 2 syslog messages received.  I set up an automated action that looks like this: Automated Action Summary Name: Critical Events Email Devices: State: Enabled Parameters: TO=[email prot

  • Time machine does not restore backup

    After my iMac crashed, it prompted me to restore from my Time Machine. I started doing it, but about 20% and 4-5 hours later, I got a message saying 'Cannot find any connected Time Machines' . And I could actually see the connected volume of Time mac