Peter
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
Hi Peter,
Have you tried replacing the field-list inside the form? I think this
would be the easiest way. You can also take a look at the default
automatic dryml generated in app/views/taglibs/auto, maybe it helps :)
<new-page>
<form:>
<field-list: replace>
<!-- Your custom inputs -->
</field-list:>
</form:>
</new-page>
Regards,
Ignacio
El 01/02/12 21:55, Peter Pavlovich escribi�:
> Also, what about the form header and title including the actual
> <form> tag?
>
> Thanks!
>
> Peter
>
> On Wed, Feb 1, 2012 at 3:08 PM, Peter Pavlovich
> <pavl...@gmail.com <mailto:pavl...@gmail.com>> wrote:
>
> I have a situation in which I would like to create a custom input
> form for a given model but I would like to keep the standard form
> buttons at the bottom of the form ("Save XXX" and "Cancel"). Is
> there a way in DRYML to do this? In other words, are the buttons
> contained in a restorable tag parameter?
>
> Thanks in advance!
>
> Peter
>
> -- You received this message because you are subscribed to the
> Google Groups "Hobo Users" group. To post to this group, send email
> to hobo...@googlegroups.com <mailto:hobo...@googlegroups.com>.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com
> <mailto:hobousers%2Bunsu...@googlegroups.com>. 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 hobo...@googlegroups.com. To unsubscribe from this group, send
> email to hobousers+...@googlegroups.com. For more options,
> visit this group at
> http://groups.google.com/group/hobousers?hl=en.
- --
Ignacio Huerta Arteche
http://www.ihuerta.net
Tel�fono: 0034 645 70 77 35
Email realizado con software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8pqb0ACgkQBPlUJ6RHaOQ8dgCfTvxI2Vllynmf8Q4iOayafrpc
YQYAmwQCGbKeoIqHBMVEFatObyQYU1s6
=2K0o
-----END PGP SIGNATURE-----
<form>
<field-list: replace></field-list:>
<actions: replace>
<div>Hello</div>
<actions restore/>
<field-list fields="foo,bar"/>
</actions>
</form>
Notice that I'm restoring actions but I'm removing field-list and
replacing with a new one.
Bryan
DRYML cannot provide the correct form-field name here (this_field = "first_name", this = nil)app/views/taglibs/application.dryml:12:in `block in labeled_field'
app/views/taglibs/application.dryml:6:in `labeled_field'
app/views/taglibs/application.dryml:22:in `block (3 levels) in person_editor'
app/views/taglibs/application.dryml:21:in `block (2 levels) in person_editor'
app/views/taglibs/application.dryml:21:in `block in person_editor'
app/views/taglibs/application.dryml:17:in `person_editor'
app/views/registrations/new.dryml:4:in `block (4 levels) in render_page'
app/views/registrations/new.dryml:3:in `block (3 levels) in render_page'
app/views/taglibs/auto/rapid/forms.dryml:64:in `block (3 levels) in form__for_registration'
app/views/taglibs/auto/rapid/forms.dryml:62:in `block (2 levels) in form__for_registration'
app/views/taglibs/auto/rapid/forms.dryml:62:in `block in form__for_registration'
app/views/taglibs/auto/rapid/forms.dryml:61:in `form__for_registration'
app/views/taglibs/auto/rapid/pages.dryml:688:in `block (6 levels) in new_page__for_registration'
app/views/taglibs/auto/rapid/pages.dryml:687:in `block (5 levels) in new_page__for_registration'
app/views/taglibs/auto/rapid/pages.dryml:687:in `block (4 levels) in new_page__for_registration'
app/views/taglibs/auto/rapid/pages.dryml:678:in `block (3 levels) in new_page__for_registration'
app/views/taglibs/themes/clean/clean.dryml:2:in `block in page_with_aaa82d3a9ca5'
app/views/taglibs/themes/clean/clean.dryml:1:in `page_with_aaa82d3a9ca5'
app/views/taglibs/front_site.dryml:12:in `block in page_with_a46705120a36'
app/views/taglibs/front_site.dryml:11:in `page_with_a46705120a36'
app/views/taglibs/auto/rapid/pages.dryml:675:in `block in new_page__for_registration'
app/views/taglibs/auto/rapid/pages.dryml:674:in `new_page__for_registration'
app/views/registrations/new.dryml:1:in `block in render_page'
app/views/registrations/new.dryml:1:in `render_page'
app/views/registrations/new.dryml:1:in `_app_views_registrations_new_dryml___3696370354641707024_70364650484020_3277638183384190033'--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/-GFpDitcgzEJ.