Bug 139541 - Add ability to specify columns in listview rewrite
Summary: Add ability to specify columns in listview rewrite
Alias: None
Product: Red Hat Network
Classification: Red Hat
Component: RHN/R&D
Version: RHN Devel
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jesus M. Rodriguez
QA Contact: Red Hat Satellite QA List
Depends On:
Blocks: rhnMilestone1
TreeView+ depends on / blocked
Reported: 2004-11-16 16:55 UTC by Jesus M. Rodriguez
Modified: 2007-04-18 17:15 UTC (History)
0 users

Clone Of:
Last Closed: 2004-12-03 15:41:19 UTC

Attachments (Terms of Use)

Description Jesus M. Rodriguez 2004-11-16 16:55:41 UTC
Remove the HTML from the JSP page.  Use a custom jsp tag
to specify the columns and the header attribute.

   <rhn:column header="header.name"   
   <rhn:column header="username.displayname" align="left">
      Show this data

rhn:listdisplay has not attributes only child columns.
rhn:column has a requires header attribute,
and optional: align and url attributes.

Comment 1 Jesus M. Rodriguez 2004-12-03 15:41:19 UTC
We now have the ability to specify the column, as well as the set.
We also have a new list tag which determines if there is a need to display
a list or not.  The listdisplay tag defines the structure of the list (table)
while the column tags define the columns.  See the following example:

<rhn:list pageList="${requestScope.pageList}"
    <rhn:column header="header.name"
                align="center" width="5%">
      <html:multibox property="groups">${current.id}</html:multibox>
      <input type="hidden" name="cid" value="${current.id}" />
    <rhn:column header="assignedgroups.jsp.group"
  <input type="hidden" name="uid" value="${user.id}" />
  <input type="hidden" name="formvars" value="uid" />
    <div align="right">
      <hr />
      <html:submit property="submit">
      <bean:message key="Update Permissions"/>


Note You need to log in before you can comment on or make changes to this bug.