Replies: 1 comment 6 replies
-
|
I'm guessing that your jquery load function is using the http GET method. In general the wheels create function normally uses the POST method so I'd guess you're actually calling the index function. Have a look at the routes tab to see which actions use which methods. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to open a jQuery .dialog that contains the content of a .cfm file using Wheels. I initialize the dialog in a click handler. Then I try to load the file using urlFor() function to provide the URL to load.
In the parent .cfm file, I have:
In the controller, the last directive in the create() function is:
renderView(layout=false);If I call that route in a browser window, it works as expected. But when called from the load function, it opens the dialog but the file is picking up the default "layout.cfm" in the top view folder. I have specified for the action function being called to renderView with layout=false. But it appears to be ignored.
What am I missing here?
Beta Was this translation helpful? Give feedback.
All reactions