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 PROTECTED]> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]