Following Up On My Bean Confusion
A few follow-ups from yesterday's post. First off, Brian noted that his generator will recognize char(35), assume a UUID and generate the code accordingly. This worked perfectly and is definitely appropriate as Brian pointed out to me because since UUID's are fixed length and do not require unicode support.
Another error on my part in that post was pointing out that MG is stricter with datatypes then CF. This is not true. I was passing the entire userBean to the saveuser() function in my service when all I really needed was to pass the fields themselves (which I accomplished by using the beans getMemento() function) as an argument collection. I'm assuming that is an appropriate use of that function since it returns a struct containing each value. Therefore Model-Glue was trying to evaluate my component as a string which obviously don't work ;)


