#5736: Form Output Not Rendered
-------------------------------+--------------------------------------------
    Reporter:  jm              |         Owner:          
        Type:  Bug             |        Status:  reopened
    Priority:  Medium          |     Milestone:  1.2.x.x 
   Component:  Helpers         |       Version:  RC3     
    Severity:  Normal          |    Resolution:          
    Keywords:  form, helper    |   Php_version:  PHP 5   
Cake_version:  1.2.0.7692 RC3  |  
-------------------------------+--------------------------------------------
Changes (by jm):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 I have removed the H1 tag from the view.  Now, there is no HTML before the
 form tag, with the same results.  Below is the exact source of the
 output.[[BR]][[BR]]

 Again, if I save the dynamically generated file from CakePHP and view it
 locally on my machine, it will render correctly.  Therefore, this cannot
 be an issue with Firefox being more strict than IE or a user error!
 {{{
 <form id="ArticleAddForm" method="post" action="/cake/articles/add">

   <fieldset style="display:none;">
     <input type="hidden" name="_method" value="POST" />
   </fieldset>

   <div class="input text">
     <label for="ArticleTitle">Title</label>
     <input name="data[Article][title]" type="text" maxlength="255"
 value="" id="ArticleTitle" />
   </div>

   <div class="input textarea">
     <label for="ArticleBody">Body</label>
     <textarea name="data[Article][body]" cols="30" rows="3"
 id="ArticleBody" ></textarea>
   </div>

   <div class="submit">
     <input type="submit" value="Save Post" />
   </div>

 </form>

 <!-- 0.9199s -->

 <table class="cake-sql-log"
 id="cakeSqlLog_12263510194918a1abe69713_91361193" summary="Cake SQL Log"
 cellspacing="0" border = "0">
   <caption>(default) 2 queries took 4 ms</caption>
   <thead>
     <tr>
       <th>Nr</th>
       <th>Query</th>
       <th>Error</th>
       <th>Affected</th>
       <th>Num. rows</th>
       <th>Took (ms)</th>
     </tr>
   </thead>

   <tbody>
     <tr>
       <td>1</td>
       <td>DESCRIBE `articles`</td>
       <td></td>
       <td style = "text-align: right">7</td>
       <td style = "text-align: right">7</td>
       <td style = "text-align: right">2</td>
     </tr>

     <tr>
       <td>2</td>
       <td>DESCRIBE `users`</td><td></td>
       <td style = "text-align: right">5</td>
       <td style = "text-align: right">5</td>
       <td style = "text-align: right">2</td>
     </tr>
   </tbody>
 </table>
 }}}

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5736#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