Creating absolute urls  in CQ for consuming externally.

1) Selector which gets parsys
    StringWriter defaultHtml = new StringWriter();
    pageContext.pushBody(defaultHtml);
  %>
    <cq:include path="<%=nodeName%>" resourceType="<%=resourceType%>"/>
  <% pageContext.popBody();%>
<%=defaultHtml %>
2) the above produces relative urls, so the externall app wont show images, styles, any scripts.
3) how can make the above output with absolute urls. Please suggest.

I'm sorry, here is the link
http://www.wemblog.com/2011/08/how-to-remove-html-extension-from-url.html
Regards,

Similar Messages

  • Can you create an image map hotspot for an external URL in Dreamweaver CS6?

    Can you create an image map hotspot for an external URL in Dreamweaver CS6?

    Duplicate post: http://forums.adobe.com/thread/1338701?tstart=0

  • Absolute URL not working for reply in workflow

    I've setup a workflow that will email a group when a new discussion or reply is added. I get the email with the subject of the discusssion and the absolute URL for new discussions, but when a reply is created the email comes without the subject and the absolute
    URL goes to a page that doesn't exist.

    Hi,
    When it comes to a reply in the discussion list, you need to take extra steps to get the URL. You can set the workflow actions like this:
    If Current Item: Content Type ID equals Discussion
    Email user group(use the Encoded Absolute URL in the email content)
    Else if Current Item: Content Type ID equals Message
    Email user group( Use this URL in the email body:
    http://servername/Lists/Team%20Discussion/Flat.aspx?RootFolder=%2FLists%2FTeam%20Discussion%2F[%Current Item:Discussion Subject%]. This will link you to the flat view of the discussion. If you want to link to the display form for the message, you can set
    the URL like this:
    http://servername/Lists/Team%20Discussion/DispForm.aspx?ID=[%Current Item:ID%])
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • How do I create a new Itunes account for my external HD?

    Hi. I am a graduate student with a huge amount of music files for academia.  I store the academia music files on my external HD, since it will just take up too much space on my computer.  I wanted to create a separate Itunes account just for my external HD music files.  How do I go about doing this? I tried to set it up and created a new account, but it automatically synced to my computer Itunes and I ended up deleting all of my personal music, video and reading articles on my personal itunes account.

    As a graduate student you will quickly learn the importance of exact terminology.  I presume your colleague told you to copy the "iTunes folder".  You can't copy just iTunes (well, you can, but it isn't easy).  Saying "iTunes" on its own refers to the application itself, not the library.
    You do not need to make a new account.  This again gets confusing unless you tell us exactly what you did.  As I said before, an "iTunes account" is something you log into to make a purchase from the iTunes Store.  A "computer account" is a whole new user area on your computer and isn't made on a different hard drive.  An "iTunes library" is a collection of files and folders that generate the window you see when you start the iTunes application.
    I do not know how you are ending up with two icons on the dock.  While it is possible to do that it isn't at all normal unless you somehow are running two copies of iTunes at the same time.  That is exceedingly difficult to do and people have unsuccessfully tried and would like to know how you did it.
    You can have two independent libraries and there won't be any crosssover from one to the other.  I have four on my computer.  Use the procedure I outlined earlier to create a second library and to switch between them.
    I was a graduate student many years ago and one  of the first things I learned to do so I didn't lose years of research  was to make multiple backup copies of anything I generated by computer,  especially before performing any major changes to the computer such as  installing new software or substantial file rearrangement.  I kept several  copies in different buildings on campus and a copy at home in another  part of town just in case the campus was wiped out by a disaster.

  • Mass upload Create External doc URLs using Services for object-Inspmethod

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data 9Insp plan/Material master etc..)

    Developing the program

  • Mass upload Create External doc URLs using Services for object-Materialmast

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data ex.Material master.

    ok

  • Create a Client Proxy for consume wsdl via https URL return a 110 HTTP code

    Dear all.
    I has new in this forum, and i have a problem when trie to create a client proxy from external WSDL, using https URL, system returns me a 110 http code. For others externs WSDL called via http don´t have any problem, and create client proxy perfect
    Someone can help please.
    best regards in advance.

    Dear Anton I download de WSDL definition in a local file, but when I trie to use, the error persist.
    If I test de URL via WebService navigation option, this work correctly, but if I put this URL thats begins with https, in se80--> create client proxy -->insert URL and then system returns the message HTTP error (return code 110, message "") 
    What it´s happen?.
    Best regards in advance.
    Juliá

  • Error target namespace must be absolute URI when consuming external WSDL

    Hi,
    I'm trying to consume external WSDL which has relative target namespace.
    Through SE80 transaction I select Create -> Enterprise Server -> Service Consumer.
    I have tried with URL and local file options but the result is the following in both cases:
    At the en of the wizard I receive the errors "exception in Error-Handler" and "Error target namespace must be absolute URI".
    I'm on ECC 6.0 SP 18.
    Anybody knows how to solve this problem? Maybe is not possible to consume external WSDL with relative URI?
    Thanks
    Regards

    Hi,
    I think the problem is that the WSDL is not WS-I compliant.
    I have found note 1327511 (Limiations and common problems in ABAP WSDL processing) and with the report RSSIDL_DESERIALIZE_DEMOI have found the same error.
    Anybody can confirm this?
    Is there any other document or reference where SAP indicates this fact?
    Thanks
    Regards

  • How to create a Url assembler in Webcentre for creating friendly url?

    Hi,
    To create a URL Assembler I am required to code a java class  that extends the com.fatwire.cs.core.uri.QueryAssembler class.
    The friendly URL of a Page will be based on the “Friendly_URL” attribute
    Rule to generate the final URL
    URL starts with {domain-name}
    For each parent page in the navigation concatenate {friendly_url}
    Finally the page or content URL
    {domain}/{parent-page-friendly_url}/{ parent-page-friendly_url }/{page/content_friendly_url}
    Could someone help me with writing the assembler code in java.

    Hello Abdul, hello Sam,
    thanks for help !
    I have tested both and it is ok !.
    If i want to use the "external Link" in my Window, i have know thte Problem.
    I use the LinkToURL-Control with the Propertie "_SELF" and allways a new Browser Window come up! Where is my fault ?
    I have tested it with the following properties "_SELF, _PARENT, _TOP".
    Regards
    Jürgen

  • How to create an url for bsp page to access in IE?

    hi friends,
    I am new to BSP topic.
    I have created 4 BSP pages. and 1 Main BSP page. Now in Main BSP page i attached all the 4 BSP pages links.
    Now when i test the Main BSP page it will show all the 4 BSP page links. All are working fine.
    But the end user has to access this through IE by typing Main BSP page full path. It's some what becoming critical to enter full path. It will be access in internally(intranet) only not outside.
    For this i want create an URL like http://empess.
    When the user type this URL http://empess in IE and press enters then my main BSP page has to open.
    How to do this. any helps will appreciate...
    Regards,
    Shree.

    hi,
    As u said i created External Alias as /ITCESS to my BSP application.
    And i select my BSP application name from the Target Element tab. Then i selected the alias name i right clicked on it, i selected TestExt. Alis option. It's working fine.
    But now the problem is, i want this to display in IE direclty, when user type the /ITCESS in Internet Explorer addres bar.
    Regards,
    shankar.

  • Error while consuming external webservice URL in SAP

    Hello every one,
    I am getting below error in sap while consuming external web service URL .
    HTTP error (return code 405, message "Method Not Allowed")
    Can any one help me on this.
    Thank You.
    Vijay

    Hi Vijay,
    Did you check if you are using full correct UURL. That happens with incorrect URL.
    Thanks,
    Ravi

  • I have a 1TB external hard drive (NTFS) that has all my files from my old PC, how do I create a partition on it for HFS  without formatting it so that I can use it for Time Machine and the like?

    I have a 1TB external hard drive (NTFS) that has all my files from my old PC, how do I create a partition on it for HFS  without formatting it so that I can use it for Time Machine and the like?

    There aren't any 3rd party apps or anything. I use PC's and Mac's at school and the only computer connected to a printer at my house is a PC so i need access to both

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Is there any way to create a time machine backup to an external hard drive with content already on it?  I have a hard drive that i have used for pictures but when i try to run a backup it says i need to start from a blank drive. Can i get around it?

    Is there any way to create a time machine backup to an external hard drive with content already on it?  I have a hard drive that i have used for pictures but when i try to run a backup it says i need to start from a blank drive. Can i get around it?

    It would be much better if you had separate drives for the pictures and Time Machine backups.....but, if you want to use the same drive for both purposes, temporarily move the folder with the pictures to another location for safe storage.
    Run the Time Machine backup on the hard drive and verify that everything is working correctly. Time Machine will format the disk for you in Mac OS Extended (Journaled) as part of the backup process.
    Then move the folder with the pictures back to the hard drive with the Time Machine backups.
    When you have tested to make sure that everything is working again, then and only then should you delete the folder with pictures from the temporary storage area.
    Again....it would be much better to keep Time Machine backups on a drive just for that purpose, and other data on another drive for that purpose. This is clearly one of those times when the fact that you can do something does not mean to imply that you should do it.

  • Hi , my problem is that i can only create absolute links to other pdf-files in a main pdf-file. how can i switch to or create relative links. Thanks for help!

    Hi , my problem is that i can only create absolute links to other pdf-files in a main pdf-file. how can i switch to or create relative links. Thanks for help!

    I’m using version 11.0.10. So where the Menu resides in a folder ready to be burnt on to a CD, that same folder is where the links point to.
    Thanks

Maybe you are looking for

  • Can you transfer music from one app to the same app on a different device?

    I have an app called HCO playlist and it lets you download the current playlist and as the playlist changes you cant redownload the previous playlist but you keep the songs you downloaded and on my iPod 4th gen. I was wodering if there was anyway if

  • Global attribute wierdness

    I am running across some unexplainable behavior with Global attributes. I have a simple field form and a update workflow. When I check out the user view, it correctly populates all my form fields with the current values. I'm using a simple "userView.

  • Score Editor: Hide/Show Rests

    I thought that in Score Styles you could Hide/Show rests for different midi regions, so I am perplexed by the following problem: I have a piano part in Arrange which I have cut up into separate regions so that some will display rests and others will

  • JDBC Insert

    hi folks, I have a oracle table with USER_ID as primary key. Using JDBC i m trying to insert a row with same USER_ID and hence violating primary key rule. try { stat.executeUpdate(SQL); catch(SQLException ex) Now JDBC throws me a sql Exception, with

  • Multiple buttons for same action page

    I have a cfform with an action page. I have two buttons at the bottom with different labels, like button 1 and button 2, that call this action page to insert data. After the insert, the page needs to be redirected page 1 if button 1 was selected, and