2008年8月1日星期五

Re: [fw-mvc] Zend_Form with 1.6rc1

Stephan,

Perhaps
$form = new Zend_Form();
$form->setAttrib(‘id’, ‘foo’);

may work in this instance?
Paul Shoemaker | Application Developer
paul.shoemaker@helloecho.com
615.290.4342 | 615.777.5119 fax
 
echo  |  Hello. Hello.  |  helloecho.com
 
The information contained in this message is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.




From: Stephan Stapel <stephan.stapel@web.de>
Date: Fri, 1 Aug 2008 13:07:08 -0500
To: <fw-mvc@lists.zend.com>
Subject: [fw-mvc] Zend_Form with 1.6rc1

Hi,

With 1.5.x I was used to

$options["id"] = "myform";
parent::__construct($options);

which worked well. With 1.6rc1 this seems not to be possible any more,
the output looks like this:

<form id="">

Was this done by means or is this an issue? If the prior should be the
case, how can I now set the dom element id?

cheers,

Stephan

没有评论: