String name;
Enumeration<String> attrs;
try
{
GridData gd = new GridData();
gd.setCell(row, 0, "Variable");
gd.setCell(row++, 1, "Value");
attrs = request.getSession().getAttributeNames();
while (attrs.hasMoreElements())
{
name = attrs.nextElement();
gd.setCell(row, 0, name);
gd.setCell(row++, 1, request.getSession().getAttribute(name));
}
GridControl grid = (GridControl) pc.getControl(ID_GRID);
grid.setData(gd);
// grid.setData(request, gd);