----- Original Message -----
From: "RA Jones" <[EMAIL PROTECTED]>
To: "List - CGI-Application" <[email protected]>
Sent: Saturday, October 21, 2006 4:04 PM
Subject: Re: [cgiapp] CGI::App & CGI:Ajax nearly working - please help with
last bit
> Bruce McKenzie wrote:
> > I agree you'd be better off without CGI::Ajax -- doing it yourself (with
> > the help of jQuery or Prototype) is much easier and more fun, because
> > you can see what you're doing.
> Perhaps so, but the j/s produced by CGI::Ajax for this script fills a
> screen even without any line-breaks and formatting, and it would be eons
> before I could write anything like that. Needless to say I don't have
> the remotest idea what it's doing.
>
> > If you set the perl sub to
> >
> > sub validate_nhso{
> > return 'Fred' ;
> > }
> >
> > what happens?
> >
> Predictably, and disappointingly:
> Content-Type: text/html; charset=ISO-8859-1 Fred
>
> Which means the easiest to fix - my validation sub - is not the cause of
> the problem.
> --
> Richard Jones
> Leeds, UK
> mailto:[EMAIL PROTECTED]
>
The examples I followed have this in the template:
[% page_js = BLOCK %]
[% ajax_js %]
[% END %]
<html>
<head>
[% page_js %]
I haven't seen you mention it, so I thought I'd ask?
--Jon
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]