Re: WOOgnl ... cool

From: Kieran Kelleher (kieran_list..ac.com)
Date: Thu May 10 2007 - 10:53:32 EDT

  • Next message: Mike Schrag: "Re: WOOgnl ... cool"

    Answering one of my own questions .... this is the list of shortcuts.

                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut("WOString",
    "string");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut("WOString",
    "str");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut("ERXElse",
    "else");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOConditional", "if");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOConditional", "condition");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOConditional", "conditional");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOHyperlink", "link");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WORepetition", "loop");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOTextField", "textfield");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOCheckBox", "checkbox");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOHiddenField", "hidden");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOPopUpButton", "select");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WORadioButton", "radio");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOPasswordField", "password");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOFileUpload", "upload");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut("WOText",
    "text");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut("WOForm",
    "form");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("WOSubmitButton", "submit");
                    WOHelperFunctionHTMLTemplateParser.registerTagShortcut
    ("ERXLocalizedString", "localized");
                    
                     
    WOHelperFunctionHTMLTemplateParser.registerTagProcessorForElementType
    (new NotTagProcessor(), "not");

    On May 10, 2007, at 10:45 AM, Kieran Kelleher wrote:

    > What shortcuts are included in WOOgnl? Looking at source I only see
    > one subclass of WOTagProcessor which is the "not" tag processor.
    > But 'if' works ... but where is it declared in WOOgnl ..... is
    > there a list of shortcuts (which I need to define in preferences to
    > use since they are not already in there)



    This archive was generated by hypermail 2.0.0 : Thu May 10 2007 - 10:53:42 EDT