That is the exact opposite of what I had thought. Thank you for that clarification. I thought replace basically was telling you to override what was inside the tag. Thanks for the help!
On Oct 14, 4:22 pm, kevinpfromnm <[email protected]> wrote: > replace tells it to replace the whole parameter, including the tag. > that tag is where the context is changed. without the replace, it's > replacing the contents of the tag, but leaving the tag wrapping your > new code. > > On Oct 14, 4:59 pm, Tuishimi <[email protected]> wrote: > > > > > > > > > I owe you an apology for not paying closer attention. I removed the > > "replace" in the tag spec and it worked! But I am not sure I > > understand why. But thank you so much! > > > 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.
