Data nullified when disabling WOText
Data nullified when disabling WOText
- Subject: Data nullified when disabling WOText
- From: Drew Thoeni <email@hidden>
- Date: Sat, 22 Jul 2006 19:02:33 -0400
I have a WOText field and a WOCheckbox in a form. The WOText is set
to a default value and already saved to the database. When the user
wants to make the WOText box inactive, she clicks the checkbox. This
is tied to the "disabled" attribute in the WOText.
All is fine with that. However, when the WOText is disabled, the
change saved to the database, the default text in the WOText still
appears. But, when the WOCheckbox is reactivated, and the WOText is
redisplayed after a save to the database, the WOText is now empty and
the entry in the database is NULL.
Why does re-enabling the WOText field null the data? How do you avoid
this behavior?
Regards,
Drew
_______________________________________________
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