All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.myfaces.custom.inputHtml.resource.kupunoi18n.js Maven / Gradle / Ivy

Go to download

JSF components and utilities that can be used with any JSF implementation. This library is based on the JSF1.1 version of Tomahawk, but with minor source code and build changes to take advantage of JSF1.2 features. A JSF1.2 implementation is required to use this version of the Tomahawk library.

The newest version!
window._ = function(msgid, interpolations) {
    /* dummy _ function for systems that don't want to use i18n */
    if (interpolations) {
        for (var id in interpolations) {
            var value = interpolations[id];
            var reg = new RegExp('\\\$\\\{' + id + '\\\}', 'g');
            msgid = msgid.replace(reg, ""+value);
        };
    };
    return msgid;
};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy