• 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
Not finding binding with "$^" notation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Not finding binding with "$^" notation


  • Subject: Not finding binding with "$^" notation
  • From: Sanford Selznick <email@hidden>
  • Date: Thu, 1 Jan 2009 22:35:53 -0700

I made it to tutorial 2. The binding described below is not found. Both PageWrapper and Main are in the same package.

-----
PageWrapper.html:

<title><wo:str value="$^title" /></title>

-----
PageWrapper.api (edited by eclipse/wolips):

<?xml version="1.0" encoding="UTF-8"?>
<wodefinitions>
        <wo class="PageWrapper.java" wocomponentcontent="false">

        <binding name="title"/>
        <validation message="'title' is a required binding">
            <unbound name="title"/>
        </validation>
    </wo>
</wodefinitions>


----- And then title is set in Main.html:

<wo:PageWrapper title="Login Page">
...
</wo:PageWrapper>

If I change the first line to <wo:PageWrapper>, the error goes away. I do not understand why PageWrapper is not seeing its own binding.

-----

When I run my app I'm getting this error:

takeValueForKey()]: attempt to assign value to unknown key: 'title'. This WOComponent does not have an instance variable of the name title or _title, nor a method of the name setTitle or _setTitle' object '' key 'title'>

[<com.selznick.supersecret.components.PageWrapper name: com.selznick.supersecret.components.PageWrapper subcomponents: null > takeValueForKey()]: attempt to assign value to unknown key: 'title'. This WOComponent does not have an instance variable of the name title or _title, nor a method of the name setTitle or _setTitle

"title" is there, right?  (See above.)

-----

Eclipse and WOLips are from the March combo install from <http://wiki.objectstyle.org/confluence/display/WOL/Installing+WOLips>. No updates. I don't know enough yet to upgrade correctly.

Any ideas why I'm getting this error?

Thanks,
  Sanford
_______________________________________________
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: Not finding binding with "$^" notation
      • From: Sanford Selznick <email@hidden>
    • Re: Not finding binding with "$^" notation
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: ERXEC.newEditingContext() access
  • Next by Date: 'object' not getting initialized in D2WCustomComponent sub class
  • Previous by thread: Re: ERXEC.newEditingContext() access
  • Next by thread: Re: Not finding binding with "$^" notation
  • Index(es):
    • Date
    • Thread