JavaContentSet - use an environment var as part of the url-path

Hi,
I startet to use JDeveloper beside Eclipse.
As such i got some ressources in my Eclipse workspace i want to use in my JDeveloper Projekt.
Its easy to tell JDeveloper to link some Resources from the Eclipse Workspace into my JDeveloper Workspace. But i dont like the url-path Syntax. In my Case its ../../eclipseWorkspace/eclipseProjekt.
It works, but its far away from perfect, because other developers would prefer different workspace layouts. As such it would be fine to be able to extend a environment variable to get the url-path. Example: "%ECLIPSE_WORKSPACE%/project/src/main/java" instead of "../../eclipseWorkspace/project/src/main/java".
Is there a way to reach this goal?
thx
Bernhard

Uf, sorry
the alias has to be the first element of the RID.
So if the RID is:
/documents/user01/tester.txt
and user01 is logged in, call:
.../irj/go/km/docs/~alias~/documents/<user.id>/tester.txt
or:
.../irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/~alias~/documents/<user.id>/tester.txt
(i've tested it now for being sure).
Romano

Similar Messages

  • Content query webpart use a part of the URL as filter

    Hey,
    I have on root site in the site collection a list. Now I like to build up a site template (from which the user can create sub sites form the root site in the site collection.
    In this site template I like to bring on the homepage a content query webpart. The content query webpart has to show one item from the list on the start site.
    How can I configure that the content query webpart use a part of the URL as filter?
    Url is like:
    http://Server/SiteCollection/ID/home.aspx
    The ID must be the filter criterion in the content query webpart. How can I do this?
    Thanks for your help
    Stefan
    Viele Grüße Stefan
    Kontakt unter [email protected]

    Hi Stefan,
    You can create your own CQWP by subclassing the default one.
    Then you can override the CAML query to add criteria found in the URL.
    Here is more information and sample:
    http://www.andrewconnell.com/blog/archive/2008/02/18/Subclassing-the-Content-Query-Web-Part-Adding-Dynamic-Filtering.aspx
    http://msmvps.com/blogs/laflour/archive/2008/05/29/subclassing-content-query-web-part-to-override-caml-query.aspx
    Regards,
    Ludovic Caffin

  • Whenever i upload my website using ftp, the site name ends up being part of the url, Can this be fixed?

    Whenever i upload my website using ftp, the site name ends up being part of the url, Can this be fixed?

    Publishing to a local folder is shown here...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    ... and how to upload the files here....
    http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html

  • CSS loadbalancing based on parts of the URL

    HI,
    I've to do loadbalancing based on parts of the URL.
    The URL will look like this:
    www.myserver.com/a/b/c/d/x=12345/bdc/*.htm
    If the x=<digits> is includes I've to use server1-3 1 if the x is not included I've to use server 4-6
    I can right now think of two (2) methods:
    1) url ="/x=*"
    2) using a header-field group with field "request-line" and the operator contains.
    Now my two questions:
    - Is it enough to define in method 1 only "/x=*" or do I have to write down the whole path (/a/b/c/d/x=*) or is it possible to do url="*/x=*".
    - Is there any other way to have this sort balancing done?
    - Which method is best practise?
    Thanks in advance for answering.
    Kind Regards,
    Joerg

    Hi Gilles,
    thanks for your reply.
    So both methods are possible. From my point of view method two is more flexible even if less specific. Is there any other draw back you can think of using method two, the one with the header group.
    Kind regards,
    Joerg

  • Firefox no longer displays any part of the URL that I am visiting. How do i get it to display?

    I'm referring to ANY part of the url. It just shows a blank page. Running Win XP Pro

    Is there any evidence that there is text on the location bar when you type something and try to select and copy the text (Ctrl+A and Ctrl+C)?
    Does it help if you open a new window?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can check for problems caused by a corrupted localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • How to get only the last part of the URL in the doGet() method?

    In the doGet() method is there a way to check what URL it was called from ? For example the URL was: http://localhost:8080/myproject/jsp/randomPhrase.php (the php here is purely for misleading purposes - it's all Java really). in the doGet() method I would like to get the "randomPhrase" part of the URL only - to determine where to redirect the user. How can I do that?
    Thanks.

    Hello there,
    As it seems to me the part of the URL you're looking fo,r corresponds actually to the name of the servlet, so why don't you just call the getServletName method?

  • Is anyone using PAM for archiving e-mail? I am having trouble opening archived e-mail attachments using Firefox. I know the reason for this is part of the url gets left out when using Firefox. Works fine with Internet Explorer.

    This part of the path https://mail.domain.org/owa/ (see below) when place in allows Firefox to open the attachment.

    Autodiscover service on Exchange seems to be ok from the result of testing. We might change our mind and check if this is a network issue.
    If you are using Windows 7 or higher version OS, try to run the following command in CMD to disable the Autotuning function:
    Netsh interface tcp set global autotuning=disabled
    For more information, please visit here:
    http://slowpctexpert.blogspot.com/2010/12/speed-up-windows-7-disable-autotuning.html
    Tony Chen
    TechNet Community Support

  • Not using Blog Entry as part of the URL

    hi all,
    When I publish my iWeb site containing a blog to a folder, I noticed that some of the folder is using my bolg entry/topic as part of the folder name.
    Is it possible to get iWeb not use this.
    thanks in advance.

    Here;s an entry on Kyn Drake's site that might help you:
    http://ww2.makentosh.com/tipsfromtheiceberg/Blog/Entries/2008/6/22A_ShortURL.html

  • How do I use cookies to control which part of the timeline to play from?

    Hi there,
    I have created an animation with Adobe Edge. My site uses Concrete5 and I am pulling in the Edge content into an IFRAME on my home page (there my be a better way to do this and I'm open to suggestions). I want the animation to play from the start when someone first visits the site, but if during their browser session they navigate back to the home page, I want the animation to only play a shorter segment of frames near the end.
    My question is, how do I use cookies to acheive this? I'm new to javascript/jquery.
    I've included the following code on compositionReady, (found in another post on this forum) but don't have a clue how to continue...
    // insert code to be run when the composition is fully loaded here yepnope(   {     nope:[       '/js/jquery.cookie.js'     ],   complete: init   } ); function init() { //create your cookie's initial values here } 
    My temp site is here - http://79.170.40.43/nutcrackerdesign.co.uk/
    On revisting the homepage, I only want to play from when the green 'How can we help?' button drops in.
    Many thanks!
    Russ

    Hi, Russ-
    I found this article, which seemed really helpful in describing how cookies work in JavaScript:
    http://www.quirksmode.org/js/cookies.html
    Remember that JS works just fine within Animate, so on your compositionReady, you can read your cookie and then set the play based on that.  You should probably uncheck the autoplay for your Stage and control the play of your Stage from the compositionReady.
    Good luck!
    -Elaine

  • How do I get rid of the hightlighting of part of the url?

    Part of the address (mozilla.com from https://support.mozilla.com/en-US/questions/new?product=desktop&category=d4 etc) is highlighted. Why? It feels like riding a bike with safety wheels. This "feature" needs to become optional. I want to see the whole adress all in the same print. One of the reasons I stopped using Opera is because of their partial obfuscation of the url, please don't go the same road.

    That is a new feature in Firefox to highlight the domain in the URL bar. You can change a preference to make the entire URL dark.
    Change a preference:
    #type '''''about:config''''' in the Location/URL bar and press Enter.
    #if you see a warning, accept (promise to be careful)
    #Filter: '''''browser.urlbar.formatting.enabled'''''
    #in lower panel, double-click that item to toggle value to '''''false'''''
    I am not sure whether or not you need to re-start Firefox after doing the above for the change to take effect. Test and if it does not work, then re-start Firefox and test again.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]

  • Firefox keeps changing the address of some sites I use, adding 'www' when it isn't part of the URL. How do I stop this?

    I'm using Firefox 3.6.13
    I googled and found an answer I was willing to try, that required typing about:config into the location bar and changing some parameters. And guess what? It added www. to the beginning and told me it couldn't find the site.

    Ummm ... see above ... I '''did '''type about:config into the location bar - and it added www. to it. It's adding www. to '''everything '''in the location bar. It does it if I type in an address manually, if I follow a bookmark, and when I use the 'history' link.
    Thus it tried to take me to www.about:config and said it couldn't find it.

  • Using color corrector on only part of the frame

    Im running FCP 5.0.4 and need some help color correcting something. I am editing footage that someone shot and the colors are completly unbalanced in the frame. Meaning the left side of the frame is red, making the person look like a cherry, whereas the right side of the frame is fine (well, good enough I should say). Nothing that I know how to do helps but I am not the worlds most knowledgeable when it comes to using all of the effects that FCP has to offer. I have used the Color Corrector 3-way utilizing the dropper in the whites to white balance the clip, but how do I only edit the left side to get the red out?
    Any info would help thanks.

    There are several "proper" ways you could do this, but if the scene is split as drastically as you say, you might get away with this little cheat...
    Place the clip on V1 Copy the clip and place the copy on V2, above the first clip.
    Double click the top clip and open the Motion tab.
    Crop the clip so that only the side you want to CC is showing.
    Add the CC filter to the top clip and adjust it as you like.
    Go back to the Crop adjuster in the motion tab and add some feather to soften the divide between the two clips.
    If that won't work then you have to start playing with the CC filter and learning how to use the "limit effect" controls. Works well, but can be time consuming if you are not that familiar with CC.
    Good Luck
    rh

  • I am a power user with 100 open URLs and need a way to grep open tabs by a part of the URL. I can create an add-on if the open URLs are exposed.

    I imagine I could query an sqlite3 table for open windows but don't know the details for what is available. I trust firefox to always be able to open a previous session that I use open windows as sort of a task list. Duplication of information is futile.

    I actually think the default single session storage is a bit fragile. Do you use the [https://addons.mozilla.org/en-US/firefox/addon/session-manager/ Session Manager] extension or [https://addons.mozilla.org/en-us/firefox/addon/tab-mix-plus/ Tab Mix Plus] to provide greater depth?
    The "Switch to Tab" feature of the address bar provides some of the functionality you want. However, the fact that it shows "Switch to Tab" rather than the address on that tab makes it hard to see if it's the one you want.
    If you want to build your own add-on, here are a couple that might serve as a starting point or resource for understanding how to work with tabs in Firefox. I haven't tried them myself. (MPL licensed for code re-use.)
    * [https://addons.mozilla.org/en-us/firefox/addon/tabhunter/ Tabhunter] - search for a string in URLs across all windows, choose from dialog
    * [https://addons.mozilla.org/en-us/firefox/addon/showcase/ Showcase] - view tab thumbnails across all windows, with a find feature

  • Hi I am bharath I am using Httpfox..How can I enter the URL manually insedi of Httpfox window?

    I want to enter one server URL and want to see the headers and all what are requirments for that serevr. How can I enter that server URL inside of the Httpfox? Thanks in advance

    hello, i think that extension is just recording/logging the headers as you are browsing along in the browser - so i think you just have to open httpfox and enter the address you want to inspect in the firefox address bar.
    if you have more detailed questions about extensions, please contact the developers of the extension themselves or use the support channels they provide, since they can give you far more detailed guidance.
    eidt: i think firefox also offers the same functionality inbuilt in the net section of the webconsole in tools > web-developer, [https://developer.mozilla.org/en/Using_the_Web_Console]

  • How do I pass the part of the url that matched url-pattern to JSP?

    Hello,
    I have a web app called ptest.war deployed in JBoss. In my web.xml I have:
    <servlet-mapping>
    <servlet-name>GetImage</servlet-name>
    <url-pattern>/images/*</url-pattern>
    </servlet-mapping>
    and:
    <servlet>
    <servlet-name>GetImage</servlet-name>
    <jsp-file>DoImageRequest.jsp</jsp-file>
    <load-on-startup>1</load-on-startup>
    </servlet>
    In DoImageRequest.jsp, I want to know what was requested by the user (so I can set some response headers and then re-direct to the image they requested), so if I go to:
    http://localhost/ptest/images/i1.jpg
    I want to have "/images/i1.jpg" available to me in the JSP, so that I can do a jsp:forward to the requested image, but none of the getters on the request object give me that string.
    request.getServletPath() returns "/images" and request.getPathInfo() returns "/i5.jpg".
    So do I need to construct what the user asked for by concatenating these two values?
    The reason I was testing this was because I wanted to set no-cache in the response to the request for the image. Is there an easier way of doing that without having to direct the request to a jsp so that the jsp can set the response headers, which seems a little long-winded to me?
    Many Thanks,
    Paul Smith

    I want to have "/images/i1.jpg" available to me in the JSP, so that I can do a jsp:forward to the requested image, but none of the getters on the request >object give me that string.Even if you manage to construct that, such a request path would be intercepted by your jsp because it maps to /images/*.
    You would end up with infinite recursion.
    To circumvent that, you can change the folder that stores the image - call it something like img and then you just need append the request.getPathInfo().
    getServletContext.getRequestDispatcher("/img"+req.getPathInfo()).forward(req,res);
    The reason I was testing this was because I wanted to set no-cache in the response to the request for the image. Is there an easier way of doing that >without having to direct the request to a jsp so that the jsp can set the response headers, which seems a little long-winded to me?You could have a filter intercept all requests for *.img, add the response headers and pass the request along to the actual resource. That would be easier and more intuitive. If your web app has a good fronting like an apache web server, I think you can cache your images on the web server and set a property that would instruct the web server to set a no-cache header in response when it serves the image.
    ram.
    Edited by: Madathil_Prasad on Mar 26, 2010 7:20 PM

Maybe you are looking for

  • Why is ispq crashing in mavericks?

    I have an Early 2008 8-Core 2.8ghz Mac Pro running OS X 10.9 build (13A603). When attempting to load iSpq VideoChat 9.0 (389) which is current I get the following error: Process:         iSpQ VideoChat [385] Path:            /Applications/iSpQ VideoC

  • Equipment master data : address in "Location" tab

    Hi experts, Can someone tell me what the "address" data (in equipment master data, "Location" tab) are for? What is an example of business case which will use that "address"? Thanks, P.

  • Recent Update iPhoto

    I've been reading around here and elsewhere that this latest update is causing some issues. Namely iTunes freezing and other sorted issues. Has anyone here experienced these. I don't want to update until I know for sure. Regards, Joe

  • As an Administrator, how do I see what a Reader sees?

    As an Administrator, how do I see what a Reader sees? For example, I am developing a SharePoint 2010 list.   My users will have read rights only.  How do I see the page from their view. d.bell

  • Recovering deleted photos from card?

    While uploading photos from sd card, photos were deleted from card and do not show up in library.  It looks like they started to transfer, but they are not in library.  How can I recover these photos?  There is an empty icon in my library where the p