Jason,

It looks like the footer tag creates a <tr> element but not the <td> within
it. When the footer is rendered like this it seems the browser doesn't
handle it correctly in the table. Take a look at the source of your page
after it is rendered. I think that you just need to have a footer like the
following...

    <netui-data:footer>
      <td colspan="2" align="right">
        <netui-data:renderPager/>
      </td>
    </netui-data:footer>

Hope that helps,
Carlin

On 5/18/06, Jason Knox <[EMAIL PROTECTED]> wrote:

I'm having a bit of an issue getting the footer to display at the bottom
of a datagrid according to the documentation.



"The Footer tag is used to render a table row after the data grid has
rendered the header and rows regions demarcated by the
<netui-data:header>
<http://beehive.apache.org/docs/1.0m1/apidocs/taglib/beehive.apache.org/
netui/tags-databinding-1.0/header.html> and <netui-data:rows>
<http://beehive.apache.org/docs/1.0m1/apidocs/taglib/beehive.apache.org/
netui/tags-databinding-1.0/rows.html> tags respectively."



With this code -



<netui-data:dataGrid name="foo" dataSource="pageFlow.foodata">

      <netui-data:configurePager pagerFormat="firstPrevNextLast"
disableDefaultPager="true"/>

      <netui-data:header>

            <netui-data:headerCell headerText="Owner"
sortAction="sortGrid" sortExpression="FOOCOLUMN"/>

            <netui-data:headerCell headerText="1"/>

      </netui-data:header>

      <netui-data:rows>

            <netui-data:headerCell value="${container.item.owner}"/>

            <netui-data:spanCell value="${container.item.1}"/>

      </netui-data:rows>

      <netui-data:footer>

            <netui-data:renderPager/>

      </netui-data:footer>

</netui-data:dataGrid>



I end up with the pager rendered at the top instead of the bottom of the
grid - even though the <netui-data:renderPager/> is in the footer.  How
do I make the footer appear where I want it to, at the bottom of the
grid, short of using css positioning?



Thanks in advance,

Jason.

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


Reply via email to