I get the following error when trying to use it.  Also, my forms are already
in hjq-dialog boxes.  Will this still work from a dialog already?    Also,
is there a way to get the dialog to close after submission?  I have been
trying all day to get it to close when the submit button or preferably the
jquery "ok" button.  I notice there is a submit_formlet_and_close button but
not a submit_form_and_close.   Thank you for your help.



NameError in Clients#show

Showing C:/billing_for_pros/app/views/clients/show.dryml where line #28
raised:

uninitialized constant Hobo::Dryml

Extracted source (around line #28):

25: <form with="&@bill || new_for_current_user(this.bills)" owner="case"
without-cancel update="cases" part="bill" reset-form>
26: <field-list: skip="case, total">
27: <rate-view:>
28: <select-one-or-new-dialog />
29: </rate-view:>
30: </field-list:>
31: <submit: label="#{ht 'bill.actions.add', :default=>['Add'] }"/>


On Wed, Apr 13, 2011 at 3:01 PM, Bryan Larsen <[email protected]>wrote:

> The part of the app I was using it on got canned, so I don't have any
> current examples.   Here's one from an old test:
>
>
> https://github.com/tablatom/agility/blob/jquery-test/app/views/stories/select_one_or_new_dialog_test.dryml
>
> Note that's the "jquery-test" branch of agility.
>
> select-one-or-new-dialog uses pretty much every fancy feature of Hobo and
> hobo-jquery, so if any one part is broken in your app, it won't work.    How
> far do you get?   Does the dialog not pop, the new item not get created or
> the select not change?
>
> Bryan
>
>
> On 11-04-13 03:34 PM, Matt Frost wrote:
>
>> I have tried to use it, but can not seem to get it to work.  Any
>> examples of usage?  Thanks
>>
>> On Wed, Apr 13, 2011 at 2:15 PM, Matt Jones <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>
>>    On Apr 13, 2011, at 9:43 AM, mdfdroid wrote:
>>
>>     > Does anyone have any working examples of adding this functionality?
>>     > To be able to select add new in a select box and creating a new
>>     > value?
>>     >
>>     > I am using Hobo 1.3 and Jquery
>>
>>    You might want to check out select-one-or-new-dialog in Bryan's
>>    hobo-jquery library, which appears to do exactly what you're looking
>>    for.
>>
>>    --Matt Jones
>>
>>    --
>>    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]
>>    <mailto:[email protected]>.
>>
>>    To unsubscribe from this group, send email to
>>    [email protected]
>>    <mailto: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.
>>
>
> --
> 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.
>
>

-- 
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