Thanks for the reply. I still don't quite understand it though.
I have a sales table that :belongs_to contact.
In the fields list for sales, there is "contact" which currently
brings up a picklist of contacts - which doesn't work because there
are over 10,000 of them.

I tried overriding the contact field in application.dryml as:

<extend tag="form" for="Sale">
  <contact:><name-one /></contact:
</extend>

For some reason, this causes my index page for sales to throw errors
that method "contact" does not exist. I don't know why the form would
impact the index page at all.

I'm sure I'm missing some basic hobo concepts here. I'm rereading
Kerouac for additional inspiration!

Best Regards,
 Mike

On Jun 23, 2:11 pm, kevinpfromnm <[email protected]> wrote:
> From the cookbook taglib docs (http://cookbook.hobocentral.net/
> api_tag_defs/field-list) the param name for each input tag is #
> {this_field.to_s.sub('?', '')}-tag, so you'd use something like <owner-
> tag:><name-one />... in your override.  I think you also need to setup
> the controller ajax response as well.
>
> On Jun 23, 11:53 am, oldlibmike <[email protected]> wrote:
>
> > I am getting further into my application and now find that I need to
> > change some of my "pick lists" for owners to "name-one" due to the
> > many possible entries.
>
> > I cannot find any clear examples in the tutorials or documentation on
> > exactly where and how I do form overrides.
>
> > Do I create a "<extend tag="form" for "MyTable"> in application.dryml?
> > How do I just change the input type for a "belongs-to" owner? The form
> > defaults just use a field-list. Where and how do I control the type of
> > input used for each field?
>
> > Do I need to create an entire form from scratch if I don't want the
> > default?
>
> > I'd appreciate any guidance or examples!
>
> > Thanks,
> >  Mike
--~--~---------~--~----~------------~-------~--~----~
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