Hi guys,
Just a little introduction since I am new to this group. My name is
brian and I am a coldfusion OO newbie. I've been developing a Mach-ii
cms app for my organization also using coldspring, so I've been on the
mach-ii group quite a bit, as well as the coldspring one. But anyway,
on to the problem.

I've been having this issue with the getRememberme() function
in my user bean returning the default value which is false (its
boolean) in the validateUser() function of my login service even after
being set to true.

I am first initializing the user bean upon the submission of a form.
Using mach-ii, I am populating the bean with the user's email and
password, as well as a remember me attribute. You know, that check box
usually found underneath the username and password fields. When
checked, this sets the value in my bean to 'true'.

The partially populated bean is then being passed into my model as an
argument, specifically the loginService which delegates to the
userService which then passes the bean to the userDAO, performing the
query, and calling the bean's init() function. The query data is then
passed to the init() function of my bean once again to populate it
with the necessary data. The problem is that when the init() function
is called in my DAO to pass it the query data, the rememberme variable
is being reset to false (the default value) since no data is being
passed to it from the database.

Now, I origionally posted this question in the coldspring forum where
it was suggested that this was a question more suited to this group.
One reply mentioned using a load() function. In my
research of beans I have not come across this as being a function
found in a bean. Is this a function that I should consider adding, or
is there a better way of doing this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" 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/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to