2008年8月18日星期一

Re: [fw-mvc] Include raw HTML into Zend_Form

Gordon Ross schrieb:
> Is it possible to include raw HTML into a Zend_Form ? I know you can append
> & prepend HTML to a tag, but I want to include a chunck of text (with a
> little HTML mark-up) in the middle of a form.

You could use the ViewScript decorator.
Have a look at this article
(http://devzone.zend.com/article/3450-Decorators-with-Zend_Form) and
especially at the part "Example: Full Customization Using the ViewScript
Decorator".

>
> What's the best way to do this ?
>
> Thanks,
>
> GTG
>
>

Kind regards
Mike


--
Mike Rötgers
http://www.roetgers.org

没有评论: