RE: [htmltmpl] Sub-Classing HTML::Template v2.7

2005-03-04 Thread Cory Trese
herwise. I have no production code to test compatibility with HTML::Template::Expr so I cannot state if this type of change will work for everyone trying to sub-class HTML::Template. However, I do know that making this change caused my sub-classes to completely work and I am very happy about th

[htmltmpl] Sub-Classing HTML::Template v2.7

2005-03-04 Thread Cory Trese
Hello, >From some previous traffic on this list, Sam Tregar said: |> Ultimately HTML::Template v2 doesn't offer much in terms of |> official support for sub-classes and extensions. That's a |> deficiency I intend to address in the perpetually-delayed v3. I am trying to create a sub-class of

RE: [htmltmpl] Thoughts on SSL

2003-06-30 Thread Cory Trese
CSS, ect are all fetched via a secure link (all in the template here, unless you use another to store the href to use, like we do). Sincerely, Cory Trese Lead Web Application Developer O'NEIL & ASSOCIATES, INC. 495 Byers Rd. Miamisburg, Ohio 45342-3662 Phone: (937) 865-0846 ext.

RE: [htmltmpl] catch the carp::croak() death...

2003-06-27 Thread Cory Trese
Hello, a suggestion: Wrap your calls in 'load_tmpl( )' and then do my $ht = $self->load_tmpl(...) or my_error_handling_routine(...); Use the eval call in load_tmpl( ) to determine if you return false or true. Just the way I would do it ... Sincerely, Cory Trese Lead We

[htmltmpl] Param( ) Method and Default= Attribute ... ?

2003-05-29 Thread Cory Trese
HTML::Template built from source with Visual Studio. I have included by call to the HTML::Template constructor in case access to the default values via param( ) is somehow controlled by new( ) arguments. Thanks in advance. Cory Trese Lead Web Application Developer O'NEIL & ASSOCIATES,

RE: [htmltmpl] Module

2003-03-18 Thread Cory Trese
General CPAN FAQ: http://www.cpan.org/misc/cpan-faq.html (See: http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules ) Also, PPM (if you are unfortunate enough to have to use windows): http://aspn.activestate.com/ASPN/Products/ActivePerl-5.6/faq/ActivePerl-faq2 .html My personal adv

RE: [htmltmpl] A newbie question

2003-03-03 Thread Cory Trese
You should look at CGI::Application, a web application toolkit that integrates very well with HTML::Template. Party on, Cory -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brad Cathey Sent: Monday, March 03, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: [ht

RE: [htmltmpl] Trimming whitespace

2003-02-10 Thread Cory Trese
Images, Tables, Forms ... another problem format, which is often created by DreamWeaver, and can be removed with HTML::Clean AFAIK. -- Cory > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Drew Taylor > Sent: Monday, February 10, 2003 11:05

[htmltmpl] TMPL_VAR, ESCAPE="HTML" ... what about UNESCAPE="HTML"?

2003-01-21 Thread Cory Trese
y been escaped) and placing it into HTML::Template. Does anyone else see a need for a two way character escaping mechanism? Thanks, Cory Trese Lead Web Application Developer O'NEIL & ASSOCIATES, INC. 495 Byers Rd. Miamisburg, Ohio 45342-3662 Phone: (937) 865-0800 ext.

RE: [htmltmpl] Slow CGI when linking to a CSS or JS

2003-01-20 Thread Cory Trese
eferences to the external Javascript or Cascading Style Sheet > file from > > the HTML template, the CGI runs fast; with the external files, really > > slow. Is there anything I'm doing wrong, or has anyone else > experienced > > this? I assume you mean it takes a lot le

RE: [htmltmpl] TMPL_INCLUDE and TMPL_VAR !??

2002-12-26 Thread Cory Trese
Hello, You can achieve the same results by using two HTML::Template objects. start fake code: my $t = HTML::Template->new( "foo.html" ); my $i = HTML::Template->new( "inner.html" ); $t->param( INNER => $i->output( ) ); : end fake code Thanks, Cory T

[htmltmpl] Using HTML::Template to cache text for performance?

