Re: [CakePHP : The Rapid Development Framework for PHP] #5928: Scripts added from elements loaded in layout are lost

2009-08-04 Thread CakePHP : The Rapid Development Framework for PHP
#5928: Scripts added from elements loaded in layout are lost
--+
Reporter:  joaquin_win| 
Owner: 
Type:  Bug| 
   Status:  closed 
Priority:  High   | 
Milestone:  1.2.x.x
   Component:  View   | 
  Version: 
Severity:  Critical   | 
   Resolution:  invalid
Keywords:  view, javascriptHelper, joaquin_win, element, View::__scripts  | 
  Php_version:  n/a
Cake_version: | 
 
--+
Comment (by therma_lobsterdore):

 You can get around this problem by manually recreating scripts_for_layout.
 Remove $scripts_for_layout from your view and replace it with this...

 {{{
 echo join(\n\t, $this-__scripts);
 }}}

-- 
Ticket URL: https://trac.cakephp.org/ticket/5928#comment:7
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #5928: Scripts added from elements loaded in layout are lost

2008-12-26 Thread CakePHP : The Rapid Development Framework for PHP
#5928: Scripts added from elements loaded in layout are lost
--+
Reporter:  joaquin_win| 
 Type:  Bug 
  Status:  new| 
 Priority:  High
   Milestone:  1.2.x.x| 
Component:  View
 Version: | 
 Severity:  Critical
Keywords:  view, javascriptHelper, joaquin_win, element, View::__scripts  | 
  Php_version:  n/a 
Cake_version: | 
 
--+
 Having an element called 'sidebar' if that element has, for example, the
 line:
 {{{
 $javascript-link('somejsfile', false);
 }}}

 The script does not show up when rendering the element ($this-element)
 directly from the layout, but if the element is loaded in a view the
 script does show.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5928
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5928: Scripts added from elements loaded in layout are lost

2008-12-26 Thread CakePHP : The Rapid Development Framework for PHP
#5928: Scripts added from elements loaded in layout are lost
--+
Reporter:  joaquin_win| 
Owner: 
Type:  Bug| 
   Status:  closed 
Priority:  High   | 
Milestone:  1.2.x.x
   Component:  View   | 
  Version: 
Severity:  Critical   | 
   Resolution:  invalid
Keywords:  view, javascriptHelper, joaquin_win, element, View::__scripts  | 
  Php_version:  n/a
Cake_version: | 
 
--+
Changes (by nate):

  * status:  new = closed
  * resolution:  = invalid

Comment:

 2-pass rendering.  See comments here: http://cakebaker.42dh.com/2008/10/23
 /the-sequence-of-helper-callbacks/#comments

-- 
Ticket URL: https://trac.cakephp.org/ticket/5928#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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5928: Scripts added from elements loaded in layout are lost

2008-12-26 Thread CakePHP : The Rapid Development Framework for PHP
#5928: Scripts added from elements loaded in layout are lost
--+
Reporter:  joaquin_win| 
Owner:  
Type:  Bug| 
   Status:  reopened
Priority:  High   | 
Milestone:  1.2.x.x 
   Component:  View   | 
  Version:  
Severity:  Critical   | 
   Resolution:  
Keywords:  view, javascriptHelper, joaquin_win, element, View::__scripts  | 
  Php_version:  n/a 
Cake_version: | 
 
--+
Changes (by joaquin_win):

  * status:  closed = reopened
  * resolution:  invalid =

Comment:

 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.
 Thanks

-- 
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 
flexibility.
--~--~-~--~~~---~--~~
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 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5928: Scripts added from elements loaded in layout are lost

2008-12-26 Thread CakePHP : The Rapid Development Framework for PHP
#5928: Scripts added from elements loaded in layout are lost
--+
Reporter:  joaquin_win| 
Owner: 
Type:  Bug| 
   Status:  closed 
Priority:  High   | 
Milestone:  1.2.x.x
   Component:  View   | 
  Version: 
Severity:  Critical   | 
   Resolution:  fixed  
Keywords:  view, javascriptHelper, joaquin_win, element, View::__scripts  | 
  Php_version:  n/a
Cake_version: | 
 
--+
Changes (by nate):

  * status:  reopened = closed
  * resolution:  = fixed

Comment:

 You misunderstand.  What you are attempting is not expected to work, never
 has worked, and was never intended to work.  If the documentation needs to
 be updated to clarify this, please do so.

-- 
Ticket URL: https://trac.cakephp.org/ticket/5928#comment:4
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5928: Scripts added from elements loaded in layout are lost

2008-12-26 Thread CakePHP : The Rapid Development Framework for PHP
#5928: Scripts added from elements loaded in layout are lost
--+
Reporter:  joaquin_win| 
Owner:  
Type:  Bug| 
   Status:  reopened
Priority:  High   | 
Milestone:  1.2.x.x 
   Component:  View   | 
  Version:  
Severity:  Critical   | 
   Resolution:  
Keywords:  view, javascriptHelper, joaquin_win, element, View::__scripts  | 
  Php_version:  n/a 
Cake_version: | 
 
--+
Changes (by nate):

  * status:  closed = reopened
  * resolution:  fixed =

-- 
Ticket URL: https://trac.cakephp.org/ticket/5928#comment:5
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5928: Scripts added from elements loaded in layout are lost

2008-12-26 Thread CakePHP : The Rapid Development Framework for PHP
#5928: Scripts added from elements loaded in layout are lost
--+
Reporter:  joaquin_win| 
Owner: 
Type:  Bug| 
   Status:  closed 
Priority:  High   | 
Milestone:  1.2.x.x
   Component:  View   | 
  Version: 
Severity:  Critical   | 
   Resolution:  invalid
Keywords:  view, javascriptHelper, joaquin_win, element, View::__scripts  | 
  Php_version:  n/a
Cake_version: | 
 
--+
Changes (by nate):

  * status:  reopened = closed
  * resolution:  = invalid

-- 
Ticket URL: https://trac.cakephp.org/ticket/5928#comment:6
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---