Friday, April 2, 2010

Getting warning

Hi @ all,

Warning (512): Method HtmlHelper::input does not exist [CORE\cake\libs\view\helper.php, line 143]

I am getting this warning-message, but i know that this method exists, there is a part of my code

h2>New Point</h2>
<form action="<?php echo $html->url('/points/add'); ?>" method="post">
<div class="optional">
<?php echo $form->label('Point/name', 'Name');?>
<?php echo $html->input('Point/name', array('size' => '60'));?>
<?php echo $html->tagErrorMsg('Point/name', 'Please enter the Name.');?>
</div>

<div class="submit">
<?php echo $html->submit('Add');?>
</div>

I think that some methods may not exist like "labelTag" which i have changed into "label". But Input should be ok?

thank you very much.


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: