2 things will help

1) just delete the param attribute when cutting and pasting like that. 
  It's meaningless outside of a def tag.

2) read up "prepend-", "before-", "after-" and "append-" in the DRYML 
manual.  They may help here instead.

Bryan

hobo_hippy wrote:
> 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