0

I am using display tag 1.2.1 version and I want to pass more than one parameter. How to pass more than one parameters using display tag with escapeXml property true.

Lan
  • 703
  • 1
  • 7
  • 12
  • Where to pass? Can you give an example? – Alex Aug 30 '13 at 13:09
  • @Alex I need a href link on my record in table and when i click on the link it need to go to action page(another page) the url should be like follow, http://action_page.html?parm1=123&param2=456 I tried using `code` But it is not working for me because I need to keep escapeXml property true. – Lan Aug 31 '13 at 04:02
  • Sorry, I don't understand what exactly does not work. Can you post what you do (``...) and what you expect and your error? – Alex Aug 31 '13 at 11:56
  • @Alex I tried both of following ways, (` View `) (` ">View `) I have to keep escapeXml="true" because I need to export the result data from table. Then it shows the plain html code instead of link. – Lan Aug 31 '13 at 16:27

1 Answers1

1

I think your problem is to show link in html and that should not appear in the exported data. If it is you can define a display:column with media type html.

<display:column media="html"  titleKey="DetailView">
    <a href="action_page.html?param1=123&param2=456">View</a>                       
</display:column>
<display:column media="xml"  titleKey="DetailView">View</display:column>
Asfab
  • 398
  • 6
  • 11