Actually, Hobo should be auto-generating form tags for all of your models (while in development mode). If you alter your development environment file, however, this feature will sometimes disable itself (I had enabled class caching in dev mode for a rack workaround and this stopped hobo from re-generating the rapid/auto files). But the extend dryml might need a colon on the field-list (I think its a parameter in this case).
On Mon, Jul 12, 2010 at 4:51 PM, Christopher Marsh-Bourdon < [email protected]> wrote: > Thank you, your were correct apart from I hadn't already created a tag > for this, so I need to define it (rather than extends it), such as... > > <def tag="form" for="Something"> > <form merge param="default"> > <error-messages param/> > <field-list fields="field1, field2, field3" param/> > <div param="actions"> > <submit label="#{ht > 'onboardings.actions.save', :default=>['Save']}" param/> > <or-cancel param="cancel"/> > </div> > </form> > </def> > > On Jul 12, 1:16 pm, storitel <[email protected]> wrote: > > it doesn't take very much dryml to achieve this? i think you just need > > thoe following in application.dryml > > > > <extend tag="form" for="Yourmodel"> > > <old-form merge> > > <field-list fields="field2, field1... etc"/> > > </old-form> > > </extend> > > > > On 11 July, 21:16, "Christopher Marsh-Bourdon" <christop...@marsh- > > > > bourdon.com> wrote: > > > It appear that by default text, date and text area input objects are > shown > > > in a New or Edit page prior to any relational input objects, such as > > > dropdown combos. Is there any way to specify the order without > resorting to > > > too much .dryml? > > > > > Regards > > > > > Christopher > > -- > 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]<hobousers%[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.
