How set Url path in include .css or .js

Dear Pakar
i have .css with content below
#pageWrapper {
     /*background: #5b93cc;*/
     background:#999999;
     background-image:url(/image/background.jpg);
how to set url directory in apex style directory ?
Thanks
Imansyah

Hello Imansyah,
If the JPG is on your application server in the (virtual) /i/ directory (referencing the /images/ directory of APEX), you should try:
#pageWrapper {
/*background: #5b93cc;*/
background:#999999;
background-image:url(/i/background.jpg);
}Regards,
Roel
http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.logica.com/

Similar Messages

  • How setting contentStyle in a external CSS File

    Hello,
    I want setting any contentStyle properties in an external css file.
    Something like:
    <af:selectOneChoice id="gotoPg"
    contentStyle="width:60px;"
    I tried this, but doesn't work:
    <af:selectOneChoice id="gotoPg"
    styleClass="classCss"
    Inside the external css:
    .classCss{
    width: 60 px;
    How can i setting the contentStyle properties in an external css file ?
    Thanks,
    Victor Jabur

    Hi Victor,
    On the ADF web page (jspx) you have to include the css stylesheet
    <link rel="stylesheet" href="./css/untitled1.css" type="text/css"/>
    You can create a new CSS file from JDeveloper by right-clicking on the ViewController project, select "New..", once the "New Gallery" window is displayed go to Web tier -> HTML and you will have the "CSS File" option.
    What you put inside your css looks good:
    .classCss{
    width: 60 px;
    Note that the width property will affect the whole af:selectOneChoice component, including the label and the different choice values.
    -Cris

  • [CS5] set the path to include php files dynamically

    this is my code php
    #into file confstart.php i create the session
    #$_SESSION["PATH"]["CORELIB"]=$_SERVER['DOCUMENT_ROOT']."/system/core/lib";
    include($_SERVER['DOCUMENT_ROOT']."/newportal/system/config/confstart.php");
    include($_SESSION["PATH"]["CORELIB"]."/function_rvsfarm.php");
    Unfortunately, this  method of assigning variables paths dw does not understand ... can be  set statically in some menu paths?? or to understand the path dw?

    Dreamweaver wouldn't understand this locally as the document root isn't always where your files reside.  Also dreamweaver doesn't parse the php script the find your files unless you set up the dynamic content.
    I tend to create a constant and hard code the path
    define("ABSPATH", "/home/client/domain.com/public_html/");

  • Set output path when compiling css to swf

    Hi,
    I'm using Flex builder 3 under windows vista, and I'm
    experiencing the following problem:
    Our application uses dynamic skins. The css files are
    compiled to swf's and loaded at runtime. This all works fine, but
    when I export a release build, Flexbuilder puts my style swf files
    in "export/Users/username/documente/etc" I want to configure
    flexbuilder to put the skins under "export/skins". Now I have to
    manually copy them (and do this each time a css changes... grrrr).
    Why not leave them where they are? Becuase on mac the skins won't
    load if the path is "Users/..."!
    So, anyone knows if this is possible?

    This forum is for Flex 1.5 (note the forum name) and is
    virtually abandoned. you should post this in the Flex General
    discussions forum.
    That said, except to know you are not alone, this won't make
    you happy, but I experience the same thing. I have not attempted to
    find a solution, because my CSS is mostly cooked and I don't need
    to compile or manually move it much any more.
    I will be interested to see if you find a solution.
    Tracy

  • CSS 11500 url path rewrite and NAT

    Hi,
    We are evaluating a CSS 11500 and try to configure url path rewrite and NAT, but we have some problems.
    What we would like to do is the following:
    http://www.example.com/path1 -> http://host1:80
    http://www.example.com/path2 -> http://host1:8080
    http://www.example.com/path3 -> http://host2:80
    The address www.example.com is resolving to a valid internet address, whereas host1 and host2 resolves to private IP addresses.
    The client should always see the external url (e.g. http://www.example.com/path1/...) and the CSS should do the necessary translation.
    Any help would be very much appreciated!
    Regards,
    Harald

    Hello Experts, I'm new with this cisco stuff too(just got it 3 weeks ago), but here is some of my experience with cisco css 11501.
    First : Service ServerName, there is a port setting here, but from my experience, I think it is related with KeepAlive option, so, port is alternate way to know if the server alive or not.
    Second : When you send request to cisco css, the port option in content port will be the cisco css port to accept request, so, if you send a request to http://vip:8080/, all service must be in the same port too to balance the request, in this case, port 8080, if one service port 80, i'm sure the css will not hit the server.
    Third : To solve your problem...
    http://www.example.com/path1 -> http://host1:80 (ipA)
    http://www.example.com/path2 -> http://host1:80 (ipB)
    http://www.example.com/path3 -> http://host2:80
    if you are lazy to buy new nic, just set subinterface/ip alias on the host1, and make the webserver only bind to specific address, not to all interface...
    O yea, about your path1/path2/path3 -> /, hmm, i'm still asking in this forum about path changing cause until now, i haven't know how to do this, i know about apache rewrite module, and success do this, if only i know about this in cisco css too :-(
    I'm sorry if I make mistake, I'm just telling my experience...

  • How to move up within a URL path?

    Recently started using URLs in my programs. Works great. However, all the
    time I have been wondering how to move up in that URL path. For example,
    if my url1=("http://www.something.com/") I normally end up at the index.html.
    But how could one set up a relative url reaching a file or directory at the same
    level as that index.html? I suppose one should go up onel level and then
    specify the name of the required file.
    I tried to use things like url2= new URL(url1,"../myfile") but that doesn't seem
    to work.
    Anybody has an idea? Thanks in advance.
    Dirk

    martin@work wrote:
    Hi,
    you can't, if your web server provides the minimum of security. In the web server configuration you normally map a base url to a physical directory on the server and the web server does its very best to assure that you can only access files in that physical directory and below, and that all other files on the server in any upper or parallel directories are not accessible.
    If you want to access files in a parallel directory then you have to create a further mapping in the web server which maps another base URL to that directory.
    Martin To reinforce what Martin says: if you cannot do this with your web browser, don't expect to do it with Java.
    On the other hand, if you can do it in your web browser, we misunderstood your question and please
    reformulate it using actual URL's (or at least the portion following the host name).
    Edited by: baftos on Apr 25, 2008 9:28 AM

  • How can i set a path for my deployment files in weblogic server 10.3

    Hi
    How can i set the path for my WAR ,JAR files while deploying.i am using the wls10.3 version.
    is there any scripts for this ,please provide me.
    my Application is ADF 11g application.

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • How to hide the URL path on click of an link to URL element,from user

    Hi All,
          I have an link to URL element, on click of the link it opens the specified url in a new window. But in new window the user is able to see the entire URL path. I want to hide this path from the user. Can any one please suggest me how to do it.
    Regards,
    lakshmi.

    hi,
    just check this help
    http://help.sap.com/saphelp_nwce10/helpdata/en/f7/f289c67c759a41b570890c62a03519/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/fdc99ab37a8d42892e0d39bbd23be8/frameset.htm
    Link to URL Question

  • How to set dynamic path in forwards action

    Hi All,
    i have a requirement to set my path dynamically in forward action
    suppose i have
    @Jpf.Action(forwards = { @Jpf.Forward(name = "success1", path =  "/output1.jsp") })
         public Forward testIpc1() {
              Forward forward = new Forward("success1");
              System.out.println("IN PageflowportletController :: testIpc1() method called");
              return forward;
    Here the path="/output1.jsp" is hardcoded.is there any way to set the path dynamically in forwards action
    @Jpf.Action(forwards = { @Jpf.Forward(name = "success1", path =  dynamic_path) })
    how do i get the dynamic path set in my forwards action.
    Suggestions provided would be really helpful
    Thanks,
    Deepak

    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html

  • How to set the PATH in Terminal?

    As a newbie to Bash and the Terminal, in connection with installing a new version of Ruby and various add-ons, I have been messing around with changing the PATH via various methods I've found on the internet, and trying to add a new directory to my PATH. Unfortunately, I cannot figure out how to set the PATH correctly. Here is what I understand so far:
    1. Bash first looks to ".bash_profile" in the home directory for PATH settings.
    2. If none, Bash then looks to ".bash_login" for PATH settings.
    3. If none, Bash then looks to ".profile".
    4. If none, Bash then looks to a system file in "/etc/profile" for default PATH settings.
    5. For a new shell after login, Bash looks for a ".bashrc" file.
    I cannot find any of the above files (I have Finder set to show hidden files already). Somehow, following some instructions from the internet without really knowing what I was doing over the past week I have set my PATH as follows:
    /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/*****/src:/usr/X11/bin
    but I cannot find the file that is setting this PATH. I have tried creating a new ".bash_profile" shell file and putting it in various places such as "/bin" and "/usr/bin" but the file is not being read.
    * As a temporary workaround I tried using the command "source .bash_profile" upon login to set the PATH using the .bash_profile file that I created, but it does not work.
    * I am able to temporarily alter the path using the command "PATH=/usr/local/bin:$PATH" but this only lasts for an active shell; when I close out and reopen a new shell, it reverts to the default.
    So my questions are:
    Is it correct that there is a "/etc/profile" somewhere that is setting the default PATH? If so where is it? Should I alter it, or create a new ".bash_profile" somewhere to set the PATH? If not, where is my PATH being set? If I should create a new ".bash_profile", what exactly should go in it?
    Thanks in advance for any assistance.

    ... I created a new ".bash_profile" file directly under my home directory and it worked like a charm. Below is the content of the file:
    "PATH=/usr/local/bin:/bin/:/sbin/:/usr/bin/:/usr/sbin/:/Users/******/Ruby:/Users/*******/src:/Users/******/Java Programs/"
    What are the "..."'s? Is that just you, or is the contents of the file actually inside of double quotes?
    is there an 'export PATH' also in the file? As in
    PATH=/usr/local/bin:/bin/:/sbin/:/usr/bin/:/usr/sbin/:/Users/******/Ruby:/Users/*******/src:/Users/******/Java Programs/
    export PATH
    And did you either restart your Terminal session so your .bash_profile was read, or issue a 'source .bash_profile' command to execute the .bash_profile after your change?
    The only remaining problem is that from the home directory, I'm unable to directly run programs in the above-designated subdirectories (without first navigating to the subdirectory containing the file. Is there something wrong with the syntax or order of the directories I put in the path?
    For example: there is a file called "newprogram.rb" in the "Ruby" directory listed above. I should be able to execute it from the home directory using "ruby newprogram.rb" but it does not work. The same command works fine from within the "Ruby" directory.
    Does the 'ruby' command search PATH to find its scripts?
    Have you read the "man ruby" man page to see if it talks about PATH?
    A common Unix feature is that programs and scripts with the executable bit set, and are located in a PATH directory, will be run if you just type their names.
    For example, if the first line of newprogram.rb script starts with
    #!/usr/bin/ruby
    and if the script is executable
    chmod +x newprogram.rb
    And if it is in a directory in PATH, then just typing
    newprogram.rb
    should run your perl script using /usr/bin/ruby. If you want to use a different version of Ruby, then change the #! line so it point to your version of Ruby. Or if your version of Ruby is found earlier in PATH then the /usr/bin/ruby, you can use
    #!/usr/bin/env ruby
    as your script's first line which will search PATH for 'ruby' and use the first one it finds.
    Message was edited by: BobHarris

  • How do I set execution path in VAPI-XP-TEST?

    Hi,
       I have created a VAPI-XP-TEST which calls my project's executable from it's Debug folder.
    I am setting the path of the executable via Parameters.
    My project has a configuration file which reads from some input files. I have given the relative path of the files in the configuration.
    The relative path reads as ..//..//Input
    So, the test needs to go 2 levels back from the "Debug" folder and get the contents of the "Input" folder.
    My project runs fine as is.
    However, when I hook up this exe to a VAPI-XP-TEST, the relative path accesses the install location of ALM instead of my Project's debug folder. Hence, the test fails as it is unable to find the Input folder.
    How can I specify in my test script or through a setting, to take the path as my project's debug folder?
    I have tried the following command just before I trigger the XTools.Run command, but it did not work.
    Directory.SetCurrentDirectory(path)  - where path is the path to my project's Debug folder.
    Please help!

    No, that's not quite what our friend Apple Certified was saying. In summary (from someone who has ballsed this exercise up a few times now):
    1. Move your apple loops folder to the external drive. You'll then need to open logic and drag the loops folder on to the loops browser to make it re-index them.
    2. You can move the EXS samples to the ext drive as suggested via the use of aliases. Do NOT move the sample instruments folder.
    3. You can move the projects and related audio files to an external hard drive if you wish.
    4. Be careful moving garage band instruments. You can move them in the same way you moved the EXS sounds, except for the Hybrid synthesizers. If you move them you'll have trouble later.
    I'm sure someone will correct me if I've mis-stated anything, but from my experience those are the main points to focus on. Hope that helps.

  • How to set the path variable on Windows ME?

    I want to get a friend of mine to start using java the only problem is that we both dont know how to set the path variable in Windows ME. I cant seem to find any instructions on it for ME. So if someone could please tell me how or give me a llnk to directions for Windows ME. Thanks.

    Refer to the Installation Instructions for the package that you installed - I believe #5 if the instructions has the information. A link to the instructions is at the page you installed from.

  • How can i set class path in ubuntu JAVA_HOME ?

    how can i set class path in ubuntu <JAVA_HOME>?

    Note that on *nix
    environment variable names are case sensitive.
    Also, you are again being vague; is it [this it|http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html] or [that it|http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html]

  • How to set local path for load library

    Hi,
    How do i set local path for native dll as i dont want to set the path in the environment variable.
    can i do like this
    System.loadLibrary("c:\abc");
    Thanks

    I believe that System.load() does exactly the same thing, but accepts fully qualified filenames. So give that a try.
    Failing that.... maybe you can add -Djava.library.path=
    to your command line to explicitely override the path set ?
    regards,
    Owen

  • How to configure Team explorer 2010 command-line tool in Mac x os. configure shell or system path to include the folder to which (TF client) unzipped archive available.

    How to configure Team explorer 2010 command-line tool in Mac x os.
    Hot to configure shell or system path to include the folder to which (TF client) unzipped archive available. I am new to Mac X OS. Please help.

    Dmitry,
    Thanks for the great writeup!
    I think I've got my universal instant client libraries built correctly.
    I too am using MacBook Pro but I'm getting stuck at building the 32 bit oci8.so
    First problem is my pecl download (ver 1.4.1) did not contain a "configure" file so ./configure failed.
    I used configure from /sw/....... to try to continue.
    Second problem. Using existing configure from /sw/.... I used an appropriate variation of your example command
    (./configure --with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 && make).
    Things look like everything ran OK but The output does NOT include an oci8.so file
    So I guess my question is: Which "configure" should I be using? And if it is not the one on the system under /sw/...
    where would I get it since it doesn't come in the pecl download?

Maybe you are looking for

  • Unable to ping device behind Cisco 3750 on the same inside VLAN via Cisco ASA 5505 Anyconnect VPN

    Hi Guys, I've been stuck with this for the last 2 days, and I thought to try and use Cisco's forum, I setup my home DC, and started having problems once I moved a Cisco 5505 behind a Cisco 1841 router (I wanted to eventually test DMVPN live on the in

  • Runtime error in Business planning role on portal EP7.0

    Hi all, We are using the BI integrtaed planning role from portal.( Ep 7.0) and backend system is BI7.0. 1)I added the role com.sap.ip.bi.business_planning_showcase to the user 2) I created the JCO connections BI_MODELDATA ● BI_METADATA ● WD_ALV_MODEL

  • Combine Files Function Fails

    when trying to combine files, the process seems to work, but utlimately "Conversion Failed" message flashes.  Any ideas why?

  • Putting a AMD R9 270 in a Dell XPS 7100 from 2010

    Currently have a Dell XPS 7100 (2010) with a HD 5870. I would like to remove the HD 5870 and add a AMD R9 270. I believe I am OK as far as space, power, bottlenecking, and PCI slot. However, I read a thread in a forum that the Dell XPS 7100 motherboa

  • WLC 5508 tunneling issue

    Hi, I have a WLC 5508 connected in a hub and spoke topology. The WLC is located at the hub which is the main office. In one of the remote spoke locations I have five Access Points that are connected to the local LAN and the model for the APs is AIR-C