I've followed the agility tutorial countless times by now and I
understand you can add to sections of a defined page via something
like:

<index-page>
  <content-body:>
   <repeat with="&@this.group_by(&:user)">
    <h2>hours for <a with="&this_key"/></h2>
    <collection/>
   </repeat>
   </content-body:>
</index-page>

where content-body is the parameter passed to the auto-defined index-
page.

The problem is instead of adding the list of grouped users timesheets
(timesheets are the model this points to in my situation) it replaces
the content that was there before altogether. That would be fine,
except I lose the button to create a new timesheet. Is there a way to
avoid loosing it? How can I just put the button back in there? I can't
do what is auto-defined:

 <a action="new" to="&model" param="new-link"/>

becuase that's illegal syntax. I can't use param=whatever outside of a
def tag


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