Here is why I ask...  I have my error_log class that I mentioned
before.  Errors can be associated to a number of different classes,
but that's not the problem, I figured that out and am able to pull out
my error logs for any given class (which is a child of most classes
that can throw and report errors).

Here is my [new] problem.

I have class [X] which has children [error_logs].  [error_logs] also
has the parent [error_name] which is just a more refined way of
referring to any given type of error.  What I want to do is get a list
and grouped count of error_names per list of error_logs.

What I mean is...  instead of having the error_logs with long messages
and raw data displayed, I want to group the errors by error_name and
display each error_name with a count that I can then associate a link
to and allow the user to drill down into the error_logs with those
specific error_names (or perhaps all error_logs for [X]).

Does that make sense?  But there is no class associated with a
grouping of error names and count.  Do I simply need to override the
dryml representation of the collection and manually do it all?  And
can I just add a method to class [X] that returns a collection of
error_names/count and still refer to that in my dryml as I might be
able to do in straight erb?

Or is there a hobo/dryml way of doing this, maybe using <repeat> on a
collection of data?

-- 
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