Figured it out! You were correct on the objectID thing. Once I
utilized the objectID from the superGroup table, everything rendered
correctly.

I want to read up on the objectIDs and their usage to make sure I
thoroughly understand them...besides the walkthrough, are there any
other sources of info?

Again...thanks for pointing me in the right direction.

On Feb 26, 3:45 pm, Activant <[email protected]> wrote:
> ok...in the midst of working on this, I got an email from Blair that
> clarified some things for me as far as the difference from
> displayTypeBody and displayBody and utilizing object IDs. Once I
> removed the objectID and went through the admin to make sure
> everything was refreshed, etc. that page worked, but I still have an
> issue.The very next step in unit seven, it speaks of using
> displayBody. The array is empty on that page and I think you might be
> onto something with the objectID. Here is the code of my displayBody
> page...
>
> <cfsetting enablecfoutputonly="true" />
> <cfoutput>
> <h1>#stobj.title#</h1>
>
> #stobj.description#
>
> <cfdump var="#stobj#">
>
> <img src="#application.url.webroot##stobj.imgHeadquarters#"
> alt="#stobj.title#" class="thumbnailLeft" />
> </cfoutput>
>
> <!--- import tag library --->
> <cfimport taglib="/farcry/core/tags/webskin/" prefix="skin" />
>
> <cfoutput><h2>The Heroes</h2></cfoutput>
>
> <skin:relatedContent objectid="#stobj.objectid#" filter="superHerotwo"
> webskin="displayTeaserMugshot" rendertype="unordered" />
>
> <cfsetting enablecfoutputonly="false" />
>
> I will begin to look at the ojectIDs and see what I can uncover.
> Thanks for your help thus far.
>
> On Feb 26, 1:00 pm, Tomek Kott <[email protected]> wrote:
>
> > So when you try to view the displayTypeBody for superGroup, you don't get
> > the expected result, is that right?
>
> > Would you list your code for that template?
>
> > Also, I just noticed that the objectid you gave in your first post does not
> > seem to match the objectid of what you list as the supergroup table. So I
> > think you might be doing something odd there...
>
> > Tomek
>
> > On Fri, Feb 26, 2010 at 12:47 PM, Activant <[email protected]> wrote:
> > > I actually noticed the issue when going through unit 7. Nothing was
> > > appearing on my page. So I began using cfdump and backtracking my way
> > > through the steps. I noticed the empty array. I went back to the array
> > > info in unit six to make sure I did not miss anything. It does not
> > > look like I did, but I could be wrong. When I went through unit six,
> > > everything worked like expected.
>
> > > Here is my cfproperty I created...
>
> > > <cfproperty
> > >        ftSeq="12" ftFieldset="Related Content" name="aSuperHeroes"
> > > type="array"
> > >        ftLabel="Super Heroes" ftJoin="superHerotwo" hint="Array of
> > > super heroes." />
>
> > > I browsed through the db tables and see the info. Here is the results
> > > from the supergroup_asuperheroes table...
>
> > > data
> > > parentid                                                                
> > > seq
> > > typename
> > > E48F2026-197E-06CB-C72FEEB6CC40E7F7     E83BF95E-197E-06CB-
> > > C7047391FA876ACD        1.00    superHerotwo
> > > E81A90FE-197E-06CB-C7A3DDC7A0928771     E83BF95E-197E-06CB-
> > > C7047391FA876ACD        2.00    superHerotwo
>
> > > For your reference, here is the browse result from the superherotwo
> > > table...
>
> > > biography       createdby       datetimecreated         
> > > datetimelastupdated
> > >     imgHero
> > > label   lastupdatedby   locked  lockedBy        ObjectID        ownedby
> > > secrethideout   teaser  title   sidekickid
> > >                farcry  2010-02-18 22:49:30     2010-02-24 14:14:29     /
> > > images/superhero/imgHero/waldo.jpg      Spiderman       farcry_CLIENTUD
> > >     0
> > > E48F2026-197E-06CB-C72FEEB6CC40E7F7     CDD3B33E-A463-9B75-
> > > DC0150D316830765        New York        Spidey  Spiderman
> > > E81A90FE-197E-06CB-
> > > C7A3DDC7A0928771
>
> > >                farcry  2010-02-19 15:20:40     2010-02-19 15:21:12
> > > Cat Woman       farcry  0               
> > > E81A90FE-197E-06CB-C7A3DDC7A0928771
> > >     CDD3B33E-
> > > A463-9B75-DC0150D316830765      New York                Cat Woman
>
> > > And here is the supergroup table browse result...
>
> > > createdby       datetimecreated         datetimelastupdated     
> > > description
> > > headquarters    imgHeadQuarters         label   lastupdatedby   locked
> > >  lockedBy
> > > ObjectID        ownedby         title
> > > farcry  2010-02-19 15:57:10     2010-02-26 08:40:21     <h1>Marvel 
> > > Rules!</
> > > h1>     New York
> > >  /images/superhero/imgHeadQuarters/karnakblesscrowd...
> > > Marvel  farcry_CLIENTUD         0
> > > E83BF95E-197E-06CB-C7047391FA876ACD
> > > CDD3B33E-A463-9B75-DC0150D316830765     Marv
>
> > > I feel like I am missing something obvious...like perhaps referencing
> > > the wrong table of womething. Any help is appreciated.
>
> > > On Feb 26, 11:29 am, Tomek Kott <[email protected]> wrote:
> > > > would you be more specific as to which tables you're looking at and 
> > > > which
> > > > point in the walkthrough in Unit 6 you're not seeing the expected 
> > > > result?
> > > > That'll help track things down.
>
> > > > Tomek
>
> > > > On Fri, Feb 26, 2010 at 12:26 PM, Activant <[email protected]>
> > > wrote:
> > > > > Sorry...misspoke...there are two items in the db. So the problem lies
> > > > > not within the db, but something in my code that is causing it not to
> > > > > render.
>
> > > > > On Feb 26, 11:19 am, Activant <[email protected]> wrote:
> > > > > > I think my problem lies in the array that I created when going
> > > through
> > > > > > Unit 6 of the walkthrough. Not quite sure how to fix though. When I
> > > > > > browse through that table within my db...it is empty, which is
> > > > > > consistent with what I am seeing from my dump, but I thought I would
> > > > > > see an objectid referencing another item in another table. Thoughts?
>
> > > > > > On Feb 26, 9:38 am, Tomek Kott <[email protected]> wrote:
>
> > > > > > > looks like that might have been an object you started to create 
> > > > > > > and
> > > > > then
> > > > > > > stopped or timed out or something else happened. If you go back 
> > > > > > > and
> > > > > edit the
> > > > > > > item, does the problem persist?
>
> > > > > > > On Fri, Feb 26, 2010 at 9:44 AM, Activant <[email protected]>
> > > > > wrote:
> > > > > > > > Am working through tutorial and my page is not displaying
> > > anything. I
> > > > > > > > did a dump and notice my array is empty. AM somewhat confused as
> > > to
> > > > > > > > why as everything has worked up until now. Thoughts?
>
> > > > > > > > BDEFAULTOBJECT           true
> > > > > > > > CREATEDBY       Unknown
> > > > > > > > DATETIMECREATED         {ts '2010-02-26 08:42:07'}
> > > > > > > > DATETIMELASTUPDATED     {ts '2010-02-26 08:42:07'}
> > > > > > > > LABEL   (incomplete)
> > > > > > > > LASTUPDATEDBY   Unknown
> > > > > > > > OBJECTID        D90CBDF2-197E-06CB-C7BCEE383D978052
> > > > > > > > OWNEDBY         [empty string]
> > > > > > > > TYPENAME        superGroup
> > > > > > > > aSuperHeroes array [empty]
> > > > > > > > description     [empty string]
> > > > > > > > headquarters    [empty string]
> > > > > > > > imgHeadQuarters         [empty string]
> > > > > > > > locked  0
> > > > > > > > lockedBy        [empty string]
> > > > > > > > title   [empty string]
>
> > > > > > > > --
> > > > > > > > You received this message cos you are subscribed to "farcry-dev"
> > > > > Google
> > > > > > > > group.
> > > > > > > > To post, email: [email protected]
> > > > > > > > To unsubscribe, email: 
> > > > > > > > [email protected]<farcry-dev%[email protected]>
> > > <farcry-dev%[email protected]<farcry-dev%[email protected]>
>
> > > > > <farcry-dev%[email protected]<farcry-dev%[email protected]>
> > > <farcry-dev%[email protected]<farcry-dev%[email protected]>
>
> > > > > > > > For more options:http://groups.google.com/group/farcry-dev
> > > > > > > > --------------------------------
> > > > > > > > Follow us on Twitter:http://twitter.com/farcry
>
> > > > > --
> > > > > You received this message cos you are subscribed to "farcry-dev" 
> > > > > Google
> > > > > group.
> > > > > To post, email: [email protected]
> > > > > To unsubscribe, email: 
> > > > > [email protected]<farcry-dev%[email protected]>
> > > <farcry-dev%[email protected]<farcry-dev%[email protected]>
>
> > > > > For more options:http://groups.google.com/group/farcry-dev
> > > > > --------------------------------
> > > > > Follow us on Twitter:http://twitter.com/farcry
>
> > > --
> > > You received this message cos you are subscribed to "farcry-dev" Google
> > > group.
> > > To post, email: [email protected]
> > > To unsubscribe, email: 
> > > [email protected]<farcry-dev%[email protected]>
> > > For more options:http://groups.google.com/group/farcry-dev
> > > --------------------------------
> > > Follow us on Twitter:http://twitter.com/farcry

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to