Hi Prakash Like you I have an application that uses C::A and H::T, but have encountered some instances where Template Toolkit suited me better. Michael Graham's GGI::Application::Plugin::AnyTemplate has allowed me to begin migrating to TT with only the slightest changes to Perl my code (such as defining both H::T and TT defaults in my base class's cgiapp_init and then deciding which system I invoke. My template calls haven't changed.
Dan > -----Original Message----- > From: Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco) > [mailto:[EMAIL PROTECTED] > Sent: Monday, 22 May 2006 3:08 a.m. > To: Cees Hek > Cc: [email protected] > Subject: RE: [cgiapp] Re: Help with > CGI::Application::Plugin::HTMLPrototype > > Hi Cees, > > Yes, you are correct. Thanks. I already have a full blown Application > developed using CAP and H::T. So using Template Toolkit right now is not > an option for me. Now I am adding a page that has a select box with > 60,000+ names stored in Oracle database that needs to be shown as > dropdown options. So started looking at these Modules and AJAX. My idea > is to provide a text field and a button. After user enters a few > characters and clicks the button, I intend to populate the select drop > down with names matching the text field entry. I am still at a learning > phase so any ideas or sample code to accomplish this in CAP and H:;T > would be a great help. > > > Thanks in advance > Prakash > > -----Original Message----- > From: Cees Hek [mailto:[EMAIL PROTECTED] > Sent: Saturday, May 20, 2006 8:18 AM > To: Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco) > Cc: [email protected] > Subject: Re: [cgiapp] Re: Help with > CGI::Application::Plugin::HTMLPrototype > > On 5/20/06, Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco) > <[EMAIL PROTECTED]> wrote: > > Hi Mark, > > > > I did not realize I had to install prototype and sciptaculous > > javascripts. DAH. I got this example working. Now on to the next > > experiment. > > You should only have to install HTML::Prototype, which includes the > prototype and scriptaculous javascript libraries in the source. > > > I finally got around to trying this and looked up your email for help. > > Wherever I put <!-- tmpl_var c.prototype.define_javascript_functions > > --> declaration, GUI shows HTML::Prototype=HASH(0x101be00). I have no > > idea about what's happening. I had to install quite a few dependent > > modules while installing CAP::HTMLPrototype and CAP::HTDot. Would this > > > be because some module is not installed properly. Also when I click on > > > 'Extra Info', I get a JavaScript error saying 'Effect is undefined'. > > Could you help me understand the issue please. > > I have never used the CAP::HTDot plugin, so I am not sure if > CAP::HTMLPrototype works with it properly. However, it works > wonderfully well with Template Toolkit and the CAP::TT plugin. > > Cheers, > > Cees > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- 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]
