Say, has anyone got a minimal example of embedding AJAX into a CGI::APP,
preferably using some library to abstract the Javascript (CGI::Ajax or
SAJAX or something else) ?
http://search.cpan.org/~bct/CGI-Ajax-0.6/lib/CGI/Ajax.pm
I'd like a supercharged ajaxy version of this TreeTable
G'day,
My first post to this list :)
I'm aware of the HTMLPrototype plugin that uses the Prototype Javascript
library, however has anyone tried developing a plugin based on CGI::Ajax or
that doesn't rely upon particular libraries? I don't know what the Ajax
plugin linked-to via the cgiapp site
On Date: Thu, 19 Oct 2006 09:26:33 -0400, Bruce McKenzie [EMAIL PROTECTED]
wrote:
RA Jones wrote:
Having at last had some success with something AJAX-based (the demo
described in perl.com 'Using Ajax from Perl'), I now want to try and use
AJAX in my web apps. It looks like the necessary
Well, I'm not writing from experience since I have yet to find the time
to play with it, but Cees Hek's plugin for the HTML::Prototype library (
CGI::Application::Plugin::HTMLPrototype) supplies a JavaScript library
for doing Ajax stuff like autocomplete and plenty more. Don't know if
you could
Hi
How do I stop C:A outputting a template from a run-mode? This is for a
method which serves an AJAX call.
Thanks
Kropotkin
--
View this message in context:
http://www.nabble.com/Turning-off-Template-output-for-AJAX-tp21726620p21726620.html
Sent from the cgiapp@lists.erlbaum.net mailing
kropotkin wrote:
How do I stop C:A outputting a template from a run-mode? This is for a
method which serves an AJAX call.
C::A doesn't output a template by default. You must have some other plugin loaded that does that.
Besides, what does an AJAX call have to do with not using a template
Hi Lyle
I've written a new module, CGI::Application::Demo::Ajax, which is a
small search engine to retrieve records via Ajax and Json.
I'll document it next and release it to CPAN.
--
Ron Savage
r...@savage.net.au
http://savage.net.au/index.html
# CGI::Application community mailing list
kropotkin wrote:
I see - yes; I found the place in postrun where we are loading the layout
template and I just turn it off. I suppose you could use a template for AJAX
but since the body is no more than the AJAX response text I'm not sure I can
see the point
It depends on how complicated
On 05/18/2016 06:17, Brad Van Sickle wrote:
> I might be misunderstanding your problem... but why can't you use the
> CGI::App framework for this? An AJAX request is still a request after
> all.
*** An interesting thought. Instead of having lots of separate AJAX
server-side
files, I w
Hello All,
I have been using CGI::Application to run my homebrew LAMP tools for
several years. Now, I am starting to move away from a pure CGI
environment to a bit of AJAX. But I don't want to abandon CGIAPP - I
have a large investment in server-side code that uses it.
Getting
I am looking at the Ext Js 2.0 AJAX framework and it looks really good
(I also like jQuery). Is anybody working on an easy way to call Ext
stuff from Perl through CA?
Robert
# CGI::Application community mailing list
RA Jones wrote:
Is it possible to implement AJAX without learning javascript? Are there
any resources I could use to get going with CGI::Application? Finally
has the CAP::Ajax project has been abandoned?
AJAX commonly stands for Asynchronous Javascript and XML. Asynchronous isn't
always
Hey Tim --
Say, has anyone got a minimal example of embedding AJAX into
a CGI::APP,
preferably using some library to abstract the Javascript (CGI::Ajax or
SAJAX or something else) ?
I'm sure a few other people will email you examples of AJAX
implementations. I just wanted to make one
RA Jones wrote:
Having at last had some success with something AJAX-based (the demo
described in perl.com 'Using Ajax from Perl'), I now want to try and use
AJAX in my web apps. It looks like the necessary modules are CGI::Ajax
CAP::HTMLPrototype.
Well, in my experience, both CGI::Ajax
Cees Hek wrote:
I did a talk on AJAX and perl at YAPC Chicago [1] this year. The
slides for most of the talks are online [2], and I added links to my
slides [3] and source code [4].
Hi Cees, thanks I have downloaded the source code and am working my way
through the files. I cannot see any
I have a need to incorporate Ajax calls with JSON data into
our application. I was looking for something in terms of a piece
of starter code or a recipe. I didn't see anything on the website
related to it.
CGI Application seems like such a robust framework, that this should be
a natural fit
On Tue, Oct 18, 2005 at 11:55:15PM -0700, Tim Colson (tcolson) wrote:
Say, has anyone got a minimal example of embedding AJAX into a CGI::APP,
preferably using some library to abstract the Javascript (CGI::Ajax or
SAJAX or something else) ?
http://search.cpan.org/~bct/CGI-Ajax-0.6/lib/CGI
I've been using CGI::Ajax with CGI::Application, and I'm curious to know
what you have in mind. At the moment
I don't have a grasp of what the plugin would bring to the table. Perhaps
you could elaborate?
Well I was thinking of just making using CGI::Ajax via
CGI::Application more
?
(BTW, I'm not considering XML.)
Depends mostly on what the application you're writing does. One way of
doing it is to write the whole thing sans-ajax, e.g. have a runmode
that returns only a form and another that returns only the results of
that form, and then you can easily convert that to ajax
I'm interested in any feedback anyone might have for this module.
More information:
http://kemitix.net/bitware/2005/07/02/cgiapplicationpluginajax-v002/
Download the code, including demo:
http://kemitix.net/files/cgiapp/CGI-Application-Plugin-AJAX-0.02.tar.gz
###
The buzzword of the moment
Jesse Erlbaum wrote:
Hey Tim --
Say, has anyone got a minimal example of embedding AJAX into
a CGI::APP,
preferably using some library to abstract the Javascript (CGI::Ajax or
SAJAX or something else) ?
I'm sure a few other people will email you examples of AJAX
implementations. I
On Thu, 19 Oct 2006, Robert Hicks wrote:
Maybe someone with experience could update the CA site with an
example or two of doing this with CA?
You could just include a link to CGI::Application::Search - it has a
couple AJAX features which should be easy to follow.
-sam
On 1/29/09, kropotkin enquir...@mms-oxford.com wrote:
Hi
I see - yes; I found the place in postrun where we are loading the layout
template and I just turn it off. I suppose you could use a template for AJAX
but since the body is no more than the AJAX response text I'm not sure I can
I had on my todo list (for over a year) to add to the CA wiki a simple
example of using jQuery to make Ajax requests back to the server using a CA
backend. I finally wrote the 62 lines of code:
http://cgiapp.erlbaum.net/index.cgi?AjaxInfo
# CGI::Application community mailing list
On 2005-07-07, Michael Peters [EMAIL PROTECTED] wrote:
Would it be possible to combine this with the CAP::Ajax plugin? The
'Prototype' doesn't really fit. I severly doubt anyone looking for AJAX
helpers would look for it or know that they need to look at it.
I think there is an important
On Thursday 19 October 2006 11:12, RA Jones wrote:
Michael Peters wrote:
IMO, saying you want to learn AJAX without learning JS is like saying
you want to learn web programming without learning HTML and HTTP.
Sure there are probably frameworks out there that will hide those
details
Ron Savage wrote:
On Wed, 08 Nov 2006 20:43:36 +, RA Jones wrote:
Hi
Well, I could throw in a couple of (slightly off-topic) AJAX
questions if anyone cares to field them, or have we had enough of
that topic recently?
Throw them in (aka I'm bored...)!
That's what I wanted to hear
From: Stewart Heckenberg
Sent: Saturday, 30 December 2006 10:22 p.m.
I've been using CGI::Ajax with CGI::Application, and I'm curious to
know what you have in mind. At the moment I don't have a
grasp of what
the plugin would bring to the table. Perhaps you could elaborate?
Well I
Hi
I see - yes; I found the place in postrun where we are loading the layout
template and I just turn it off. I suppose you could use a template for AJAX
but since the body is no more than the AJAX response text I'm not sure I can
see the point
Thanks for the helpful response
Kroptokin
Hi Folks
On Thu, 2009-04-09 at 10:20 -0500, P Kishor wrote:
On Thu, Apr 9, 2009 at 9:53 AM, Lyle Brooks bro...@deseret.com wrote:
I have a need to incorporate Ajax calls with JSON data into
our application. I was looking for something in terms of a piece
of starter code or a recipe. I
really began to make sense when I was able to
take a working example and de-construct it line-by-line in my own
working environment, and I think the same will apply to AJAX. A working
example of a simple web app built around CGI::Application using AJAX
would be most helpful.
Maybe if you tell
wrote:
Hi
I see - yes; I found the place in postrun where we are loading the
layout
template and I just turn it off. I suppose you could use a template for
AJAX
but since the body is no more than the AJAX response text I'm not sure I
can
see the point
timtowdi, but, imo, using
From: Ron Savage [EMAIL PROTECTED]
I don't use timeout, I send every char back to a Perl module (RPC.pm),
which connects to the db, and then does:
Ron, since AJAX is asynchronous, what are the risks that typing savag
would result in 6 search results arriving back to the client out of order
Robert Hicks wrote:
I am looking at the Ext Js 2.0 AJAX framework and it looks really good
(I also like jQuery). Is anybody working on an easy way to call Ext
stuff from Perl through CA?
Ajax stuff is fun to do, but it's really no different from normal web work, at
least from a C
Hi fRew
I went for a simple solution. Our template is added in the postrun filter. I
set a property of the object to be 'ajax' rather than 'browser' in the class
and in post_run I just bail out if this property is 'ajax', not outputting a
template
Thanks
Justin
Frew Schmidt wrote:
On Thu
On Thu, Apr 9, 2009 at 9:53 AM, Lyle Brooks bro...@deseret.com wrote:
I have a need to incorporate Ajax calls with JSON data into
our application. I was looking for something in terms of a piece
of starter code or a recipe. I didn't see anything on the website
related to it.
CGI
On Sat, 17 Dec 2005 14:48:37 -0500, Bruce McKenzie wrote:
Hi Bruce
There was a thread here in October with a request for an example of
a simple implementation of CGI::App and Ajax. But then it went on
and got a little too complicated -- at least I don't see any
Yes, that's a pity.
I suggest
Thanks Fred -- that looks straightforward enough. However, the reason
I'm attracted to CGI::Ajax (formerly Perljax) is that (as I understand
the dox) you can do Ajax without knowing Javascript or XML :-)
The module is quite new, so if I manage to figure this out, maybe I'll
post my solution
Hi,
I use CGI::Application::Dispatch to avoid hidden runmodes.
CGI::Ajax (at least the way I use it) requires that you tell the form
which inputs to submit. So you could do something like this w/ Javascript:
(for the button):
onclick = return doGetDoctors();
And, assuming you've
-sum as the
10th digit. The whole application is delivered using CGI::Application
and Template via the CAP::AnyTemplate plugin, and I think some of the
problems I had involved header conflict issues between CGI::Ajax
CGI::Application (and some stupidity!), so the code below might require
- Original Message -
From: Mark Rajcok
To: [EMAIL PROTECTED]
Sent: Monday, November 27, 2006 9:54 PM
Subject: Re: [cgiapp] Returning multiple values with CGI::Ajax
In the template: [% IF ajax_js %] input class=text type=text
id=date name=date size=11 maxlength=10
queue that can run these processes and keep their status in a shared
location (like a DB, etc). Then your rm just adds a job to the queue and
returns. Then when you're checking on the status via Ajax you need to
have another rm that simply checks on the status of the job and returns
a flag
Cees Hek wrote:
With the new AJAX kick that everyone seems to be on (including me that
is), I did a little bit of playing with the HTML::Prototype library
which is a perl interface to the prototype.js library. This is the
library that Ruby On Rails uses for all of the fancy AJAX stuff
On 7/7/05, Michael Peters [EMAIL PROTECTED] wrote:
Would it be possible to combine this with the CAP::Ajax plugin? The
'Prototype' doesn't really fit. I severly doubt anyone looking for AJAX
helpers would look for it or know that they need to look at it.
To be honest, I haven't had a look
On Dec 17, 2005, at 1:48 PM, Bruce McKenzie wrote:
There was a thread here in October with a request for an example of a
simple implementation of CGI::App and Ajax. But then it went on and
got a little too complicated -- at least I don't see any
implementations simple enough for my skills
On 7/8/05, Mark Stosberg [EMAIL PROTECTED] wrote:
On 2005-07-07, Michael Peters [EMAIL PROTECTED] wrote:
Would it be possible to combine this with the CAP::Ajax plugin? The
'Prototype' doesn't really fit. I severly doubt anyone looking for AJAX
helpers would look for it or know
I completely agree. I wonder how hard this AJAX transition will be for
frameworks that rely on page-style sites.
I can see it now: A separate file for every function, and they will
love it.
(To be fair, in Java that will be three separate files for every
function, plus a big honkin' EJB
that the changes were processed by the script without redrawing
the page. I think this probably isn't difficult, but I can't seem to
sort out who does what, when and where.
Here's what I tried:
# run mode in WebApp.pm
sub display_test_form {
my $self = shift;
use CGI::Ajax;
my $url
On Thursday 12 October 2006 09:01, Robert Hicks wrote:
I know this is sad.
What is the term I should be looking for when I want to bring back only
the associated records with a drop down selection?
I assume you mean What AJAX command do I use?. That depends on the
javascript framework you
Sean Davis wrote:
On Thursday 12 October 2006 09:01, Robert Hicks wrote:
I know this is sad.
What is the term I should be looking for when I want to bring back only
the associated records with a drop down selection?
I assume you mean What AJAX command do I use?. That depends
XML::Tiny that is supposed to be much smaller, use
less memory and just use core modules. It might be worth checking out.
But these days I actually use mostly JSON to send data to Ajax applications.
Much faster and much easier imo.
--
Michael Peters
Developer
Plus Three, LP
With the new AJAX kick that everyone seems to be on (including me that
is), I did a little bit of playing with the HTML::Prototype library
which is a perl interface to the prototype.js library. This is the
library that Ruby On Rails uses for all of the fancy AJAX stuff that
they have been hyping
Has anyone tried using AJAX/JSON in a scenario like this? tim/
--
Timothy Appnel
Appnel Solutions
http://www.appnel.com/
-
Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
http
necessary. AJAX requests from the
browser are identical to normal requests. But they usually do something
different with that data. For instance, a normal form submission will send the
info the server and the server will return a full HTML document.
A form submitted with an AJAX request will send
Maybe someone with experience could update the CA site with an example
or two of doing this with CA?
Robert
-
Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
Hi Bruce,
Bruce McKenzie [EMAIL PROTECTED] wrote:
What I want to do is return XML (as an Ajax response) to the jQuery
Interface library Autocomplete plugin [...]
Of the modules on CPAN that could produce this XML structure, which
would be *easiest* to use? Do I need to change the headers
something as simple as Unix at for a simple queue would be better.
On a related note, is there a way to have cgiapp send content back to
the client during the processing of a run mode instead of at the end
when the rm returns?
No, not for Ajax. And it's not a limitation of cgiapp, but of HTTP/Ajax
RA Jones wrote:
Ron Savage wrote:
On Wed, 08 Nov 2006 20:43:36 +, RA Jones wrote:
Hi
Well, I could throw in a couple of (slightly off-topic) AJAX
questions if anyone cares to field them, or have we had enough of
that topic recently?
Throw them in (aka I'm bored...)!
That's what
On 5/21/06, Dan Horne [EMAIL PROTECTED] wrote:
From: Cees Hek [mailto:[EMAIL PROTECTED]
http://cees.crtconsulting.ca/perl/examples/podviewer/
That's nice, Cees. As with many people, my interest in Ajax has been aroused
with all of the press it has been receiving, buI've never been clear
will apply to AJAX. A working
example of a simple web app built around CGI::Application using AJAX
would be most helpful.
I did a talk on AJAX and perl at YAPC Chicago [1] this year. The
slides for most of the talks are online [2], and I added links to my
slides [3] and source code [4
to
escape $ in TT2 so that it appears as $(variable) in javascript.
Ben
On Jan 29, 2008, at 6:29 AM, Michael Peters wrote:
Robert Hicks wrote:
I am looking at the Ext Js 2.0 AJAX framework and it looks really
good
(I also like jQuery). Is anybody working on an easy way to call Ext
stuff from
...@deseret.com wrote:
I have a need to incorporate Ajax calls with JSON data into
our application. I was looking for something in terms of a piece
of starter code or a recipe. I didn't see anything on the website
related to it.
CGI Application seems like such a robust framework
?
-
use WWW::AJAX::Simple;
my $app = WWW::AJAX::Simple-new();
$app-expose_function( 'multiply' );
$app-run();
-
That was my initial take, but having it as a Plugin sounds tastier
On 07/07/05, Cees Hek [EMAIL PROTECTED] wrote:
On 7/7/05, Michael Peters [EMAIL PROTECTED] wrote:
Would it be possible to combine this with the CAP::Ajax plugin? The
'Prototype' doesn't really fit. I severly doubt anyone looking for AJAX
helpers would look for it or know that they need
on sites that have some dynamic stuff happening in navs and sidebars.
I'd like this worked, and fell back to the current way if the browser is
detected not to be able to handle the AJAX.
This should be just a simple Javascript test before using the Ajax
facilities of the Prototype
- Original Message -
From: Bruce McKenzie [EMAIL PROTECTED]
To: Jonathan Mangin [EMAIL PROTECTED]
Cc: cgiapp@lists.erlbaum.net
Sent: Tuesday, November 21, 2006 4:22 PM
Subject: Re: [cgiapp] Returning multiple values with CGI::Ajax
Maybe I'm misreading what's you're trying to do
Very Fine Work.
Thanks for contributing this to the community.
Cheers
--Fred
-Original Message-
From: Steve Comrie [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 10:54 AM
To: cgiapp@lists.erlbaum.net
Subject: [cgiapp] XMLHTTPRequest / Remote Scripting / AJAX
Good
Hi all,
If you haven't heard of XMLHTTPReqeust aka Remote Scripting aka AJAX
it's basically a way for web pages to communicate with the server and
return information through JavaScript without having to refresh the
page.
For those interested in using JavaScript to update parts of the page
On Wed, 19 Oct 2005 19:35:07 -0700, Mark Fuller wrote:
Hi Mark
Ron, since AJAX is asynchronous, what are the risks that typing
savag would result in 6 search results arriving back to the
client out of order? (Maybe a search request reaches the server
Well, yes, that may be possible
Here is a simple implementation of a form created with CGI::Appication,
Template-Toolkit, and CGI::Ajax that will process changed fields without
submitting and re-drawing the form.
Thanks to all for your help.
Cheers,
Bruce
webapp pl ##
#!/usr/bin/perl
use WebApp;
my
://cees.crtconsulting.ca/perl/examples/podviewer/
That's nice, Cees. As with many people, my interest in Ajax has been aroused
with all of the press it has been receiving, buI've never been clear about
the best way to start (Should I use Prototype, or CGI::Ajax? How do I
integrate with CGI::App? How much
it not. ; )
Javascript is the cool way of doing it and does not necessarily
require a round-trip to the server, but could (and if it were done, this
is what people commonly call AJAX).
The other way is to use an onChange attribute of the first combo box to
submit the form back to the server
is the biggest one) but they aren't centralized and
sometimes hard to find.
Dojo is another popular alternative that seems to be more modular and have a
more centralized community.
But either way, if you're going to get into Ajax, don't be scared of Javascript.
Any wrappers that exist (like HTML
On Thursday 12 October 2006 10:33, Michael Peters wrote:
Robert Hicks wrote:
It will probably be prototype since there is a CA plugin for it. Do you
have a recommendation?
But either way, if you're going to get into Ajax, don't be scared of
Javascript. Any wrappers that exist (like HTML
Michael Peters wrote:
IMO, saying you want to learn AJAX without learning JS is like saying
you want to learn web programming without learning HTML and HTTP.
Sure there are probably frameworks out there that will hide those
details from you, but sooner or later you're gonna have to get your
Jonathan Mangin wrote:
Well, just to finish the story...
I needed to register the subs this way.
They also need to be defined as run_modes in setup.
my $activity_url = 'fitness.pl?rm=getActivity';
my $daily_url = 'fitness.pl?rm=dispDaily';
my $pjx = new CGI::Ajax('getActivity
OK, so I'm way behind the rest of the world when it comes to XML -- but
I am using CGI::Application -- so how hard could it be to catch up? :-)
What I want to do is return XML (as an Ajax response) to the jQuery
Interface library Autocomplete plugin.
In the plugin documentation example, data
, but as far as I can tell, it's only a
parser, and it doesn't emit XML. For reading XML it might very well be a more
light-weight alternative.
But these days I actually use mostly JSON to send data to Ajax applications.
Much faster and much easier imo.
I have to agree with that. It takes less
Bruce McKenzie wrote:
OK, so I'm way behind the rest of the world when it comes to XML -- but
I am using CGI::Application -- so how hard could it be to catch up? :-)
What I want to do is return XML (as an Ajax response) to the jQuery
Interface library Autocomplete plugin.
In the plugin
heard about the new XML::Tiny that is supposed to be much smaller, use
less memory and just use core modules. It might be worth checking out.
But these days I actually use mostly JSON to send data to Ajax applications.
Much faster and much easier imo.
I have read a few posts lately about XML
I
could do:
My::Dispatcher-dispatch(
prefix = 'My::App::Dashboard',
table = [
qr|/| = { app = 'Home' },
qr|/login| = { app = 'Login::Ajax' },
],
);
Clayton
On 2005-03-10, Steve Comrie [EMAIL PROTECTED] wrote:
That URL again is: http://www.unobserved.org/misc/rs/
Thanks for sharing this.
It seems to have brought my computer to crawl, though. After loading it,
the CPU went to 100%, 99% of which was being used by Firefox.
Coincidence?
Mark
On Tue, 18 Oct 2005 23:55:15 -0700, Tim Colson \(tcolson\) wrote:
Hi Tim
Of course, you could always try CGI::Explorer:
http://search.cpan.org/~rsavage/CGI-Explorer-2.05/
--
Cheers
Ron Savage, [EMAIL PROTECTED] on 19/10/2005
http://savage.net.au/index.html
Let the record show: Microsoft is not
On Thu, 20 Oct 2005 03:46:43 +0200, Rhesa Rozendaal wrote:
Hi Rhesa
Isn't your like case-insensitive? I guess that might depend on
the database engine.
Under MySQL yes, but the code (also) runs primarily under Postgres.
--
Cheers
Ron Savage, [EMAIL PROTECTED] on 20/10/2005
On Sat, 21 Oct 2006 21:04:22 +0100, RA Jones wrote:
Hi Richard
Predictably, and disappointingly:
Content-Type: text/html; charset=ISO-8859-1 Fred
I see this in the docs for CGI::Ajax:
-8-
We have added Isupport for other CGI handler/decoder modules,like
LCGI::Simple or LCGI::Minimal
[EMAIL PROTECTED] wrote:
Is this list still active, or has my workplace started to filter
this...
Well, I could throw in a couple of (slightly off-topic) AJAX questions
if anyone cares to field them, or have we had enough of that topic recently?
--
Richard Jones
Leeds, UK
mailto:[EMAIL
This question would actually sort of fit into the Ajax thread which is
under the subject Test 2 - is this thing on :-)
Anyway, should I be changing the header type when returning JSON or
something other than HTML from CAP?
Thx,
Bruce
--
http://www.2MinuteExplainer.com
I am being contracted for a small site for a friend. It is maybe 5-7
pages and probably 1 form and some AJAX sprinkled in.
While I really love CA (I use it at work) I am wondering if this is too
small to use Perl/CGI/CA for?
Thoughts?
Robert
hi
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hicks
I have read a few posts lately about XML::Simple and you do not want
to use
it for large amounts of data.
for any big XML stuff with more than one programmer, i'd head toward
XML::LibXML, faster with excellent DOM support.
--
Hi All,
Can anyone recommend a method or point me to some examples for testing
CGI::App run modes?
Our app is getting ever more complex and could really do with some
automated tests. I'm able to build tests against the MCV 'model'
classes, but not the controllers or views (never mind the ajax
Hi Steve,
-Original Message-
If you haven't heard of XMLHTTPReqeust aka Remote Scripting aka AJAX it's
basically a way for web pages to communicate with the server and return
information through JavaScript without having to refresh the page.
Very cool stuff indeed.
I converted
Hello all,
I'm in the process of adding some AJAX sugar to C::A::Search and wanted
to throw out my initial ideas and also see what others would like to
have as well. I'm planning on adding the following:
+ No page reload for results. After pressing the 'submit' button (or one
of the page links
some dynamic stuff happening in navs and sidebars.
I'd like this worked, and fell back to the current way if the browser is
detected not to be able to handle the AJAX.
+ Auto-Complete/Suggest search field. As the user types they will see
suggestions of what to search for (similar to Google
Then do have a look at HTML::Prototype. Prototype is a great JS
library that has many AJAX type functions. HTML::Prototype is a perl
wrapper for that library. There is also
CGI::Application::Plugin::HTMLPrototype.
Barry
On Oct 10, 2006, at 6:02 PM, Robert Hicks wrote:
Sean Davis
Michael Peters wrote:
Not to add too much to your plate, but you'll also need to use a browser that
has decent debugging tools. I prefer firefox, but some people pay for visual
studio and use IE.
With Firefox, my Ajax debugging goes something like this:
If it's not doing anything, then open up
I'm writing a new CGI app, and decided to go web 2.0 -- i.e., use Ajax
to update parts of the page, trying to never load an entirely new
page.
I'm at a crossroad:
should the CAP-based back-end normally return
JSON data (and let the javascript library (I've decided on jQuery)
place and format
I have a need to incorporate Ajax calls with JSON data into
our application. I was looking for something in terms of a piece
of starter code or a recipe. I didn't see anything on the website
related to it.
CGI Application seems like such a robust framework, that this should be
a natural
and I'll have to wait
until I get our IT crew to understand and help with the email problem.
(don't ask)
On a related note, is there a way to have cgiapp send content back
to
the client during the processing of a run mode instead of at the end
when the rm returns?
No, not for Ajax
. Not the element
you're validating.
Not to add too much to your plate, but you'll also need to use a browser that
has decent debugging tools. I prefer firefox, but some people pay for visual
studio and use IE.
With Firefox, my Ajax debugging goes something like this:
If it's not doing anything
Michael Peters wrote:
I'm not sure I completely understand what you're looking for here, but if you
want an Ajax call to submit back to the same url you're page is coming from,
then window.location will contain that.
The problem does not arise with CGI::AJAX as it is mostly Perl-driven
and I
1 - 100 of 211 matches
Mail list logo