I couldn't understand your setup clearly: what's the name of the
controller file, the controller function, the views file ... Check
that these are what they are supposed to be. You say you got an
exception when ajax=False. What was the exception?

On Jul 12, 5:43 pm, Cliff <cjk...@gmail.com> wrote:
> Running Version 1.97.1 (2011-06-26 19:25:44)
>
> First problem:
> This is a snippet from a view file.  It works except that it displays
> the output of the quals function.  Apparently it cannot find my
> quals.load file and is using the generic load file in its place.
>
> <div id="tabs-3">
>                     {{=LOAD(c='users',f='quals.load',
> extension='load', args=(request.args(0)),
>                     ajax=True, target='tabs-3')}}
>                 </div>
>
> As you can see, the controller is 'users.'  The 'quals.load' file is
> in the 'views/users' directory, i.e. views/users/quals.load.
>
> There's not much in quals.load.  Here's the whole thing:
>
> <h3>Qualifications required by the plan.</h3>
> <p>Hello, world.</p>
> {{=myreturn}}
>
> myreturn is the output from the quals function in the users
> controller.
>
> Anybody got a clue as to what's happening?
>
> Second problem:
> In trying to find out if setting ajax to True was causing my first
> problem, I stumbled over a second.  Setting 'ajax=False' or not
> setting ajax at all causes an exception.  Could this be a bug?  If so,
> please let me know where and how to report the thing.  It's totally
> reproducible on my system.

Reply via email to