#5928: Scripts added from elements loaded in layout are lost
    Reporter:  joaquin_win                                                    | 
        Type:  Bug                                                            | 
       Status:  reopened
    Priority:  High                                                           | 
    Milestone:  1.2.x.x 
   Component:  View                                                           | 
    Severity:  Critical                                                       | 
    Keywords:  view, javascriptHelper, joaquin_win, element, View::__scripts  | 
  Php_version:  n/a     
Cake_version:                                                                 | 
Changes (by joaquin_win):

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


 Maybe I missed something but setting this ticket as invalid doesn't
 respond to a feature not working as expected.[[BR]][[BR]]

 As pointed in some of the comments from the page you give it's not correct
 to assume everyone knows about two-step rendering (although I did know
 some form of that was in place). I know this is not a support forum by the
 way, but then I should open a ticket to request a more complete
 explanation in http://book.cakephp.org/view/97/Elements to how people can
 expect $javascript->link to work as expected when called from an element
 rendered within the layout.[[BR]][[BR]]

 Please indicate if the ticket for documentation is needed. Or if you
 prefer tell me how to achieve this and I'll write that part for the book.

Ticket URL: <https://trac.cakephp.org/ticket/5928#comment:3>
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 
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to