Much of the Ajax update code works via javascript on the browser side, 
so it uses the DOM id for identification.

<div id="archsignupbkgrnd" part_id="arch_pwd">.

So you would refer to the part with "archsignupbkgrnd".  You tell Hobo 
that it's a part by  with part="something".

<div id="archsignupbkgrnd" part="arch_pwd">...</div>

and then

<form update="archsignupbkgrnd">...</form>

You're using a blog post from 2006 as documentation -- not recommended.  :)

These should be canonical:

http://cookbook.hobocentral.net/api_taglibs/rapid_forms

http://cookbook.hobocentral.net/api_tag_defs/form

Not great documentation, but at least not wrong.  Any suggestions or 
help appreciated...

Bryan


blueHandTalking wrote:
> According to the information in "Ajax, Hobo style":
> 
> "To create a part, just give any element a part_id"
> 
> Which should generate something similar to:
> 
> <script>
> var hoboParts = {}
> hoboParts.task_list = 'todo_list_1'
> </script>
> 
> per the example.
> 
> Since this did not work for me, I did further research and found and
> found in the
> "New Dryml" , July 21 2007
> 
> "The part_id attribute for creating ajax parts is now simply part."
> 
> However, part is not recognized at all.  part_id does not generate an
> error,
> but neither does it generate the <script> var hoboParts = {}
> 
> Neither does part_id  work for a table. So in the description 'works
> for any element',
> what elements does it actually work for?
> 
> Here is the snippet I am trying to get working, with a part_id I can
> refer to for a
> callback:
> 
> <div id="archsignupbkgrnd" part_id="arch_pwd">
> <% form_remote_tag  :url => "/users/signup", :method => :post do %>
> ...
> 
> <% end %>
> 
> jet
> 
> 
> 
> 
> 
> 
> > 
> 


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