I am writing simple tab zimlet i found a way to hide the search bar this way :
var shell = appCtxt.getShell();
var arr = shell.getChildren();
The problem is when i execute arr.setVisible(true); the bar dont show up immediately and the display on the new tab (e.g. Mail,Contacts e.t.c.) is messed-up.
Any suggestions ?
P.S. Basically what i need is manually calling a method which is refreshing current view before the new tab opens.
Thanks in Advance.