View: CategoryFilter with Vector

Hi

I have a combo box with 3 options (All,HK,SG). Based on users selection, i have to show HK or SG or All (HK and SG) documents. To make it work, I have categorised the view’s first column and passing vector on Xpage side but it is not working. Please let me know if have missed anything to mention.

var tmp1 = “HONGKONG” + “~” + sessionScope.documentType;

var tmp2 = "SINGAPORE + “~” + sessionScope.documentType;

var tmpVal:java.util.Vector = new java.util.Vector();

tmpVal.addElement(tmp1);

tmpVal.addElement(tmp2);

return tmpVal;

Regards,

Karthik KS