* [ 1669925 ] WAN: dependant tabs are not working
This commit is contained in:
parent
6e490c8af1
commit
3224cb77d0
|
@ -311,6 +311,25 @@ public class GridTabVO implements Evaluatee, Serializable
|
|||
mTabVO.Fields = server.getFields(mTabVO);
|
||||
mTabVO.initFields =
|
||||
(mTabVO.Fields != null && mTabVO.Fields.size() > 0);
|
||||
//sync context
|
||||
int size = mTabVO.Fields.size();
|
||||
for (int i = 0; i < size; i++)
|
||||
{
|
||||
GridFieldVO field = (GridFieldVO)mTabVO.Fields.get(i);
|
||||
Properties ctx = field.ctx;
|
||||
field.setCtx(mTabVO.ctx);
|
||||
Set keys = ctx.keySet();
|
||||
//check any key added remotely
|
||||
for(Iterator k = keys.iterator(); k.hasNext(); )
|
||||
{
|
||||
Object key = k.next();
|
||||
if (mTabVO.ctx.containsKey(key) == false)
|
||||
{
|
||||
Object value = ctx.get(key);
|
||||
mTabVO.ctx.put(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e)
|
||||
{
|
||||
CLogger.get().log(Level.SEVERE, "Application Server Error: " + e.getLocalizedMessage(), e);
|
||||
|
|
Loading…
Reference in New Issue