zhoupan / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

Small bug for org.jmesa.facade.tag.TableFacadeTag #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. the default vale of maxRows in TableFacadeTag class is 0, so if we don't
set maxRows in JSP, the jmesa table will be invaild. 

So, we need modify the source code of function "doTag()" like this:

    if (getMaxRows() > 0) this.tableFacade.setMaxRows(getMaxRows());

2. the TableFacadeTag class don't support totalRows attribute in JSP; 

What version of the product are you using? On what operating system?

jmesa-2.4.6.jar

Please provide any additional information below.

Original issue reported on code.google.com by takinw...@gmail.com on 11 May 2010 at 5:11

GoogleCodeExporter commented 9 years ago
What kind of error do you get? 

The way it is implemented if you do not set the max rows then the value will be
pulled from the Preferences. The default is 15.

limit.rowSelect.maxRows=15

Original comment by jeff.johnston.mn@gmail.com on 12 May 2010 at 2:20

GoogleCodeExporter commented 9 years ago

Original comment by jeff.johnston.mn@gmail.com on 9 Mar 2011 at 8:39