On July 14, 2010 11:56:02 am Hugo wrote:
> I've tried to change a form by adding the following code do
> Application.dryml:
>
> <extend tag="form" for="Lote">
> <old-form merge>
> <field-list fields="nome, artigo" param/>
> </old-form>
> </extend>
>
> but I always get the error "undefined method `form__for_lote' for
> class `#<Class:0x106cbd7f0>'"
I am not sure if it is your problem or not, but you probably want:
<field-list: fields="nome, artigo" param/>
Note the colon, which indicates that parameter "field-list" of the old-form is
to be replaced with this definition, as opposed to adding a new field list.
Henry
--
Henry Baragar
Instantiated Software
--
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.