ConstructDetailHTMLLink without a tags

Hi,
How can I get the link to the details page without the <a>... tags
that are added by constructDetailHTMLLink.
Im trying to use webmacro with my servlet portlets. Webmacro is
a template engine to seperate content from layout. A little bit
like jsp, but more strict.
So in my template I have a list of records with a link to the detail
page with an ID parameter. But I need the clean link, without the anchor
tags.
Kind regards
Ido

hi,
I did something with regular expressions now, its works, but perhaps not the best solution
myURL.replaceFirst("<[aA] href=['\"]?(.*?[^'\"])['\"]?>(.*?)</[aA]>", "$1");btw, the constructDetailHTMLLink method doesnt put " around the href param, shame shame ;)

Similar Messages

  • How to send back the soap fault message without details tag to the sender

    Hello Expert,
    Is it possible to send the soap fault message(fault String element value) without details tag as shown below to the sender in synchrounous scenario.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
              <soapenv:Fault>
                   <faultcode>soapenv:Client</faultcode>
                   <faultstring>autorizarComprobanteRequest.comprobanteCAERequest.arrayOtrosTributos.otroTributo(1).codigo - El Código de Tributo es obligatorio.</faultstring>
                   <detail></detail>
              </soapenv:Fault>
         </soapenv:Body>
    </soapenv:Envelope>
    I have to send the faultstring element value in one of the element in response message back to sender? Is it possible using BPM?The above fault response does not have a fault payload (no detail element) and would result in a system error message.So how to handle this?
    If yes .Please tell me the BPM design
    faultstring value will be dynamic.
    Thanks in advance

    Thanks Yzanagi,
    I have gone through the index.htm file.
    In my scenario that is RFC -PI-soap(using http(Axis) protocol).when the webservice provider  is sending the soap fault as.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
              <soapenv:Fault>
                   <faultcode>soapenv:Client</faultcode>
                   <faultstring>autorizarComprobanteRequest.comprobanteCAERequest.numeroComprobante - El Número de Comprobante debe ser mayor o igual a 1</faultstring>
                   <detail></detail>
              </soapenv:Fault>
         </soapenv:Body>
    </soapenv:Envelope>
    In PI sxmb_moni it is converting to the error (system not application error)as shown below when using receiver soap adapter with  https(Axis) transport protocol and Message protocol:Axis.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1></SAP:P1>
      <SAP:P2></SAP:P2>
      <SAP:P3></SAP:P3>
      <SAP:P4></SAP:P4>
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: autorizarComprobanteRequest.comprobanteCAERequest.numeroComprobante - El Número de Comprobante debe ser mayor o igual a 1.</SAP:AdditionalText>
      <SAP:Stack></SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    As my requirement was (I have mentioned in my first question) that I want to pass
    SAP:AdditionalText tag
    value back to sender  in  one of the elements of  response message payload or handle using fault message mapping if this error could be converted to application error and map to the RFC exception  but unfortunately which is  not possible even using AXIS  adapter.
    so other  option to inform the sender RFC is mentioned here http://help.sap.com/saphelp_nw70/helpdata/en/22/0425e0488911d189490000e829fbbd/content.htm
    but while handling the SYSTEM_FAILURE  exception from PI at sender in report program and  displaying the msg variable ,I am not getting complete error message..It is getting truncated.Is there a limit to the no of character the msg variable contains which is set by system.Even if we declare msg variable with more length(for example char length 500) it is just displaying part of the error message from PI.
    Any Idea to read complete system error message from PI in report program at RFC sender..
    Kind Regards,
    Kubra fatima

  • How  to config receiver http adapter for HTTP POST without XML tags ??

    Hi All,
    Can you please provide some infornation on How  to config receiver http adapter for HTTP POST (Request) without XML tags ?? Our receiving product doesn't support XML formats.
    Is there any option to bypass server authentication on the XI?
    If anybody has the same experience or know how to please provide inputs.
    Thanx
    Navin

    Hi,
    you can use xsl mapping for this in which u xtract
    the contents only but not the xml tag.
    Ranjit

  • Create XML element without closing tag using Visual C++

    I know how to create xml element with closing tag (using WriteStartElement and WriteEndElement methods)
    <tag id="1234">
    </tag>
    but is there a way in Visual C++ to produce xml element like this
    <tag id="1234"/>
    i.e. without closing tag?

    Hi adamay,
    Please refer to this thread.
    http://stackoverflow.com/questions/8182245/create-xml-element-without-closing-tag-using-xslt
    I think you could try the way of write your own class derived from XmlWriter.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Export tiff without RichTIFFIPTC tags

    When exporting tiff images I get an error opening them in my custom ImageMagick extension.
    wrong data type 7 for "RichTIFFIPTC"; tag ignored
    Though it says the tag is ignored, the file fails to open.
    When I take those tiffs and resave them as tiffs in GIMP they do not error and open fine.
    Is there a way to save tiffs from photoshop without these tags?

    Both of the scripts in that thread do not work. Image Processor will strip only for a jpg. I need to save as TIFF.
    The other picture processor just doesn't seem to work "PicProcessor is undefined" line 8
    do you know of any other scripts that may accomplish this?

  • Using iphone5c,8.1...I cannot send a new text without it tagging onto an old text for that contact.

    using iphone5c,8.1...I cannot send a new text without it tagging onto an old text for that contact.

    alosada1112 wrote:
    I can't find any company contact numbers...
    Wouldn't matter.  Experience has shown that they won't be willing to help you get Photoshop CS working on a modern OS.  They'll just say it's incompatible and that you need to buy a new license.
    R_Kelly has hit on the right concept, I believe.
    -Noel

  • How does one move or copy emails from one IMAP folder to another without loosing tags?

    I am using Thunderbird 31 with an IMAP server (one that I control) and I'm wanting to move some emails from one IMAP folder to another (within the same account) which works just fine, but I noticed that tags are not retained. Is there a way to copy/move emails without losing tags?
    Thanks:

    I think there are some misunderstood.
    I do not suggest to "Switch" devices.
    I suggest the safest way how you can do it.
    Connect device, where you have needed Address Book, buckup it (only Address Book)
    Then connect second device and just recover Address Book, after from Second device you can delete not needed contact.
    I have 6 devices for separate issue and in all of them same contact, with small changes
    Be sure to click Likes! for those who have helped you.
    If your query is resolved then please click on “Accept as Solution”.

  • How to open a file browser in CRM Web UI without THTMLB tag "fileUpload"

    Hello,
    can someone help me solving this question:
    How can I open a file browser in CRM Web UI without using the THTMLB tag "fileUpload"?
    The THTMLB tag has the disadvantage that after having uploaded the file the file name disappears.
    Thanks a lot.
    Best regards,
    Michael.

    Hello, Michael.
    I've got what you mean now. Seems that this is a standard behaviour of this tag. And it has a background which I can only guess - you press Upload, upload is done, field is emptied shown that it is ready to upload next file.
    I suppose you should handle such situation in your onUpload method. And set some indicator (text field below the fileupload tag, icon somewhere near, disabling fileUpload's bttons etc.) on the screen accordingly.
    For instance, your button "Start import" at the bottom of the window already knows about it (it switches from disabled to enabled when you press "Upload").

  • How to re-rip CDs without losing tags and playlists?

    Hi.
    Years ago I ripped all my CD collection into iTunes at a rather low bit rate (128kbps). Since then, most of my tracks have been included in several playlists and have been star rated, they now have lyrics, covers and in many cases have tag information that I find very useful. I would like to have those tracks at a higher bit rate without having to re enter all the info and without having to reasign them to all the playlists in which they are included now. It would be great to just open a playlist and find the same songs with the same info and tags as always but at a better sound quality. Does anyone know a way of doing something like a batch re ripping? Something like selecting the iTunes tracks, launching a comand, inserting the CD for those tracks, and have iTunes re encode and substitute the audio of those previously selected library tracks?
    Any help would be apreciated.
    Thanks.

    I have re-ripped to a higher bit rate and was offered the option from iTunes to keep or replace the original tunes.
    What you could try is to re-rip one CD and see what options are offered. Re-rip one CD,replace the original tunes and see if the data is retained.
    MJ

  • Export without HTML tags

    Hello,
    I have written my own PL/SQL export to Excel function, basing on Denes’ procedure.
    Unfortunately I’m facing problem with some of my views and columns that contains a lot of text. I show such a data as shorter version of DB content, i.e. “This is…” instead of “This is my sentence”. I do it using HTML tags.
    Procedure does export automatically.
    Do you have any idea how to put whole sentences in Excel file without writing separate SQL statements for view and export?
    Regards,
    Przemek

    You can use the HTMLtoText class
    http://msdn.microsoft.com/en-us/library/office/microsoft.exchange.data.textconverters.htmltotext_members(v=exchg.150) there is a sample Transport Agent for doing that
    http://code.msdn.microsoft.com/office/StripIncomingLinkAgent-7004255d
    Cheers
    Glen

  • How to show JSP Presentation without using tags

    Hi,
    is it possible to show JSP BI Presentation such as Thin Crosstab without using Presentation JSP Tag. Is there a method that renders Presentation (passes parameter of ThinDataviewCommon type and writes Presentation HTML) to output stream? Please give a sample code.
    Slawek

    Hi,
    You can do this. Please look at the struts example code given (http://otn.oracle.com/sample_code/products/bib/content.html). Here a view is loaded in Struts Action class and stored in HttpSession. Then UIX renderer is used in JSP to access this object from HttpSession to render it.
    Hope this helps
    Shantanu

  • Generate XML without header tags in Oracle 9i Release1

    I am a novoice to Oracle. I am using Oracle 9i Release 1.
    I have a table "Attribution" with the following structure.
    SQL> Desc attribution
    Name Null? Type
    REPORT_ID NUMBER
    LABEL VARCHAR2(20)
    VALUE NUMBER(25,10)
    COLOR VARCHAR2(10)
    The inserted values in this table are:
    SQL> select * from attribution;
    REPORT_ID LABEL VALUE COLOR
    24 Allocation .025172879 996699
    24 Selection -.03198432 FF9933
    24 Timing .000016592 8B5A13
    24 Interaction -.0148997 99583D
    24 Derivative Effect -.00026146 CDCD00
    24 Active Return -.02195601 638B45
    24 Active Risk .031745116 800000
    I want to generate an xml without the XML declaration row i.e. <?xml version="1.0"?>
    Also I do not want the <Rowset> tags in my xml.
    My generated XML should be like:
    <set label="Allocation" value="0.4649000000" color="996699"/>
    <set label="Selection" value="-4.3508000000" color="FF9933"/>
    <set label="Timing" value="-0.0022000000" color="8B5A13"/>
    <set label="Interaction" value="-0.4669000000" color="99583D"/>
    <set label="Derivative Effect" value="-0.0184000000" color="CDCD00"/>
    <set label="Active Return" value="-4.3733000000" color="638B45"/>
    <set label="Active Risk" value="1.9901704500" color="800000"/>
    where the value attribute should be equal to values*100.
    Please help me in generating this xml.
    Thanks in Advance
    Jaspreet

    Thanks for your reply.
    Essentially my requirement was to concatinate three sets of xml strings. The application which is parsing my xml requires the XML in the following format:
    XMLStringA + GeneratedXMLfromMyQuery + XMLStringB
    where XMLStringA and XMLStringB are static XML strings and do not change.
    I have generated GeneratedXMLfromMyQuery as from the following query.
    Declare
    qryctx dbms_xmlgen.ctxhandle;
    GeneratedXMLfromMyQuery CLOB;
    Begin
    qryctx := dbms_xmlgen.newcontext('SELECT label "@label", value*100 "@value", color "@color" FROM Attribution order by rownum');
    dbms_xmlgen.setrowtag(qryctx,'set');
    GeneratedXMLfromMyQuery := dbms_xmlgen.getxml(qryctx);
    I can do substring operations on GeneratedXMLfromMyQuery to fetch my required XML and then concatinate it with XMLStringA and XMLStringB,
    XMLOUTPUT := XMLStringA || GeneratedXMLfromMyQuery || XMLStringB ;
    but was keen to know if there is any way by which I can generate GeneratedXMLfromMyQuery without the <?xml version="1.0"?> row and <ROWSET> tags??

  • Escape HTML content without escaping tags

    How can I escape HTML content without escaping the HTML tags?

    Thanks for the info.  The select statement worked for me when I ran it with the inputs below but when I tried to put the statement in my code it didn't work.  Can you have a look and see what I may have done wrong?
    Thanks
    Karen
    My code looks like this:
    FUNCTION escape_varchar(p_text_in IN VARCHAR2, p_encode  IN NUMBER)
        RETURN VARCHAR2
      IS
        p_text_out VARCHAR2(32767);
      BEGIN
        p_text_out := DBMS_XMLGEN.CONVERT(utl_i18n.escape_reference(unistr(REPLACE(p_text_in,'\','\\')),'US7ASCII'),p_encode);
        RETURN p_text_out;
    END escape_varchar;
    p_text_in =
    <html>
    <head>
      </head>
    <body>
    Make sure the following characters are getting Displayed in EIS
    ~`!@#$%^&*()_-+={}|[]\:;"'<>?,./ ¢ £€¥©®™‰µ >• • … §¶ß‹›«»==–—¯ ?¤¦¨¡¿ˆ˜°-±÷/×¹²³¼½¾ ƒ??8v˜?=?¬n?´¸ªº
    †‡ÀÁÂÃÄÅÆÇÈÉÊËÌÎÏÐÑÒÓÔÕÖØŒŠÙÚÝÜŸÞàáâãäåæçèéêëì í î ï ðñòóôõøœšùúûüýþÿ??G????T?????????S??F??Oaß?de?????
    ?µ???p??st?f??????????????
      </body>
    </html>
    p_encode = 0
    p_test_out =
    &amp;lt;html&amp;gt;
    &amp;lt;head&amp;gt;
      &amp;lt;/head&amp;gt;
      &amp;lt;body&amp;gt;
    Make sure the following characters are getting Displayed in EIS
    ~`!@#$%^&amp;amp;*()_-+={}|[]\:;&amp;quot;&amp;apos;&amp;lt;&amp;gt;?,./ &amp;#xa2; #&amp;#x20ac;Y&amp;#xa9;&amp;#xae;&amp;#x2122;&amp;#x2030;&amp;#xb5; &amp;gt;&amp;#x2022; &amp;#x2022; &amp;#x2026; &amp;#xa7;&amp;#xb6;&amp;#xdf;&amp;#x2039;&amp;#x203a;&lt;&gt;==&amp;#x2013;&amp;#x2014;&amp;#xaf; ?&amp;#xa4;|&amp;#xa8;!&amp;#xbf;&amp;#x2c6;&amp;#x2dc;&amp;#xb0;-&amp;#xb1;&amp;#xf7;/&amp;#xd7;&amp;#xb9;&amp;#xb2;&amp;#xb3;&amp;#xbc;&amp;#xbd;&amp;#xbe; &amp;#x192;??8v&amp;#x2dc;?=?&amp;#xac;n?&apos;&amp;#xb8;&amp;#xaa;&amp;#xba;
    &amp;#x2020;&amp;#x2021;AAA&amp;#xc3;A&amp;#xc5;&amp;#xc6;CEEEEIII&amp;#xd0;&amp;#xd1;OOO&amp;#xd5;O&amp;#xd8;&amp;#x152;SUUYU&amp;#x178;&amp;#xde;aaa&amp;#xe3;a&amp;#xe5;&amp;#xe6;ceeeei i i i &amp;#xf0;&amp;#xf1;ooo&amp;#xf5;&amp;#xf8;&amp;#x153;suuuuy&amp;#xfe;y??G????T?????????S??F??Oa&amp;#xdf;?de?????
    ?&amp;#xb5;???p??st?f??????????????
      &amp;lt;/body&amp;gt;
    &amp;lt;/html&amp;gt;

  • Resize without losing tags (date, rating, keywords, etc.)?

    It seems the only way to resize photos is to export and then re-import. However, doing so seems to destroy all of the tags, including date, time, rating, keywords, and descriptions. This is a pain since I've spent a lot of time adding this data.
    Is there any other way to resize without losing this information? Thanks in advance...

    Scans, I'm afraid, don't have Exif or IPTC metadata.
    IF disk space is an issue you can run a Library from an external disk:
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Conversion of text with xml tags to text without xml tags

    Hi all,
    We have a requirement wherein we have to discard xml tags in a text string.
    The scenario is that we have got the text from the fm READ_TEXT which contains xml tags also.
    we need to populate this text sans the xml tags  into the data segment of a iDOC.
    The text returned by the FM is " <s><<H>INVOICING INSTRUCTIONS:</><s> Invoices referencing a Boyne "
    Helpfull ans will be rewarded
    TIA

    Use the function module:
    SOTR_TAGS_REMOVE_FROM_STRING
    sorry for duplicate post:
    Check this thread:
    Need help getting rid of those <ASX:ABAP> tags from the generated XML file!
    Re: XI 2.0 Inbound message to XI has XML Tags Stripped out
    as well
    Regards,
    ravi

Maybe you are looking for

  • Essbase sample basic

    <p>can we write a calc script for Sample Basic that limits everynumber in the database to two decimal places.</p>

  • Graphs (in JSP)

    I created a simple bar chart by dropping my VO onto my JSP as a graph. I notice that when I display the data value above each bar, the data value displays with decimals. Is there any way to display data values without decimals (i.e., "56" vs. "56.0")

  • Adobe Dreamweaver CS4 do not load

    Hello, (sorry for my bad english) I have a problem, I downloaded the Trial-Version of Adobe Dreamweaver for 30 days. I installed it, but when I will start it, it comes 3 - 4 seconds long this window then it closes! http://img3.imagebanana.com/view/ui

  • McBook Pro Mac OS X 10.7.4 stuck on the white screen on shut down.

    I would appreciate help on this. When choosing to shut down my MacBook Pro it closes everything and then gets stuck on the white screen. Unless I press continuously the on button it just stays there... Any ideas what the problem might be?

  • OWB descign client  11.2.03 extremely slow

    Hi all, I got accustomed to OWB's memory problems in the interface since 10 years, it has never been fixed properly. The screen is frozen for minutes and nobody knows why. But since 10gR2 thinks improved and with 11gR2 you can work reasonably. But to