Menu

Pass object to hyperlink

Help
Robert
2007-06-21
2012-10-09
  • Robert

    Robert - 2007-06-21

    Can someone show me how to pass object of the current row to the "/processTable.do" url specified below:

    <display:table name="${defectDetails}" id="defect" class="ApptableDisplayTag">
    <display:column property="table" title="Table" url="/processTable.do"/>
    <display:column property="tableBusinessName" title="Table Business Name"/>
    <display:column property="errorCount" title="Defect Count"/>
    </display:table>

    TIA

     
    • Robert

      Robert - 2007-06-21

      What I meant is can I pass the table, tableBusinessName and errorCount values to the hyperlink.
      With paramXX attributes, I can only pass one parameter but I want to pass more than one parameters...

       
      • Akram BEN AISSI

        Akram BEN AISSI - 2007-06-21

        hello,
        just do that:

        <display:table name="${defectDetails}" id="defect" class="ApptableDisplayTag">
        <display:column property="table" title="Table" >
        processTable.do?tableBusinessName=<c:out value="${defect.tableBusinessName}" />
        &amp;errorCount=<c:out value="${defect.errorCount}" />
        </display:column>
        <display:column property="tableBusinessName" title="Table Business Name"/>
        <display:column property="errorCount" title="Defect Count"/>
        </display:table>

         

Log in to post a comment.