|
Loading...
|
cfwheels@googlegroups.com
[Prev] Thread [Next] | [Prev] Date [Next]
[cfwheels] Re: Element WHEELS.CONTENTFORLAYOUT is undefined in REQUEST. James Gibson Sat Jul 25 07:30:10 2009
Forgot the link. http://code.google.com/p/cfwheels/downloads/list James On Jul 25, 10:09 am, James Gibson <[EMAIL PROTECTED]> wrote: > I have just uploaded a new version of the plugin to the repository. It > has been working in the application that I have been writing in > wheels. I did make some last minute changes so please let me know if > you have any more issues. The layout paths are now stored in > application.layoutFiles. > > James > > On Jul 25, 9:41 am, James Gibson <[EMAIL PROTECTED]> wrote: > > > Hey Guys, > > > The controllerLayout plugin in its current release trys to use the > > wheels request scope to hold layout values. But when wheels goes into > > production mode, the init() on the controller is only call once and > > then cached in the application scope. This means that controllerLayout > > must also cache layouts in the application scope in order to not have > > any problems. I have updated the code since it initial release but > > have been lax in getting an update out. I should be able to post the > > code shortly. > > > James > > > On Jul 24, 12:18 pm, Chris Peters <[EMAIL PROTECTED]> wrote: > > > > Is views/content.cfm your layout file? That function should only be called > > > from a layout. Just making sure we have the basics covered. > > > > On Fri, Jul 24, 2009 at 11:35 AM, msartini <[EMAIL PROTECTED]> wrote: > > > > > Hi, someone can help me about this error? > > > > > On the my app I put this code: > > > > <cfoutput>#contentForLayout()#</cfoutput> > > > > and then Wheels shom me this error: > > > > > Element WHEELS.CONTENTFORLAYOUT is undefined in REQUEST. > > > > > The error occurred in C:\workspace\amazon\wheels\view\content.cfm: > > > > line 2 > > > > Called from C:\workspace\amazon\views\say\hello.cfm: line 10 > > > > Called from C:\workspace\amazon\wheels\global\cfml.cfm: line 101 > > > > Called from C:\workspace\amazon\wheels\controller\rendering.cfm: line > > > > 219 > > > > Called from C:\workspace\amazon\wheels\controller\rendering.cfm: line > > > > 96 > > > > Called from C:\workspace\amazon\wheels\controller\rendering.cfm: line > > > > 47 > > > > Called from C:\workspace\amazon\plugins\controllerlayout > > > > \ControllerLayout.cfc: line 32 > > > > Called from C:\workspace\amazon\wheels\dispatch\request.cfm: line 364 > > > > Called from C:\workspace\amazon\wheels\dispatch\request.cfm: line 330 > > > > Called from C:\workspace\amazon\wheels\index.cfm: line 1 > > > > Called from C:\workspace\amazon\index.cfm: line 1 > > > > Called from C:\workspace\amazon\wheels\events\onrequest.cfm: line 4 > > > > > 1 : <cffunction name="contentForLayout" returntype="string" > > > > access="public" output="false" hint="Used inside a layout file to > > > > output the HTML created in the view."> > > > > 2 : <cfreturn request.wheels.contentForLayout> > > > > 3 : </cffunction> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" 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/cfwheels?hl=en -~----------~----~----~----~------~----~------~--~---
- [cfwheels] Element WHEELS.CONTENTFORLAYOUT is undefined in REQUEST. msartini 2009/07/24
- [cfwheels] Re: Element WHEELS.CONTENTFORLAYOUT is undefined in REQUEST. Per Djurner 2009/07/24
- [cfwheels] Re: Element WHEELS.CONTENTFORLAYOUT is undefined in REQUEST. Chris Peters 2009/07/24
- [cfwheels] Re: Element WHEELS.CONTENTFORLAYOUT is undefined in REQUEST. James Gibson 2009/07/25
- [cfwheels] Re: Element WHEELS.CONTENTFORLAYOUT is undefined in REQUEST. James Gibson 2009/07/25
- [cfwheels] Re: Element WHEELS.CONTENTFORLAYOUT is undefined in REQUEST. James Gibson 2009/07/25 <=