Saturday, May 21, 2011

Javascript undefined error when using wwStrings in UCM 11g

A javascript error is thrown in UCM 11g when wwStrings is used in javascript as in 10g like wwStrings["someString"].

This is because in UCM 11g, wwStrings is moved to the namespace idc.string.wwStrings

So the syntax in UCM 11g to access the strings in javascript is lc("someString") .

It took all day long for me to figure out this.

No comments: