Re: WO54 - New Component HTML format.
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