During the takeValuesFromRequest

Another option is to use the ^ (carat) binding in your component and forget the stuff in the StatelessParent.java

For instance:

from StatefulParent.wod

StatelessParent: StatelessParent {
        XYZ  = "foo";
}

from StatelessParent.wod

Text: WOTextField {
        text = ^XYZ;
}

^ is the same as "bound against my parent". ^ doesn't work for stateful components

Good luck

Uli


Am 25.07.2007 um 15:04 schrieb Fabrice Pipart:

Just what I thought.
The problem is it does not work :(

In which phase do you do that?
Does it work for child components too?

I have something like this :
StatefulParent contains StatelessParent contains TextFields

I use bindings to get the bindings StatefulParent sets. Works fine.
But when StatefulParent submits a form, the values of the text field does not seem to reach StatelessParent

Any idea of what I did wrong?

On Jul 25, 2007, at 1:10 PM, Ulrich Köster wrote:

valueForBinding() to get the value and setValueForBinding() to push the value

Uli


Am 25.07.2007 um 12:44 schrieb Fabrice Pipart:

Hi !

If I have a stateless component (no variable synchronization) that has for example text fields in it, it seems I never get the values of my text fields in my stateless component. I suppose they are not pushed to the parent since it has no automatic synchronizaion.
Is there a way to manually get those values during the R-R loop ?
Or I'd better turn automatic synchronization on again keeping my component stateless (I need it stateless)?


Regards

Fabrice

www.easyshadow.com
EasyMediaOnline
Digital Signage Software

Easyshadow
Palais de la Scala
1 avenue Henri Dunant
Suite 1155
MC - 98000 Monaco

Skype: fabrice.pipart
Tel.  +377 97 98 21 04 (direct)
Fax. +377 97 70 88 07



_______________________________________________
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/ulrich.koester%40assense.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
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/fabrice%40easyshadow.com

This email sent to [EMAIL PROTECTED]



www.easyshadow.com
EasyMediaOnline
Digital Signage Software

Easyshadow
Palais de la Scala
1 avenue Henri Dunant
Suite 1155
MC - 98000 Monaco

Skype: fabrice.pipart
Tel.  +377 97 98 21 04 (direct)
Fax. +377 97 70 88 07




 _______________________________________________
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