Hi,

I would like to have a form in a modal box.
For that, I see that I need to use render_tag or call_tag.

I tried
Dryml::render_tag "form"
but 2 arguments needed.
I see in dryml.rb that render_tag speaks about argument "view" but I have
really no idea of what to set in it.

I have also tried :
call_dryml_tag("form", {:with => Wording.new} )
which render the whole new page for wording.
And, when I try this:
call_dryml_tag("page-new-form", {:with => Wording.new} )
with tag definition:
<def tag="page-new-form" for="Wording">
  test
</def>
I still have the previous page with the normal new page for Wording.

And if I don't specify the :with option, It renders an empty page.

Then, I really need help on how to render something that's not the whole
page...
Afterwards, I will probaby try using rjs...


Thanks in advance for any useful tips you could give,
Arnaud.

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