All,

I have having a strange iterator problem. I am creating a multi-lingual CMS
and created a test page for English and Spanish.

<!--- Pull Record Object from MG Viewstate --->
<cfset PageContent = viewstate.getValue("PageContent") />
<!--- Create Iterator --->
<cfset contentIterator = PageContent.getPageContentIterator() />

<cfoutput>
Spanish:<br>
<cfset contentIterator.reset() />
<cfset contentIterator.getWhere().isEqual("PageContent","cid",2) />
#contentIterator.getQuery().content#<br><br>

English:<br>
<cfset contentIterator.reset() />
<cfset contentIterator.getWhere().isEqual("PageContent","cid",1) />
#contentIterator.getQuery().content#<br><br>


The problem is I get content for the first one but not for the second. The
both have content.

Any ideas?

Thanks,

Josh
 
 

------------------------------------------------
Joshua Scott
Resonant Media Technologies, LLC.
http://www.resonantmedia.com | http://ponderings.wordpress.com 
 

"It is impossible to get out of a problem by using the same type of thinking
that it took to get into the problem." -- Albert Einstein
 

 


 

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


Reply via email to