# |
Aug 9th 2008, 20:18 |
rafaelbandeira3 |
hu,mmm |
# |
Aug 9th 2008, 20:18 |
rnickel |
rafaelbandeira3: yes |
# |
Aug 9th 2008, 20:18 |
rafaelbandeira3 |
rnickel: does your layout spits $content_for_layout ? |
# |
Aug 9th 2008, 20:18 |
rafaelbandeira3 |
rnickel: look |
# |
Aug 9th 2008, 20:18 |
rafaelbandeira3 |
for ajax, yes |
# |
Aug 9th 2008, 20:17 |
Spoom |
do i need to add any special files like another layout or something? |
# |
Aug 9th 2008, 20:17 |
rnickel |
k |
# |
Aug 9th 2008, 20:17 |
rafaelbandeira3 |
rnickel: no sorry... wiat a minute |
# |
Aug 9th 2008, 20:17 |
rafaelbandeira3 |
it's probably not finding yout view |
# |
Aug 9th 2008, 20:17 |
rnickel |
rafaelbandeira3: you tallking to me? |
# |
Aug 9th 2008, 20:17 |
Spoom |
like i need an ajax layout in app/views/layouts |
# |
Aug 9th 2008, 20:16 |
Spoom |
bah, it's something simple isn't it |
# |
Aug 9th 2008, 20:16 |
rafaelbandeira3 |
... it prepend ajax or xml in everything |
# |
Aug 9th 2008, 20:16 |
rafaelbandeira3 |
ajax subfolder |
# |
Aug 9th 2008, 20:16 |
rafaelbandeira3 |
it looks for ajax layout |
# |
Aug 9th 2008, 20:16 |
rafaelbandeira3 |
of course |
# |
Aug 9th 2008, 20:16 |
Spoom |
Matt1: it still gives the 403 |
# |
Aug 9th 2008, 20:16 |
rafaelbandeira3 |
on your __viewFn |
# |
Aug 9th 2008, 20:15 |
rafaelbandeira3 |
or give View.php a debug($var);die; |
# |
Aug 9th 2008, 20:15 |
rafaelbandeira3 |
yeah |
# |
Aug 9th 2008, 20:15 |
Matt1 |
Spoom: try commenting out everything inside if($this->RequestHandler->isAjax()) and see what it does. |
# |
Aug 9th 2008, 20:15 |
rafaelbandeira3 |
elements/questions/index |
# |
Aug 9th 2008, 20:15 |
rafaelbandeira3 |
your __viewFn will be something like |
# |
Aug 9th 2008, 20:14 |
Spoom |
the render is for the element that contains the paginator content |
# |
Aug 9th 2008, 20:14 |
rafaelbandeira3 |
no |
# |
Aug 9th 2008, 20:14 |
rnickel |
rafaelbandeira3: I see nothing. It's literally a blank return |
# |
Aug 9th 2008, 20:14 |
Spoom |
you want me to paste the view? |
# |
Aug 9th 2008, 20:13 |
rafaelbandeira3 |
you should see your view... |
# |
Aug 9th 2008, 20:13 |
rafaelbandeira3 |
Spoom: |
# |
Aug 9th 2008, 20:13 |
rnickel |
I'm using the REST components within CAKE just fine (works like a CHARM actually), however when I go to my add method the flash takes over upon success. I want to show this flash in an XML format... when I add a flash.ctp to my xml layouts, nothing gets rendered... even everything that's in my flash.ctp file (without the flash.ctp file, cake throws an error saying that I need to create one) |
# |
Aug 9th 2008, 20:12 |
Spoom |
http://bin.cakephp.org/saved/35950 |
# |
Aug 9th 2008, 20:12 |
rafaelbandeira3 |
rnickel: shoot without warn |
# |
Aug 9th 2008, 20:11 |
rnickel |
Hey guys, quick question for ya'all |
# |
Aug 9th 2008, 20:11 |
rafaelbandeira3 |
no requestAction? |
# |
Aug 9th 2008, 20:11 |
Spoom |
gimme a sec, i'll post the relevant controller code |
# |
Aug 9th 2008, 20:11 |
Spoom |
yeah, probably |
# |
Aug 9th 2008, 20:11 |
rafaelbandeira3 |
wich may use some requestAction? |
# |
Aug 9th 2008, 20:11 |
rafaelbandeira3 |
so you got something on you xmlHttpRequest handling that is not right... I mean, like a special logic |
# |
Aug 9th 2008, 20:10 |
Spoom |
yes |
# |
Aug 9th 2008, 20:10 |
rafaelbandeira3 |
so the url works just fine but not with the xmlHttpRequest? |
# |
Aug 9th 2008, 20:09 |
Spoom |
it's going to a client's domain when it's done anyway |