• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

hide the link in jsp

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to hide the link in jsp using Struts Property tag as mentioned below code.

i want to hide the href link then how?

<li>
<s:url id="manageInventory" action="manageInventoryAction" escapeAmp="false">
<s:param name="stcId" value="stcId"></s:param>
<s:param name="buttonCurrent" value="%{'true'}"></s:param>
</s:url>
<a href="<s:property value='manageInventory'/>">Initial Inventory Report</a>
</li>
 
MyExamCloud Support
Posts: 264
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you want to hide from display ( on browser)? or Do you want to completely href tag?
 
rachu agarwal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ganesan for reply.


From display ( on browser) i want to hide the link.

and also i want to use some condition. same hiding need to do for the following code also.any reply would be appreciate.

<%if(!(((StcProfile)session.getAttribute("stcProfile")).isPOD2()))
{
%>
<li>
<s:url id="cust" action="correctiveSplitUstAction" escapeAmp="false">
<s:param name="stcId" value="stcId"></s:param>
<s:param name="buttonInit" value="%{'true'}"></s:param>
<s:param name="custType" value="%{'U'}"></s:param>
</s:url>
<a href="<s:property value='cust'/>">Corrective UST, Utilization</a>
</li>
</li>
<li>
<s:url id="cust" action="correctiveSplitUstAction" escapeAmp="false">
<s:param name="stcId" value="stcId"></s:param>
<s:param name="buttonInit" value="%{'true'}"></s:param>
<s:param name="custType" value="%{'I'}"></s:param>
</s:url>
<a href="<s:property value='cust'/>">Corrective UST, Inventory Adjustment</a>
</li>
<%} %>
</ul>
</s:if>
 
reply
    Bookmark Topic Watch Topic
  • New Topic