I am just trying out MG and pretty much I am stumped.  I am trying to make a 
sooo simple page that lists data, with links to detail.  Seems like there would 
be an example of that somewhere but if there is I cannot find it.  (yes I 
downloaded Ray's example, the MG docs, yadda yadda and I have pored over them 
but still I can't show a little list of links!)

I am calling a very basic controller.cfc that is returning 6 records (based on 
CF debug):

<cffunction name="GetMyBooks" access="public" returnType="query" output="false">
        <cfargument name="event" type="any">
        <cfset var bookList=""> 
        <cfquery name="q" datasource="BooksDB">
                select title from books order by 1
        </cfquery>
        <cfreturn bookList>
</cffunction>


I have a view page that should be returning the data. But, on this page,
viewState.getValue("bookList","No data!")> always returns "No data".  So no 
data is getting returned?

Any suggestions, ideas, or sample code would be greatly appreciated, thanks!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2663
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