Html:link to c:url

<html:link action="/DispatchAddAction.do?method=Delete">
<fmt:message var="btnDelete" key="btn.delete" bundle="${appbundle}"/>
<c:out value="${btnDelete}"/>
</html:link>
this is working fine.
Trying now to use JSTL c:url
<c:url value="/DispatchAddAction.do" var="url">
<c:param name="method" value="Delete"/>
<fmt:message var="btnDelete" key="btn.delete" bundle="${appbundle}"/>
<c:out value="${btnDelete}"/>
</c:url>
I don't see the link Delete. What am I missing here?
Thanks.

The tags do slightly different things.
The html:link tag renders an anchor tag for a link on an HTML page.
The c:url tag just produces a url. It doesn't produce HTML. The struts html:rewrite tag would be closer to the function of c:url
As such you have to generate the link yourself:
// set up values
<fmt:message var="btnDelete" key="btn.delete" bundle="${appbundle}"/>
<c:url value="/DispatchAddAction.do" var="url">
  <c:param name="method" value="Delete"/>
</c:url>
// then render the tag like this:
<a href="<c:out value="${url}"/>"><c:out value="${btnDelete}"/></a>
//if you have a JSP2.0 container you could do it just like this:
<a href="${url}"><fmt:message key="btn.delete" bundle="${appbundle}"/></a>Cheers,
evnafets

