Class StringsControl

  • All Implemented Interfaces:
    VariableResolver, IControl

    public class StringsControl
    extends Control
    Renders javascript on the client side that makes available in an array a list of translated strings.

    Example use: <control:lum_strings id="forumClientStrings"> <strings> <string id="STR_CONFIRM_DELETE"/> </strings> </control:lum_strings> xml data available for xsl rendering: <control id="forumClientStrings" type="lum_strings"> <strings escape="true"> <string id="STR_CONFIRM_DELETE">Are you sure you want to delete this message?</string> </strings> </control> Doui Control that translate the specified strings and add them to a javascript array identified by the control id.
    Since:
    4.0.5
    Version:
    $Revision: 6597 $ $Date: 2007-04-26 16:53:01 -0300 (Thu, 26 Apr 2007) $