All:

I'm having a problem using a stateless component and I'm not sure why. My app has a stateless component that has WOPopUpButtons for selecting hours and minutes for entering time-based data. I'm trying to abstract these WOPopUpButtons to a new stateless component in a supporting framework. In the new component I've overridden these:

public boolean synchronizesVariablesWithBindings() {
                return false;
}

public boolean isStateless() {
        return true;
}

public void reset() {
        reset stuff;
        super.reset();
}

The new component has one required binding for the time value(custom class). I've inserted the new component into the old one in place of the WOPopUpButtons that were there before. For some reason, every time I call the page I get:

Error: java.lang.IllegalStateException: <>: A stateless component can not have a stateful child ().

So far I've tried dumbing the new component down to the point where it only has the ivar to sync the required bound value and the display of the component is just some test text. Am I going crazy or did I forget a step somewhere in creating a stateless component?

Tim
_______________________________________________
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]

Reply via email to