• 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
Re: WO54 - New Component HTML format.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO54 - New Component HTML format.


  • Subject: Re: WO54 - New Component HTML format.
  • From: Lachlan Deck <email@hidden>
  • Date: Thu, 8 Nov 2007 20:58:25 +1100

On 08/11/2007, at 6:52 PM, Les Vogel wrote:

It worked! Thanks.

Great. You've probably noticed a number of people talking about utilising a preceeding '$' rather than surrounding square brackets. The dollar symbol is used traditionally for oognl style bindings. WO5.4 by default uses the surrounding square brackets. But this can be customised.


See the following thread: Is there an example that uses the new WO component format?
http://wiki.objectstyle.org/confluence/display/WOL/mail/2097544


On 11/7/07, Lachlan Deck <email@hidden> wrote:

Helpful log output ay!

Have you tried this? <wo:WOTextField value = "[myVar]" />

On 08/11/2007, at 4:24 PM, Les Vogel wrote:

I'm trying to get the new HTML Components to work, any ideas what
might be
wrong?

!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<HTML>
    <HEAD>
        <META NAME="generator" CONTENT="Testing"/>
        <TITLE>WOTest</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FFFFFF">
    <wo:WOForm>
    <center><b>Hello and Welcome</b></center> <br />
    <wo:WOTextField value = "$myVar" />
    <wo:WOSubmitButton action = "$doit" value = "submit" />
    </wo:WOForm>
    </BODY>
</HTML>

I get:

*Error:*
com.webobjects.appserver.parser.woml.WOMLTemplateParserException:
Main: 12:2: Could not generate an element named: WOTextField
*Reason:* Could not generate an element named: WOTextField
Thoughts?


with regards, --

Lachlan Deck



_______________________________________________
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


References: 
 >WO54 - New Component HTML format. (From: "Les Vogel" <email@hidden>)
 >Re: WO54 - New Component HTML format. (From: Lachlan Deck <email@hidden>)
 >Re: WO54 - New Component HTML format. (From: "Les Vogel" <email@hidden>)

  • Prev by Date: Re: WO54 - New Component HTML format.
  • Next by Date: Re: WOShowcase at DynEd?
  • Previous by thread: Re: WO54 - New Component HTML format.
  • Next by thread: Redundant Results from Fetch to Single Table Inheritance Entity
  • Index(es):
    • Date
    • Thread