2002-12-19 Thread Cory Trese
, Cory Trese Lead Web Application Developer O'NEIL & ASSOCIATES, INC. 495 Byers Rd. Miamisburg, Ohio 45342-3662 Phone: (937) 865-0800 ext. 3038 Fax: (937) 865-5858 E-mail: [EMAIL PROTECTED] --- This SF.NET email is sponsored by:

RE: [htmltmpl] ElseIF syntax...

2002-11-20 Thread Cory Trese
My thought: However, generating these messages in-code makes the component's interface far harder to internationalize, IMHO. However, in a situation where you have hundreds of error messages, in template errors would be very difficult to maintain. -- Cory > -Original Message- > From:

RE: [htmltmpl] Include namespaces

2002-10-17 Thread Cory Trese
shed via "associate". Our development group has fastidiously avoided the use of "include". We have been able to develop our entire solution without a single include using standard HTML::Template, "associate" and the method Sam points out. -- Cory Trese Cory Trese

RE: [htmltmpl] Error code.

2002-10-10 Thread Cory Trese
> > Ironically, if memory serves me right, I think that the tag > attributes are case INsensitive no? True, unless overridden in the constructor. -- Cory --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkg

RE: [htmltmpl] HTML::Template & XSLT/XML

2002-09-24 Thread Cory Trese
True or false : Filters damage caching performance? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Sam > Tregar > Sent: Tuesday, September 24, 2002 1:49 PM > To: Sean P. Scanlon > Cc: [EMAIL PROTECTED] > Subject: Re: [htmltmpl] HTML::Template & XS

[htmltmpl] HTML::Template & XSLT/XML

2002-09-23 Thread Cory Trese
HTML::Template Users: Anyone considered a way to generate HTML::Templates with XSLT/XML? I cannot create the construct, it is invalid. FOO does not work. Neither does Thoughts? Either on the constructs I'm trying to create with the XSLT, or in a way to make HTML::Template work with an XML

RE: [htmltmpl] CSS in a Template

2002-09-17 Thread Cory Trese
Here is my HTML::Template header that contains a CSS link. -- Cory > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Will > Sent: Tuesday, September 17, 2002 1:16 PM > To: HTML Template > Subject: [htmltmpl] CSS in a Template > > > Greets All, >

[htmltmpl] HTML::Template::Xpath .... ?

2002-09-05 Thread Cory Trese
I've been playing with : http://search.cpan.org/author/TJMATHER/HTML-Template-XPath-0.10/lib/HTML/Tem plate/XPath.pm For a few days. Pretty cool -- claims to be based on HTML::Template, but uses 'CONTENT_VAR' and 'CONTENT_LOOP' instead of the (insert praise here) 'TMPL_VAR' and 'TMPL_LOOP' nam

RE: [htmltmpl] Dynamic TMPL_VAR names? Is it possible?

2002-08-13 Thread Cory Trese
You need a loop. See the HTML::Template docs on LOOPS. "> You pass a loop (AKA, "sites => \@sites_array_of_hashref," ) with the necessary sites. This loop construction is business-logic (we would use a module that prepared an array of hashrefs from a DBI routine.) > -Original Messag

RE: [htmltmpl] Opinions please - designing forms in H::T

2002-08-02 Thread Cory Trese
> Now my question... what do you folks think? Am I > being too stubborn here, or should I learn the CGI on > form writing? Maybe it would just be easiest to > design my forms in DW and then set them into H::T? Is > this recommended? What are the pros and cons of this > approach? We are here b

RE: [htmltmpl] Confusion

2002-07-28 Thread Cory Trese
This is a feature, trust me. CGI::Application, and many other modules all have param( ) methods. This (for one) allows them to communicate with each other, (for two) lets us remember only one interface to objects. To avoid confusion, name your objects well in your code. Maybe it is just us but

RE: [htmltmpl] placing .tmpl files in a subdirectory?

2002-07-02 Thread Cory Trese
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Keith Jackson > Sent: Tuesday, July 02, 2002 5:24 PM > To: Will > Cc: HTML Template > Subject: Re: [htmltmpl] placing .tmpl files in a subdirectory? > Just to add my method : > > What we do is to p

RE: [htmltmpl] html-template-java

2002-06-30 Thread Cory Trese
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Ralf Ullrich > > > Hi Philip, > > thanks for your help. > > - Original Message - > > 2.: a servlet class that reads it template via getPathTranslated(). The > template is parsed correctly an