Similar Messages

  • How to insert an HTML link into a page

    Hello,
    We have a list of documents in a external document management system. We would like to present the list of documents to the user for retrieval from within any SRM HTML page.
    I was thinking of two different approaches:
    1) I would like to be able to insert an HTML link to a URL of documents for display to the end user.
    2) Alternatively, we might want to inject some javascript into the screen to handle the presentation of the links.
    We would like this functionality to work on any of the screens within SRM as global functionality.
    Any suggestions on how to customize SRM to handle this functionality request?
    (Will reward points very quickly)
    Thanks
    Edited by: Aaron Jack on Feb 15, 2008 7:02 PM
    Edited by: Aaron Jack on Feb 15, 2008 7:03 PM

    Hi,
    My project has a requirement to show URL in Bid Invitation screen. In turn, when user clicks that hyperlink, it will pop-up a web dynpro screen.
    Maybe this is the same with your need.
    In case this is the same, the trick is to define an additional field in bid invitation custom header with customized data element and customized domain.
    Then, defined conversion exit for the domain with javascript line such as "<html> bla bla </html>" to pop-up the web dynpro screen in modal dialog.
    The result will be as what I have above.
    Hopefully this can help you.

  • Trying to add a lightbox slideshow caption link to a url hosed my site.

    In the lightbox slideshow caption I tried to add an html link to the url of the image and now the all the slide show are hosed. It didn't link from the caption text but was embedded into the sllde show so that all the thumbnails linked to the same url.I even created a new slideshow from scratch and it still linked to the url. Do I have to rebuild the whole site? How and where do look to find the hyperlink to remove it?

    Please try to select the caption and remove the link from hyperlink dropdown in top bar menu in Muse.
    If this is not the case , post screenshots from design view.
    Thanks,
    Sanjit

  • Is there a way to select MULTIPLE tabs and then copy ALL of the the URLs and titles/or URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; However, I prefer to use a Firefox feature rather than download an add on. Thanks.

    Currently, I can copy ONE tab's url and nothing else (not its name). Or I can bookmark all tabs that are open. However, I'd like to have the ability to select multiple tabs and then copy ALL of the the URLs AND their titles/or copy ALL of the URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; when I download the add on, I get a message saying that using the add on will disable Firefox's tab features. I prefer to use Firefox features rather than download and use an add on. Is there a way to do this without an add on?

    Hi LRagsdale517,
    You should definitely be able to upload multiple files by Shift-clicking or Ctrl-clicking the files you want to upload. Just to make sure you don't have an old version of the service cached, please clear the browser cache and then log in to https://cloud.acrobat.com/files. After clicking the File Upload icon in the upper-right corner, you should be able so select multiple files for upload.
    Please let us know how it goes.
    Best,
    Sara

  • What can I do if all HTML links refresh site instead of redirecting properly (FF only, HTML 1.0 Strict valid, no plugins) just after using autocompleted url?

    I was testing a XHTML 1.0 Strict valid website on my localhost. It had URL "http://localhost/visaita/tictactoe/Web/index.php?item_id=8&game_password=73|55fc84c0c432ad625a901caaa13108aa&chat_code=74|50b3b60c8be203.98819772#.ULO2EnC23XQ". If I click in URL field between 8 and ?. Then pres shift + end and delete the rest of URL, I get a drop down of suggestions. Then I press arrow left in my keyboard - suggestions dissappear. I press enter and my URL is immediately reset to initial one (with all arguments) even though I wanted to delete them. Server receives all the arguments, so this is not the case of a back-end redirection (tested).
    The most interesting effect is that after such refresh ALL HTML LINKS stop working. They refresh page instead of redirecting. Even if I click on a link redirecting to another domain, page still gets refreshed and not redirected. I see it as an obvious and serious bug which happens in very special conditions.
    All FF plugins and add-ons disabled. Tested in safe mode as well. One interesting fact is that this page is opened by a redirect from another page (JavaScript performs redirect), but the page where error happens does not contain any JavaScript redirection code. Error console is also empty.
    During these redirects FireBug (when enabled) displays interesting stuff. It shows that request without arguments is pending infinitely while immediately after it another request is launched with all unwanted arguments.
    Another interesting fact is that page is using late polling AJAX technique (not sure whether it has any impact).
    It seems that it is some caching bug.

    Autocompleted URL does not seem to be related in order to provoke the bug. If I press Esc and then immediately press on links, they all work fine. Without pressing Esc, if long polling is in action, all links redirect the same page. Long polling request happens for no longer that 2 minutes and then there is a 1 second JS delay before the next one. If links are pressed between calls, they work fine.
    The strange thing though is that my friend has prepared a simple script which is generating a long polling request and has a link to Google. This test works, so I am trying to understand whether there is any additional factor which is causing the problem. Perhaps it can be due to having redirects and 2 simultaneous long polling requests at the same time. Doing my best to understand the problem. Not sure what is happening although I am quite sure that problem is caused by the FF browser somehow. Tested everything back and forth.

  • Published HTML files aren't linked to my URL

    When I publish my dreamweaver files to my FTP, they are
    accessible if I type in the entire path name (eg.,
    http://www.zebragraphicsllc.com/Zebra_home.html),
    but not the URL(
    http://www.zebragraphicsllc.com).
    I am sure there is a simple solution, but I can't seem to figure it
    out.
    Thanks in advance for your help.
    Megan

    Ask your host what their default filename is.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "MeganMoye" <[email protected]> wrote in
    message
    news:f08pei$9v1$[email protected]..
    > When I publish my dreamweaver files to my FTP, they are
    accessible if I
    > type in
    > the entire path name
    > (eg.,
    http://www.zebragraphicsllc.com/Zebra_home.html),
    but
    > not the URL(
    http://www.zebragraphicsllc.com).
    I am sure there is a simple
    > solution, but I can't seem to figure it out.
    >
    > Thanks in advance for your help.
    >
    > Megan
    >

  • HTML links in Vibe Feed and digest e-mails do not work on GW 8.0.3client

    I have GroupWise 8.0.3hp1 on NetWare 6.5.8 and a Vibe 3.3 install on
    SUSE 11 (the downloadable Vibe demo virtual machine from Novell's site).
    I have recently started upgrading GroupWise clients on Windows 7 PCs
    (64bit), and have been testing Vibe. I have run into a problem with
    HTML links in GW clients not working on PCs where the GW client has been
    upgraded.
    This problem occurs using the GroupWise 8.0.3hp2 and 8.0.3hp3 clients,
    but does not occur on a 8.0.2hp2 client, so it appears to be GroupWise
    client related. I haven't tested any other client versions.
    1. When using the GW 8.0.3 client, if I select any of the "Novell Vibe
    OnPrem", "Favorites", or "My Teams" folders, I can see the Vibe Feed
    display showing entries for sites I'm following. But clicking on the
    links in these entries does nothing, so I cannot use the Vibe Feed to go
    directly to files, profiles, etc. The same Vibe Feed links from the
    Vibe web browser interface or from a GW8.0.2hp2 client works fine.
    2. If I have e-mail digest notifications setup to let me know when
    changes are made to a folder or file in Vibe, the e-mails are delivered
    to me just fine. But once again, none of the links in the e-mails work
    when using the GW8.0.3 client. Clicking on them does nothing. If I
    look at the e-mail message source, I can copy-and-paste the URLs
    directly into a browser and they work fine, so the URLs themselves are
    correct. Again, these links work fine if I use the GroupWise WebAccess
    or a GW8.0.2hp2 client.
    Is the GW 8.0.3 client is blocking these HTML links? I receive no
    notification from the client asking whether to "unblock" any
    links/scripts/images when viewing messages with these Vibe links.
    Any suggestions for getting these to work on GW 8.0.3 client?
    Thanks,
    -Greg
    former e-mail for posting:
    [email protected]

    Greg,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Preserving HTML links when converting Word docs

    I created a document in MS Word for Mac 2011 (ver 14.5.2)
    When I used Adobe Pro 11 to convert the document into pdf format, all the HTML links are lost. 
    I have tried converting from MS Word, opening the word version with Adobe Pro, printing from MS Word to pdf.  Nothing works. Even opened the MS Word document using Apple's Pages software, re-formatted and then converted to pdf.  Still no live links.
    Best work around so far is to convert and then use the edit feature in Adobe Pro to re-insert the HTML links as invisible rectangles on top of the still-blue-and- underlined text.  So to the user it looks like the html links are still live, but what a pain for editor.
    I have seen this issue raised in other posts, but none of the answers seem to work. And the work around described above is clearly less than ideal.
    Very curious, as reading other posts, the issue apparently does not arise when the word doc converted from a Wintel computer.  But I can't imagine Adobe writes software one way for Intel and another for Mac.

    Imagine it. this has been 15 year fued between Microsoft and Adobe.  Adobe Claims that Mac office doesn't hav ethe proper hooks for URLs. Microsoft says the fault is with adobe.
    Since a Word Created file will work when opened in the windows version  and saved as a PDF, the links work just fine. Just opening and not saving, but converted to Pdf does nothing to the actual Word File.
    They had it fixed last year  in Acrobat X if your dropped the file on to Acroabt directly. But broke it again with the upgrade to XI.
    IF you have iWork and Open the word file in Pages then exported as a Word.docx file then create The PDF the links will become active.  Also if you Open in OpenOffice and export as docx file the resulting PDF when open in Word and PDF is Created the links will become active.
    If you have neither you will have to open the PDF and add the links. Note the Links will be hot (active) but the links will not turn Blue and  be Underlined
    Mac Office2011 is a Conversion of Office2010/2007 code.  So there should be no pproblem.
    Also Don't use the Save As . . .  PDF Method. Instead go to Print Menu  click on PDF wait for context menu > the choos Adobe Quality PDF or Adobe PDF (uses Adobe's PDF engine).
    wait for next screen that shows qualtity leave as sent unles you need specific job options. click okay then next screen File name. Rename as necessary the browser to desired to location then click save.  Or you can drop the saved Word document (with Word quit.) on to Acrobat and after a minute or so the PDF will be created. (Using this method in AcrobatX would actully show URL s or Mailtos as active - They broke this in Acrobat XI PDF still can be created but hot links no longer work).
    Well it seems it does work on occasion  see: http://www.screencast.com/t/cib2kcYG

  • Can I use a report item as a parameter in an html link.

    I have a report (build using the Query Wizard) that selects and
    shows data from a database on a seperate system (via a database
    link). The first column of the report gives an ID Number that I
    want to use as part of an html link to display the full details
    of the item.
    So if the item on the report has a value of 123456 I want my
    html link to create a url of http://system/plsql/show_details?
    thingid=123456
    Any ideas?

    We are using dynamic pages to accomplish that goal. The links
    actually go to items/folders within portal, but it would be the
    same thing.
    I have found using the combination of links and reporting tools
    to be very limited on the site when it comes to trying to create
    links to things other than forms or other reports. That is
    probably 90% ignorance on my part, but I have not been able to
    accomplish this in any way other than a dynamic page.
    Any suggestions on building a dynamic link within a portal
    created report to a portal page/item would be appreciated.
    I have also tried to concatenate in a <a href> tag in a SQL
    Query based report, but generally errors. We have also created
    a view that creats the link for us, that could be another option
    for you, if the link is static.
    Good Luck and hope my ramblings make sense.
    Brian

  • Adding a html link to a carousel

    i have followed a tutorial to build a flash craousel and have had no problems in building that.  i wanted to add a html link to a section of the carousel but everything i have tried up to now has failed.  All the information is passed through to the carousel from an xml file and everything works fine except for the link.
    i have slightly modified the tutorial so i have an extra box on the information page which holds the web address for the site they are looking at in the portfolio.  i have the address showing up but i cannot use the text as a link.
    the box that i am putting it in is a dynamic text box which has been set up with the following settings
    theLink.html = true;
    theLink.htmlText = t.Link;
    so as far as i know these are set to be able to handle html tags/code but they are not playing games.
    i have tried to pass the link through to the swf file from the xml file with the following code but this just seem to break the whole application.
    Link="<![CDATA[<a href='http://www.acmeart.co.uk/pip_new']]"
    to view how i have the file working upto now please view the link below.
    http://acmeart.co.uk/carousel
    i feel the problem is not with the flash application but more with how i am trying to pass the html link over to the application from the xml file.  i will attach the xml file to the post.

    What I had in mind was to place the link inline in your text. Something like this:
    <item name="valley" full="assets/valley.png"
            title='Book - CD ROM'
            body='This product was a Shockwave holiday card. It began as a jigsaw puzzle. As the puzzle was solved, it opened and displayed the holiday greeting. &lt;a href=&quot;http://www.amazon.com" &gt;Purchase a copy.&lt;a\&gt;'>
        </item>
    The url is right in the text. The html markup is escaped as html entities.

  • How to include HTML link in BI Publisher Report?

    Hi,
    I am trying to include an HTML link in a BI Publisher report. But I get the HTML Code, not the link.
    I have put this in the Data Set SQL Query:
    select id_constancia, rfc, apellido_paterno, apellido_materno, nombre, e_mail_empleado,
    'a href="http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:'||ID_CONSTANCIA||'">CITA</a ' as liga_cita
    from geiq_constancias
    where entregada = '0' and sust_rh = '0'
    And I have included the field LIGA_CITA in the rtf template,
    But I get this in the HTML output:
    =======
    Please clic on the link below to log into the system:
    a href="http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183">CITA</a
    =========
    (I removed the beginning and ending '<''>' to prevent the text to be shown as a link)
    I have put the property "Make HTML output accessible" to TRUE in the report configuration, but nothing changes.
    Does anyone know how to make this work?
    Thanks.
    Francisco

    Hi Francisco,
    Note:
    your xml should only have
    <URL>http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183</URL>
    Show me your sample XML , i can help you.
    What is your expected output ? PDF or HTML ?
    here it is.
    option1:
    If the XML data includes an element that contains a hyperlink , then you can use that element to create dynamic hyperlinks at runtime.
    a. insert hyperlink from word menu
    b. In the Type the file or Web page name field of the Insert Hyperlink dialog box, enter the following syntax:
    c. {ELEMENT_NAME_WHICH_HAS_URL_LINK}
    where ELEMENT_NAME_WHICH_HAS_URL_LINK is the xml data element name
    option2:
    create a form field, you can add it
    <fo:basic-link external-destination="http://www.google..com">
    <fo:inline text-decoration="underline">google Link</fo:inline>
    </fo:basic-link>
    or
    <fo:basic-link external-destination="{ELEMENT_NAME}">
    <fo:inline text-decoration="underline">google Link</fo:inline>
    </fo:basic-link>
    or
    <fo:basic-link>
    <xsl:attribute name="external-destination"><xsl:value-of select="ELEMENT_URL"/>
    </xsl:attribute>
           <xsl:value-of select="LINK_NAME"/>
    </fo:basic-link>

  • HTML link to bookmark in pdf file

    Hi everyone,
    I use the following suffix on an html link in order to link to a specific page within a pdf file:  #page=15  This works but I need to know go one step further and link to a specific bookmark within the pdf. I use the following suffix to try to do this:  #bookmark name  The above syntax doesn't work because the bookmarks all have spaces in their names. Apparently it's supposed to work if I remove the spaces from the bookmark names but this isn't practical because I'm generating the pdf out of Indesign and the bookmarks in the resulting pdf are just a reflection of the table of contents in Indesign. I can't remove the spaces from the TOC entries just so that there's no spaces in the bookmarks in the pdf.
    So I need some sort of workaround and wondered if anyone would have any suggestions. Is there some acrobat script or any other solution to this problem?
    Really appreciate any help.

    Try %20 instead of spaces. HTML links are URL-encoded, and this is the usual translation of a single space, as for example can be seen in links in Google.
    If it works, you can automatically convert the bookmark name to URL format with the function encodeURI ("Every non-alphanumeric character is encoded as a percent escape").

  • Image with a Link to an URL

    Hi,
    I have an easy question. I would like to have a little question mark-image on my view. And this image has an link to an url. So I would like to push this image, and a new browser-window opens.
    I only found the Layout-element "LinkToUrl". But with this element I don't have an image.
    How does it works in Webdynpro? In HTML it is very easy...

    Hi,
    Change the layout to grid type and then scroll down. You will find "layout[GridLayout]" set col count here to the number equal to total number of buttons + 2.
    Then click on link and in the properties scroll down and set col span = 2.
    and hAlign = right.
    this will do the required.
    and the flowdata is coming in your container's properties because this container is also present in one of the transparent container which is having layout as flow layout.
    Regards,
    Sarbjeet.

  • Html link to pdf works ok on mac but not on ipad. adobe reader for ipad downloaded.

    HTML link to pdf works ok on Mac but not on ipad. Adobe Reader for ipad downloaded. What's wrong?

    Hi pwillener,
    Thank for reply. The pdf’s are in a subfolder “PDF” of the folder holding the web page. The web page itself uses
    . This works in full size computer browsers but not in an iPad.
    My excursion through the search engine has produced the idea of adding #page = requesting page to the URL but I have not had time to try it perhaps without the = sign.
    Bryan

  • HTML Link -AS2 fine, AS3 weird behaviour

    Hi Guys, I'm working on a project at the moment, and am
    seeing weird behaviour with the way my swf handles html links
    inside dynamic textboxes. When rendered as a AS2 file, the link
    works on a release as expected. When its inside a AS3 file the link
    will only work if the user right click and chooses 'open in new
    window' was there a change in behaviour how AS3 handles these
    links, or is there now an declaration needed to be made to allow
    these link to have the old behaviour?
    The project calls for xml data and embedded in that is a html
    link. Originally I thought it might have been the way I'd formed
    the xml so I tried with a hardcoded version instead (dynamic
    textbox, add text -> highlight -> add link through properties
    tab). But I still see the same behaviour between the as2 and as3
    versions.
    Any help would be greatly appreciated.
    Cheers.

    Actually, the ''href'' attribute is supposed to direct the browser to a new URL, etc., not run a script. Instead, use the ''onclick'' event attribute:
    ''<a onclick = “$('.div-feedback').fadeIn();”></a>''.
    Happy coding!

Maybe you are looking for

  • How to use one query results in another query

    hi, in help.sap I have founded that using variable type replacement path I can use one query results in another query. It is wrote there that I have to choose query name results I want to get in variable definition but I do not know where. How I can

  • Customer aging report - receipts also displayed

    hi all, Customer aging report is showing all outstandings & also receipts from customer, we want only customer outstanding in intervals of days ? Jeyakanthan

  • Colour picker issue

    Hi there, Having an issue I've never experienced with Photoshop CS4 (running on Windows 7).  I can't seem to find a solution online, so hopefully someone here will have some suggestions. Basically, when I pull up my colour picker, I no longer have a

  • My experience at store #608

    So I pre ordered at store 608 in sanford fl from a guy named mike. He was extremely nice and said on pre order day we had a good shot of getting one since we were early. So I kept waiting on call and just decided to go in Wednesday and find out if we

  • New binutils 2.22 causing havoc on many AUR packages

    Many posts around here showing that this is a common problem. ld has changed behaviour and has broken some packages that don't explicitly link to libraries. My example: Minutor gcc -Wl,--as-needed -o minutor minutor.o mapviewer.o colorschemes.o `pkg-