Hi,

I have a model new form, pretty much default except for a couple of
overridden fields including my own.  My modification is to link to a
page to create a new parent (belongs_to) object associated with this
class.
What I really want is this:  Click the link, open a smaller window
where the new data can be entered and once the data is entered (there
is some processing associated with this) have the window close and
have the dropdown refresh.

Is there a hobo way to do this? I thought of having a javascript
function to open the other window and once the JS returns then an
UPDATE could work, no?

I am just not sure what the best way to do something like this would
be.  So, to summarize,

<form>
  <field a>
  <field b>
  <field c><a action="new">Create New XXX</a>
  <field d>
  <etc>
</form>

...where <field c><a action="new"> would open the create page
(new.dryml) for that particular model and once the new model was
created, the <field c> (which is a select) would add the new model to
its list of options.

Does this make sense?  Should I be approaching the problem
differently?

Thanks for your thoughts.


On Mon, Apr 4, 2011 at 9:25 PM, Bryan Larsen <[email protected]> wrote:
> Yes, the cookbook/manual is mostly done.   It's not up on the cookbook but
> you can certainly access it from github:
>
> https://github.com/tablatom/hobocookbook/tree/hobo13doc/manual
>
> Note that some manual pages are symbolic links into the hobo source tree.
>
> Bryan
>
>
> On 11-04-04 02:21 PM, Domizio Demichelis wrote:
>>
>> The cookbook/manual updates are done. AFAIK Bryan will put the changes
>> in a new version of the cookbook.
>>
>> ciao
>> dd
>>
>> On Mon, Apr 4, 2011 at 2:14 PM, Owen Dall <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>    Mark,
>>
>>    Yes, the 1.3 version of what is on hobocentral should be available
>>    "real soon now" ,  and it was a goal to have lots of examples with
>>    each tag.   : -)
>>
>>    I think DD has the hot potato of the cookbook/manual updates, and we
>>    could ping Bryan about opening up comments...
>>
>>
>>    -Owen
>>
>>    On Mon, Apr 4, 2011 at 2:04 PM, Mark Sobkowicz <[email protected]
>>    <mailto:[email protected]>> wrote:
>>
>>        Is there a plan in the works to replace the html manual and
>>        taglib library on hobocentral with the content from the new
>>        book?  In a perfect world, the html book would be up and
>>        searchable, and the pages would have commentary.   I don't know
>>        how hard this is to pull off though.   It would be so cool if
>>        you went (for example) to the page for the <select-one> tag and
>>        there were some user-provided examples there to try.   It looks
>>        like a comment system is in place now, on the html version of
>>        the 1.0 manual, though I don't have permission to actually add a
>>        comment.
>>
>>        Mark
>>
>>
>>
>>
>>
>>
>>        On Apr 3, 2011, at 11:04 AM, Owen Dall wrote:
>>
>>>        Well, we already have the Hobo Cookbook and Manual (soon to
>>>        have 1.3) up atHobocentral.net <http://Hobocentral.net/>.
>>>
>>>        I would consider a Wiki in addition to, not in replace of, a
>>>        book...
>>>
>>>        Any thoughts from others?
>>
>>        --
>>        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.
>>
>>
>>
>>
>>    --
>>
>>
>>    - Owen
>>
>>    Owen Dall, Chief Systems Architect
>>    Barquin International
>>    www.barquin.com <http://www.barquin.com>
>>    Cell: 410-991-0811 <tel:410-991-0811>
>>
>>    --
>>    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