ok if i load the page in my browser with this in it

<cfinvoke
 component="#SESSION.myShoppingCart#"
 method="List"
 returnvariable="getCart">
</cfinvoke>

it runs just fine.

BUT
if i am cfincluding the page from another page out side the directory
with the app.cfc and other cfc
it craps out on me..

"The component attribute in cfinvoke tag has invalid value. "

so think agh! i will just point it directly to the cfc..

<cfinvoke
 component="youknow.cart.ShoppingCart"
 method="List"
 returnvariable="getCart">
</cfinvoke>

i get no recordset returned, even though i know i have 2 items in cart...

yes its from chapter 22 of cfwak 8-1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324532
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to