• 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
Where did I go wrong? (<WOHTMLTemplateParser> no declaration for dynamic element (or component) named CheckBoxConditionsOK)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where did I go wrong? (<WOHTMLTemplateParser> no declaration for dynamic element (or component) named CheckBoxConditionsOK)


  • Subject: Where did I go wrong? (<WOHTMLTemplateParser> no declaration for dynamic element (or component) named CheckBoxConditionsOK)
  • From: Johan Henselmans <email@hidden>
  • Date: Sun, 9 Mar 2008 14:02:29 +0100

I seem to struggle a little more than usual to get this thingy working.

After finding out that my components were apparenlty in 16 bits UTF, al though the file in SubEthaEdit and TextWrangler said they were UTF-8, I zapped all the gremlins via TextWrangler (Thanks Miguel), but now firing the component gives this error:


com.webobjects.foundation.NSForwardException for
com.webobjects.appserver._private.WODeclarationFormatException: <WOHTMLTemplateParser> no declaration for dynamic element (or component) named CheckBoxConditionsOK
at com .webobjects .appserver ._private .WOHTMLWebObjectTag._elementWithDeclaration(WOHTMLWebObjectTag.java:212)
at com .webobjects .appserver ._private.WOHTMLWebObjectTag.dynamicElement(WOHTMLWebObjectTag.java:122)
at com .webobjects .appserver ._private .WOHTMLTemplateParser .didParseClosingWebObjectTag(WOHTMLTemplateParser.java:52)
at com .webobjects .appserver ._private.WOHTMLParser.didParseClosingWebObjectTag(WOHTMLParser.java: 183)
at com .webobjects .appserver._private.WOHTMLParser.endOfWebObjectTag(WOHTMLParser.java: 150)
at com .webobjects .appserver._private.WOHTMLParser.parseHTML(WOHTMLParser.java:67)..


etc

I checked the code over and over again, It's all well formed HTML, I can even close the whole file until it's one <html>, when I click on the button in the HTML, WOLips displays the corresponding Element, I looked at the file in Text Wrangler and SubEthaEdit for any hidden characters, replace the woo file with one I am sure that is working (the one from Main.wo), I removed the API file, removed different localizations, cleaned the project several times, close WOLips, closed the Computers, cleaned all the caches.

What is it I am overlooking?

.html:
<br/>
<webobject name="CheckBoxConditionsOK"></webobject>

.wod

CheckBoxConditionsOK: WOCheckBox{
checked = buttonConditions;
name = "frmButtonConditions";
}

.wod

{
    "WebObjects Release" = "WebObjects 5.0";
    encoding = NSUTF8StringEncoding;
    variables = {};
}




Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6273852


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Where did I go wrong? (<WOHTMLTemplateParser> no declaration for dynamic element (or component) named CheckBoxConditionsOK)
      • From: Q <email@hidden>
  • Prev by Date: Re: EOTemporaryGlobalID - Unique Bytes
  • Next by Date: Re: I must be missing something...
  • Previous by thread: Re: EOTemporaryGlobalID - Unique Bytes
  • Next by thread: Re: Where did I go wrong? (<WOHTMLTemplateParser> no declaration for dynamic element (or component) named CheckBoxConditionsOK)
  • Index(es):
    • Date
    • Thread