Doh! Of course because we now need to update the returnType attribute of the 
cffunction tag as we are no longer returning anything. Change the value from 
returnType="query" to returnType="void" and you are all set. Not a problem, 
glad to help out.Javier JulioWeb Developer, AboutWeb LLCwww.javier-julio.com> 
Subject: Re: ModelGlue viewState.getValue problems> From: [EMAIL PROTECTED]> 
To: [email protected]> Date: Fri, 30 Mar 2007 11:21:30 -0700> > 
Thanks Javier!  I made that change, which makes sense....but I get a new> 
error.  At least that's new.  > > I have:> <cffunction name="GetMyBooks" 
access="public" returnType="query"> output="false">>      <cfargument 
name="event" type="ModelGlue.Core.Event" required="true">>  <cfquery 
name="bookList" datasource="BooksDB">>                 select title from books 
order by 1>     </cfquery>>     <cfset arguments.event.setValue("bookList", 
bookList)>> </cffunction>> > which returns:> > > > The value returned from 
function GetMyBooks() is not of type query> > huh?> > > > > > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2666
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to