BF [ 1667073 ] In the help window, hidden fields should not be displayed

This commit is contained in:
teo_sarca 2007-02-26 11:13:55 +00:00
parent b2db385533
commit 191def43cf
1 changed files with 8 additions and 0 deletions

View File

@ -445,6 +445,10 @@ public class GridWindow implements Serializable
for (int j = 0; j < tab.getFieldCount(); j++) for (int j = 0; j < tab.getFieldCount(); j++)
{ {
GridField field = tab.getField(j); GridField field = tab.getField(j);
// hidden fields should not be displayed - teo_sarca, [ 1667073 ]
if (!field.isDisplayed(false)) {
continue;
}
String hdr = field.getHeader(); String hdr = field.getHeader();
if (hdr != null && hdr.length() > 0) if (hdr != null && hdr.length() > 0)
{ {
@ -461,6 +465,10 @@ public class GridWindow implements Serializable
for (int j = 0; j < tab.getFieldCount(); j++) for (int j = 0; j < tab.getFieldCount(); j++)
{ {
GridField field = tab.getField(j); GridField field = tab.getField(j);
// hidden fields should not be displayed - teo_sarca, [ 1667073 ]
if (!field.isDisplayed(false)) {
continue;
}
String hdr = field.getHeader(); String hdr = field.getHeader();
if (hdr != null && hdr.length() > 0) if (hdr != null && hdr.length() > 0)
{ {