I tried that before, but at that point I was also replacing the
"aside".  Trying it now without the <aside:> tag wrapping it.  I also
did try it without the aside (I am trying everything) as
<sos_load_errors-collection: replace> and without the aside tag
wrapping it it did not complain about the name but still thought it
was part of the "parent" class.

Fooey.  Still failed:


NoMethodError in Xxxxx_xxxxs#show

Showing app/views/usage_files/show.dryml where line #18 raised:

undefined method `xxxxxx_xx' for #<XxxxxXxxx:0x4b0732>
Extracted source (around line #18):

15:   </sos_load_errors-collection-heading:>
16:   <sos-load-errors-collection: replace>
17:     <card:><body:>
18:       <b>Xxxxxx XX:</b> <view:xxxxxx-xx/> <br/><br/>
19:       <b>Error Description:</b><br/>
20:       <view:description/>
21:     </body:></card:>

(The X-s are my doing to obscure the class name in this post)

It still seems to be associating with the parent class, not the child
collection.

Thank you, by the way, for your response, I appreciate it.


On Oct 14, 3:43 pm, kevinpfromnm <[email protected]> wrote:
> for the underscore, try replacing it with - when you try and call the
> parameter.
>
> <sos-load-errors-collection:>
> ...
> </sos-load-errors-collection:>
>
> In there, you should be inside the collection and iterating over each
> item.  Default for collection is a card.
>
> On Oct 14, 4:17 pm, Tuishimi <[email protected]> wrote:
>
>
>
>
>
>
>
> > ARG!  Cannot figure out how to loop over the child in the aside other
> > than using the table-plus tag.  This is frustrating.
>
> > I've tried overriding the collection inside the aside but it doesn't
> > seem to work and instead looks at the parent, not the child
> > collection.
>
> > Basically, I just want to know how to access the collection of data
> > inside  <aside: replace></aside:>, without resorting to using <table-
> > plus:sos_load_errors></table-plus>...
>
> > On Oct 14, 2:57 pm, Tuishimi <[email protected]> wrote:
>
> > > Some progress with aside...  But I can't figure out how to override
> > > the sos_load_errors collection...
>
> > >          <aside param>
> > >           <section param="sos_load_errors-collection-section">
> > >             <h3 param="sos_load_errors-collection-heading">
> > >               <ht key="sos_load_errors.collection.heading.other" >
> > >                 Sos Load Errors
> > >               </ht>
> > >             </h3>
> > >             <collection:sos_load_errors  param="sos_load_errors-
> > > collection"/>
> > >           </section>
> > >         </aside>
>
> > > If I try to reference the param name of "sos_load_errors-collection"
> > > in the show.dryml ... it does not like the "underscores".  When I try
> > > making them all dashes, it complains that the PRIMARY collection has
> > > no method that matches this.
>
> > > I can get the data to display if I just use a <table-plus> tag and
> > > refer to the class name/collection, but I don't want that, I want more
> > > control over what gets display so I can link to the show page for the
> > > specified load_error.
>
> > > Thanks for any thoughts!
>
> > > On Oct 14, 1:07 pm, Tuishimi <[email protected]> wrote:
>
> > > > I have a show page of a model that has multiple children.  In
> > > > ViewHints one child is primary, the other secondary.
>
> > > > I understand how to modify the fields and format of the primary
> > > > collection of children, but I cannot figure out how to manipulate the
> > > > secondary collection (so that I can display certain fields only and
> > > > also link to the show page for that specific child).  I don't see
> > > > anything in the documentation that covers that specifically.
>
> > > > Can anyone point me to an example where the column collection is
> > > > manipulated?  :/
>
> > > > Thank you (in advance).
>
> > > > Mike

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to