What are you general feelings about actually serializing images and storing 
them in a database vs. storing just the path ?

 

-mike

 

From: Sergio Rinaudo [mailto:[email protected]] 
Sent: Thursday, May 14, 2009 1:28 PM
To: [email protected]
Subject: [fw-general] Zend_Form: append or prepend tags near to an element

 

Hi, 
if I want to append or prepend any tag near to an element of my form, 
what should I do? 

For example, I have this code

      $titleField = new Zend_Form_Element_Text('titolo');
      $titleField->class = 'inputText required';
      $titleField->setDecorators(array(
            array('ViewHelper',
                  array('helper' => 'formText'))
          ));

render this html

<input type="text" class="inputText required validateMail email" value="" 
id="titolo" name="titolo"/>

What about if I want to render a <p> tag before or after, for example



<input type="text" class="inputText required validateMail email" value="" 
id="titolo" name="titolo"/>
<p>Some content...</p>

or 

<p>Some content...</p>
<input type="text" class="inputText required validateMail email" value="" 
id="titolo" name="titolo"/>

?
Thanks

Sergio Rinaudo

________________________________

Cerchi i tuoi spazi? Hotmail va oltre i 5GB. Scopri perché! 
<http://messenger.it/hotmail.aspx> 

Reply via email to