On Mar 2, 5:18 am, Tom Locke <[email protected]> wrote:
> The menu option is not actually "New Object" but rather "New
> Product" (ow whatever the model is), right?
Correct.
>
> I think it might be better (clearer to the user) to have something
> more like a prompt ("Select one...") as the first option, have the
> field-list hidden by default, and have "New Whatever" as the last
> option?
For my use case, "New Foo" would be the most common, and I'd rather
have the field list visible at present. Of course, this could be
paramaterizable.
> Hmm then again it could get buried if the list is long. I'm
> just thinking that the option to chose an existing object might not be
> noticed. Can anyone think of any good examples of this type of UI
> they've seen on the web?
Anyone else? Back seat UI designers?
The big thing this widget is missing is the ability to be able to edit
the record. But what I have is a good start.
>
> > 1) This doesn't work when the belongs-to is nil, I need to add <%
> > this.patient = Patient.new if this.patient.nil? %> in front of my
> > <select-one-or-field-list:patient /> invocation.
>
Is there any way to place this snippet inside of my tag definition? I
haven't been able to make it happen anyhow. Wrapping with <fake-field-
context> is the closest I've come, but of course that doesn't work.
thanks,
Bryan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---