#6000: FormHelper
----------------------------------+-----------------------------------------
    Reporter:  oh4real            |         Owner:           
        Type:  Bug                |        Status:  new      
    Priority:  Medium             |     Milestone:  1.2.x.x  
   Component:  Helpers            |       Version:  1.2 Final
    Severity:  Normal             |    Resolution:           
    Keywords:  form helper input  |   Php_version:  PHP 5    
Cake_version:  1.2.0.7962         |  
----------------------------------+-----------------------------------------
Old description:

> Installed 1.2 Final, pointed my App to new directory location in
> webroot/index.php and $form->link(); calls in views now output empty
> inputs.
>
> App view code:
>
> {{{<?php echo
> $form->input('Referral.email',array('label'=>'Email:','maxLength'=>60,'style'=>'width:75%;padding:
> 0px 3px 3px;','value'=>'start here
> ...','class'=>'text_field','onclick'=>"this.value='';")); ?>}}}
>
> RC2 (.7296) output in browser:
>
> {{{<div class="input text"><label
> for="ReferralEmail">Email:</label><input type="text" id="ReferralEmail"
> maxlength="60" onclick="this.value='';" class="text_field" value="start
> here ..." style="padding: 0px 3px 3px; width: 75%;"
> name="data[Referral][email]"/></div>}}}
>
> Final (.7962) output in browser:
>
> {{{<div class="input text"><label for="ContactEmail">Email:</label><input
> name=""/></div>}}}
>

> Note: Everything is missing: class, name, value, style, label, & onclick.
>
> Not going to update to Final for some time if I have to adjust each and
> every $form->input() call to comply with some new method parameter
> tweaking.
>
> Also, while I searched through changelogs for 'input' and found nothing
> betwixt 7296:7962 that suggests the change, I haven't spent any time
> going through API to look for $form->input changes. I can imagine a ton
> of other things subtley not working, but wholesale conversion of
> $form->input() seems odd to me.
>
> Probably something other configuration I have somewhere that breaks in
> 1.2 Final, but just thought you might want to hear.
>
> Keep up the great work.

New description:

 Installed 1.2 Final, pointed my App to new directory location in
 webroot/index.php and $form->link(); calls in views now output empty
 inputs.

 App view code:

 {{{
 <?php echo
 
$form->input('Referral.email',array('label'=>'Email:','maxLength'=>60,'style'=>'width:75%;padding:
 0px 3px 3px;','value'=>'start here
 ...','class'=>'text_field','onclick'=>"this.value='';")); ?>
 }}}

 RC2 (.7296) output in browser:

 {{{
 <div class="input text"><label for="ReferralEmail">Email:</label><input
 type="text" id="ReferralEmail" maxlength="60" onclick="this.value='';"
 class="text_field" value="start here ..." style="padding: 0px 3px 3px;
 width: 75%;" name="data[Referral][email]"/></div>
 }}}

 Final (.7962) output in browser:

 {{{
 <div class="input text"><label for="ContactEmail">Email:</label><input
 name=""/></div>
 }}}


 Note: Everything is missing: class, name, value, style, label, & onclick.

 Not going to update to Final for some time if I have to adjust each and
 every $form->input() call to comply with some new method parameter
 tweaking.

 Also, while I searched through changelogs for 'input' and found nothing
 betwixt 7296:7962 that suggests the change, I haven't spent any time going
 through API to look for $form->input changes. I can imagine a ton of other
 things subtley not working, but wholesale conversion of $form->input()
 seems odd to me.

 Probably something other configuration I have somewhere that breaks in 1.2
 Final, but just thought you might want to hear.

 Keep up the great work.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6000#comment:2>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to