Thanks for the replying. Regarding the Zend_Form decorators: I still don't know how to set a HtmlTag decorator to have a certain text node value, unlessI can use the Description decorator.
On Sun, Jun 15, 2008 at 11:23 PM, Bart McLeod <[EMAIL PROTECTED]> wrote: > 1. Use setOption('placement','append') or prepend on your decorator. If you > want to use the description upon description, you can, you have to alias > them: addDecorator(array('descr1' => 'Description')); > addDecorcator(array('otherDescription' => 'Description')) > etc. > 2. use placement append, if you use XHTML, <br></br> is valid. If you use > HTML, use openOnly option = true. > 3. I am not sure if PASSWORD treatment is supported... I know about MD5. > 4. I received strange messages about bounced mail too. I had the bounced > messages forwarded to me and they are from two years ago and not addresses > to me. > > Regards, > > Bart McLeod > > > Neriodavid(Wei Dai) schreef: > > >> >> 1. About Zend_Form: >> How to decorate a form to allow html/dom element in between form >> element? >> I have a well designed form with many table cell and heading text in it. >> How can I add xhtml/dom element with text node in the tags not >> wrap/prepend/append tags to the Zend_Form_Element objects. >> The only way I can think of is use "Description" decorator. But, I need >> use "Description upon Description" and then set every "Description" with the >> value of the desired text? >> >> 2. I add custom form decorator HtmlTag, when tags are br, hr ... empty >> tag, it generate <br></br> and <hr></hr>. >> This questions is actually a report of (Maybe a little bug?) problem. It >> is that when you add the HtmlTag decorator with the "empty element tag", >> such as "br" or "hr". ZF will use this tag wrap around the element with the >> "<br>" and "</br>", not use "<br />". >> >> 3.CredentialTreatment('Password(?)') doesn't work. >> I am talking about use the Zend_Auth_Adapter. When I use the >> "setCredentialTreatment" method with "Password(?)" against mysql 5, and in >> the DB, the password column was encoded using the PASSWORD, not the OLD >> PASSWORD, it fails to authenticate. However, When I use MD5, it works. >> >> P.S. I receive warnings from ZF mail list states that my message was >> bouced. I have no idea why. Maybe because I use forwarded some message to >> the mail list? >> >