You could use the restore / replace mechanism:
<foo-label: replace>
<if>
<foo-label restore/>
</if>
</foo-label>
P.S. pull requests adding useful parameters are almost universally accepted. :)
cheers,
Bryan
On Tue, Mar 13, 2012 at 4:39 PM, Jim Harvey <[email protected]> wrote:
> Is there a way to set no-blanks only for certain fields, instead of the
> all-or-nothing approach of no-blanks=true or false? There is no parameter
> defined on the "labelled-item" and this code does not work:
>
> <if test="&!test.field.nil?"><field-label:/><field-view:/></if>
>
> It gives a "mixed parameter tags and non-parameter tags" error. Do I need to
> redefine the field-list tag and include a param for labelled-item? I'd
> really rather not go that route. Thanks for the help!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/mA6-KBorcPQJ.
> 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.
--
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.