Hi, I have this weird problem.
My html page with multiple forms
.... snip ....
<wo:WOForm>
<strong>Change your EMail Preference</strong><br
/>
<wo:WOCheckboxMatrix list="$possibleEmailTypes"
item="$dynamicBindings.currentSubscriptionType"
selections="$user.emailPreferences" maxColumns="1">
<wo:WOString
value="$dynamicBindings.currentSubscriptionType.displayName"/>
</wo:WOCheckboxMatrix>
<wo:WOSubmitButton value="Change"
action="$updateEmailPreferences"/>
</wo:WOForm>
<h2>Account Information</h2>
<p><b>Email Address:</b> <wo:WOString
value="$user.email"/></p>
<wo:WOForm>
<strong>Change your E-Mail </strong><br />
Email Address:
<wo:WOTextField value="$user.email" size="30"/>
<wo:WOSubmitButton action="$updateEmail"
value="Change" class="bodyTextSm"/>
</wo:WOForm>
<wo:WOForm>
<strong>Change your Password</strong><br />
Current Password:
<wo:ERXWOPasswordField value="$currentPassword"
size="20"/>
<br />
New Password:
<wo:ERXWOPasswordField value="$newPassword"
size="20"/>
<br />
New Password Again:
<wo:ERXWOPasswordField
value="$newPasswordVerify" size="20"/>
<br />
<wo:WOSubmitButton action="$changePassword"
value="Change" class="bodyTextSm"/>
</wo:WOForm>
When the first form is submitted, the values in user.emailPreferences() are
update correctly.
However, when I submit the second or third forms, the values that were set
in user.emailPreferences() are now gone and I can see in the logs that they
are being deleted.
Did I miss somthing in the forms I created? Even though
user.emailPreferences where not included in the second and third forms, why
is it being modified?
Amiel
--
socket error: unable to connect to 127.0.0.1
_______________________________________________
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]