A form or formlet doesn't have any standard default inner content.
Form's get their default inner content from the generators in
app/views/taglibs/auto/rapid/forms.dryml.
So you can either specify all of the inner content:
<def tag="input" for="Material">
<select-one include-none="&false"/>
<formlet merge>
<field-list fields="name"/>
<hjq-submit/>
<or-cancel/>
</formlet>
</def>
Or you can copy the appropriate form definition from forms.dryml into
application.dryml, and replace "form" with "formlet".
Bryan
On Mon, Jul 25, 2011 at 12:18 PM, Bob Sleys <[email protected]> wrote:
> How do I go about changing the field-list in the formlet? I'd like to do
> something along the lines of
> <def tag="input" for="Material">
> <select-one include-none="&false"/>
> <formlet merge>
> <field-list: fields="name"/>
> </formlet>
> </def>
> But this isn't working, I obviously have the <formet merge> wrong but have
> run out of ideas on how to pass the desired field-list off the formlet. I'm
> sure it's something simple and obvious but am not seeing it.
> Bob
>
> --
> 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/-/1WTA9z1poecJ.
> 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.