• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOOGNL Inline Bindings Help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOOGNL Inline Bindings Help!


  • Subject: WOOGNL Inline Bindings Help!
  • From: Jonathan Miller <email@hidden>
  • Date: Wed, 31 Oct 2007 16:14:57 -1000

Hi,

Trying to use WOOGNL for the first time and I'm not sure where I've gone wrong.  As a first attempt I added the following line of code to my sample project

<wo:string value = "Hello" />, how are you?

The page renders but it only displays

, how are you?

I have the following in my properties file:

ognl.active = true
ognl.helperFunctions=true
ognl.inlineBindings=true

The WOOGNL framework is included in the project and my main application constructor looks like this:

    public Application() {
        NSLog.out.appendln("Welcome to " + this.name() + " !");
        /* ** put your initialization code in here ** */
        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");
    }

Is there a step I'm missing?

Best,

Jon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WOOGNL Inline Bindings Help!
      • From: Andrew Sardone <email@hidden>
  • Prev by Date: re: JavaEOGenerator
  • Next by Date: WO5.4 UTF-8 code
  • Previous by thread: Re: Leeches & launchd
  • Next by thread: Re: WOOGNL Inline Bindings Help!
  • Index(es):
    • Date
    • Thread