Matt,

look here,http://trac.reactorframework.com/reactor/trac.cgi/ticket/8 ,it's a 
known issue. 

João Fernandes

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of M@ Bourke
Sent: Tue 13-Jun-06 2:44 PM
To: [email protected]
Subject: [Reactor for CF] iterator issue
 
Hi all,

I'm relatively new to reactor and have a basic "hasMany" setup and get

        <object name="tblproduct">
            <hasMany name="tblProductPropertyItem">
                <relate from="productId" to="productId" />
            </hasMany>
        </object>


<cfset productRecord = Application.ReactorProducts.createRecord("tblproduct")
/>
<cfset productRecord.setProductId(url.prodid) />
<cfset productRecord = productRecord.load() />
<cfset productdetails = productRecord.gettblProductPropertyItemIterator()>

When I dump "productdetails" the iterator method is there, I've also tried
"gettblProductPropertyItemIterator().getquery()" but still errors same.

I can do a "hasOne" fine, but when I do a "hasMany" and use the Iterator it
chucks a wobbly

Parameter validation error for function QUERYADDCOLUMN.
The function takes 3 parameters.
The error occurred in
C:\CFusionMX\wwwroot\reactorCore\iterator\iterator.cfc: line 435

Sorry for the vagueness,

Thanks
Matt


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

<<winmail.dat>>

Reply via email to