One more little issue to sort out. Assuming like you suggested i have the
dijit ($content) declared in my layout script. How can i now make it show in
my view script? I have tried using placeholder + partials but they dont give
me the desired output. Code for better illustration :

LAYOUT SCRIPT

... 

<head>

...



<?php $content = $this->validationTextBox(
            'firstName',
            '',
            array(
                'required'       => true,
                'propercase'     => true,
                'promptMessage'  => 'Enter first name.',
                'invalidMessage' => 'First name is required.',
                'trim'           => true,
                'onchange'       => 'userNameOnChange()',
            ),
            array('size' => 20)
        );
                
                
                ?>
                
        <?php


  
           if ($this->dojo()->isEnabled()){
                                $this->dojo()->setLocalPath('/js/dojo/dojo.js') 
                                             
->addStyleSheetModule('dijit.themes.tundra')
                                                         
->requireModule('dijit.form.ValidationTextBox');
                                                        
                                
                                                        
                                
                                echo $this->dojo();
      }
?>


...

</head>

VIEW SCRIPT

How then can i make <?=$content?> appear in say
...
<tr>
<td>[show here]</td>
</tr>
...


Thanks :)




-----
dee
-- 
View this message in context: 
http://www.nabble.com/Zend_Dojo-Problem-tp21136696p21151324.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to