Hi,

I am having problems binding a property on my page to a parameter in my component. The following does not work

I have a CategoryListComponent as follows

<component id="categoryListComponent" type="CategoryListComponent">
      <binding name="locationOfStore" value="storeLocation"/>
</component>


On my CategoryList.java I have

public abstract void setStoreLocation(Location storeLocation);
public abstract Location getStoreLocation();


If however I change it as follows, it works fine. The storeLocation is passed into the component.

<component id="categoryListComponent" type="CategoryListComponent">
      <binding name="locationOfStore" value="locationOfStore"/>
</component>


On my CategoryList.java this time I have

private Location locationOfStore;
    public  void setLocationOfStore(Location locationOfStore) {
      this.locationOfStore = locationOfStore;
  }
    public  Location getLocationOfStore() {
      return locationOfStore;
  }

I dont understand why the Location wont be passed through if it declared as abstract. Any help would be great

Regards
Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to