• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
testing d2w
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

testing d2w


  • Subject: testing d2w
  • From: Wes James <email@hidden>
  • Date: Tue, 26 Oct 2004 15:51:21 -0600

I put together a simple model
users
 userTypeID
 password
 userID (key row)
 userName

userTypes
 userTypeDef
 userTypeID (key row)

I then set up the relationship from the userTypes.userTypeID to
users.userTypeID as 1 to many.

I then create the tables then use Xcode to create a D2W application.
I build and run....  When I get in and select userTypes and then click
on New to create a new usertype I can type in Admin as a new user
type, but it also has an area to put in users.  Why?  Ok.  I then
select the dropdown menu and select users, click on new to create a
new user.  At this point is provides input boxes for password and
username and a click button to select a usertype - this is expected,
since I need a usertype for this user which is provided from a
different table.  I then type in a password, a username and then click
on the select button for the userType and select Admin for the
userType, and when I return Admin is in the userType slot.  I then
click on save and I get an error that the userType cannot be null.
Shouldn't the userType in the user record be the userTypeID of the
Admin row I selected from the userType table.  Why is it saying the
userType is null?

thanks,

wj
 _______________________________________________
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

  • Prev by Date: Re: JavaMail/JMTA help request
  • Next by Date: Re: JavaMail/JMTA help request
  • Previous by thread: Re: JavaMail/JMTA help request
  • Next by thread: Re: testing d2w
  • Index(es):
    • Date
    • Thread