I just ran into same problem

Looks like the save method calls for the id from the bean but it doesnt 
actually make a call to get it or to set it as 0. Im not really sure as of yet 
what the best method is too fix it.



<cffunction name="save" output="false" access="remote">
                <cfargument name="obj" required="true" />
                <cfscript>
                        if( obj.getID() eq 0 )
                        {
                                return createObject("component", 
"usersDAO").create(arguments.obj);
                        } else {
                                return createObject("component", 
"usersDAO").update(arguments.obj);
                        }
                </cfscript>
        </cffunction>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3634
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to