Parameterized component - Struts2


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <%@ taglib prefix="s" uri="/struts-tags" %>
  2.  
  3. <tr class="<s:property value='tableRowClass' />">
  4. <td class="${param.tableColumn1Class}">
  5. <a class="${param.tableLinkClass}"
  6. href="${param.tableRowUrl}">
  7. ${param.tableColumn1Content}
  8. </a>
  9. </td>
  10. <td class="${param.tableColumn2Class}">
  11. ${param.tableColumn2Content}
  12. </td>
  13. </tr>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.