I am trying to create a user registration form that has a "Retype
Password" field in the view (which does not map to the model's slot).
I would like to use the built in functionality in Weblocks to create a
new user through this registration form (without defining my own
method for on-success and writing my own CLSQL, if possible). My code
is at http://paste.lisp.org/display/75987 .
However, when I try to register a new user, I get the following error:
When attempting to
set the slot's value to "098F6BCD4621D373CADE4E832627B4F6" (SETF of
SLOT-VALUE),
the slot CONTENTREES::RETYPE-PASSWORD is missing from the object
#<CONTENTREES::PERSON {12036439}>.
[Condition of type SIMPLE-ERROR]
I tried setting the :slot-name to nil (same error) and just making the
name of the slot nil like Slava does in this post -
http://groups.google.com/group/weblocks/browse_thread/thread/97344d1922c294db/ec03262472f1e53a?lnk=gst&q=virtual+view+slots#ec03262472f1e53a
- but this just results in my getting an error that says "Nil is a
required field" even if I fill in the value for the "nil" field in the
form. So my question is - is what I am trying to do even possible?
How should I handle a virtual view field when trying to create a new
user?
Thanks,
Saikat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---