Re: ways to detect httpRequest or just render 'bare'?

2006-08-01 Thread someguy
So let's build it. All i've done so far is create a custom headhelper component that does the dojo.js include and the dojo.requires. Everything else i'm just coding straight into the views. --~--~-~--~~~---~--~~ You received this message because you are

Re: ways to detect httpRequest or just render 'bare'?

2006-07-06 Thread adam davis
Looks like someone already started a Yahoo UI helper: https://cakeforge.org/plugins/scmsvn/viewcvs.php/app/views/helpers/yahoo_ui.php?rev=2root=yahoouihelperview=log Thanks, will take a look... looks like a good start. -ad On 06/07/06, nate [EMAIL PROTECTED] wrote: Looks like someone

Re: ways to detect httpRequest or just render 'bare'?

2006-07-06 Thread adam davis
That's interesting about Dojo. What other transport methods does it support? You have to keep in mind though, that Cake is oriented towards browser-based applications, which automatically constrains your thinking in many respects, one of which is the use of XHR as the transport mechanism

Re: ways to detect httpRequest or just render 'bare'?

2006-07-05 Thread nate
Hi there, I know the proper cake way to set content is to use the RequestHandler Component $this-RequestHandler-setAjax(), but Ive discovered that that this function tests the value of the HTTP_X_REQUESTED_WITH header, which is a proprietry value set by the Prototype.js. If you're using

Re: ways to detect httpRequest or just render 'bare'?

2006-07-05 Thread adam davis
Hi all, Regarding the immediate problem discussed in this thread (rendering bare)... I'm finding that using the following works $this-autoLayout = false; or $this-layout=ajax; For anyone else following this beware of the render time print out that appears by default at the bottom of your pages

Re: ways to detect httpRequest or just render 'bare'?

2006-07-05 Thread Samuel DeVore
I would imagine that if one is using other js methods like dojo that there might be a custom header from them as well that could be added to the requestHandler stuff, as a variable or define, that could be added to the code via a enhancement request in the trac/ On 7/5/06, adam davis [EMAIL

Re: ways to detect httpRequest or just render 'bare'?

2006-07-05 Thread nate
Hey Adam, thanks for the feedback. I look forward to seeing your contributions. Lately we have been working on some basic support for alternative methods of doing things in JavaScript. For example, JavascriptHelper::event now supports both Prototype-style events (the default) and Justin

Re: ways to detect httpRequest or just render 'bare'?

2006-07-05 Thread nate
Looks like someone already started a Yahoo UI helper: https://cakeforge.org/plugins/scmsvn/viewcvs.php/app/views/helpers/yahoo_ui.php?rev=2root=yahoouihelperview=log --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups