Ticket #747 (closed enhancement: invalid)
populating a form in view
| Reported by: | cheerios | Owned by: | david |
|---|---|---|---|
| Priority: | lowest | Milestone: | 0.11.1 |
| Component: | documentation | Version: | 0.11.0 |
| Severity: | normal | Keywords: | |
| Cc: | Patch attached: | no |
Description
check that config/global_filters.xml has FormPopulationFilter? enabled
in view: FORM-DATA-ARRAY = array('foo'=>11);
$this->getContext()->getRequest()->setAttribute('populate',
array('FORM-ID'=> new AgaviParameterHolder?(array('form'=>FORM-DATA-ARRAY))), 'org.agavi.filter.FormPopulationFilter?');
will fill up <form id="FORM-ID><input name="form[foo]"/></form>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

