BF[ 1878783 ] Cant seem to access any html window

This commit is contained in:
tspc 2008-01-29 00:55:47 +00:00
parent 601b6ab46a
commit fb989f1134
1 changed files with 7 additions and 3 deletions

View File

@ -150,9 +150,13 @@ public class GridWindowVO implements Serializable
return null; return null;
} }
// Ensure ASP exceptions // Ensure ASP exceptions
MClient client = MClient.get(ctx);
if (client.isUseASP())
{
MRole role = MRole.getDefault(ctx, false); MRole role = MRole.getDefault(ctx, false);
if (role.getWindowAccess(AD_Window_ID) == null) if (role.getWindowAccess(AD_Window_ID) == null)
vo = null; vo = null;
}
// Not found // Not found
if (vo == null) if (vo == null)
{ {