Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pagination with jstl

843840Sep 1 2009 — edited Sep 2 2009
Hi,

I want add hyper links to every row of dataset.
<ui:dataGrid items="${empList}" var="employee" name="datagrid1" cellPadding="0" cellSpacing="0" styleClass="datagrid" >
  <columns>
    <column width="50">
      <header value="" hAlign="left" styleClass="pagination_header"/>
    </column>
    <column width="200">
      <header value="Patient Id" hAlign="left" styleClass="pagination_header"/>
      <item   value="${employee.id}" hAlign="left" 
	      styleClass="item"/>
    </column>
    <column width="200">
      <header value="Name" hAlign="left" styleClass="pagination_header"/>
      <item   value="${employee.name}" hAlign="left"  styleClass="item"/>
    </column>
    ????????????????????
  </columns>
  <rows          styleClass="rows" hiliteStyleClass="hiliterows"/>
  <alternateRows styleClass="alternaterows"/>

  <paging    size="4" count="${tCount}" custom="true" nextUrlVar="next" 
       previousUrlVar="previous" pagesVar="pages"/>
  <order         imgAsc="up.gif" imgDesc="down.gif"/>
</ui:dataGrid>
I want to add hyper links for every row at the place of '?'. Please tell me, how it can be done?

Thanks
Gaurav Agrawal

Edited by: gauravjlj on Sep 1, 2009 5:21 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2009
Added on Sep 1 2009
13 comments
1,093 views