WORKAROUND
So, without using <edit-link/> tag, here's my work-around: making my
own edit-link.  Not unpleasant, I think.

<def tag="my-doc-edit-link">
   <a action="edit" if="&can_edit?">
      <ht key="documents.actions.edit">Edit</ht>
    </a>
</def>

and in <show-page>, I use this:

<controls:>
   <if test="&@package.state == 'Draft'">
      <my-doc-edit-link/>
      <delete-button/>
   </if>
</controls:>

Using Hobo to work-around Hobo.

Tim


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