Menu

how do I stop hiding duplicate column data

Help
2006-04-10
2012-10-09
  • niu_huskies91

    niu_huskies91 - 2006-04-10

    Hellow all. I have searched quite a bit of documentation and I can not find an answer to this one. How do I explicitly tell the display:table (or even at the column level if need be) to allow duplicate column data to be displayed instead of hidden. I can see some instances where not showing duplicate sequential data is warrented, but for my case I need it. Is this configurable? Must I change the actual source code? Any help is greatly appreciated.

     
    • niu_huskies91

      niu_huskies91 - 2006-04-11

      Nevermind... I'm an idiot :)
      The group="" attribute controls this. FYI for everyoen else.

       
    • Mac Rules

      Mac Rules - 2006-04-19
      <c:forEach var='resultList' items='${result}'>
      
        ${resultList.key} <br/>   
        <display:table name="${resultList.value}" class="mars">
        </display:table>
      
      </c:forEach>
      

      I just want to display the plain content from a result set from the a database query. I have like 300 resultsets from different queries and I cannot manually give column for each resultset. So I put all these resultsets in a map (table name:resultset pair) and pass it to the front end and use JSTL and displayTag to display them. DisplayTag V1 works well but V1.1 hide the duplicated data in the same column.

       
    • Mac Rules

      Mac Rules - 2006-04-19

      For me, I only use the display:table tag and I did not use display:column tag. Therefore, I cannot use the group attribute. In this case, does any one know how can I solve the problem of the duplicate data hiding feature.

       
      • Rick Herrick

        Rick Herrick - 2006-04-19

        > For me, I only use the display:table tag and I
        > did not use display:column tag. Therefore, I
        > cannot use the group attribute. In this case,
        > does any one know how can I solve the problem
        > of the duplicate data hiding feature.

        Short answer: no.

        Long answer: what does your code look like? I have no idea how you'd use displaytag in any meaningful way without column tags.

         
        • Rick Herrick

          Rick Herrick - 2006-04-22

          I have no idea. I never use displaytag that way. I'd suggest getting the source and stepping through the code, if you can do that. You may be able to try <display:setProperty>, but I'm not sure what property you'd set to specify a default grouping behavior, which I think is what's causing your issue.

          If/when you figure out the issue, please post back up here with the solution, if any!

           
      • Mac Rules

        Mac Rules - 2006-06-20

        I still can't figure out how the duplicated column data are hidden by displayTag. I roll back to version 1.0 and every thing is back to what I expected. I guess I will stick with v1.0 for now. If any one has new idea, please let people know :)

        Steve

         

Log in to post a comment.

MongoDB Logo MongoDB