Re: Bending Jasper to My Will

2008-04-25 Thread Gennis Emerson
Andy Clark wrote: I want Jasper to look for JSP and Tag files in a specific location (e.g. based on a request param); and then fall back to a default location if the file is not found. This would be extremely useful for skinning a webapp. We do something a little like this in a database

Re: Bending Jasper to My Will

2008-04-22 Thread Andy Clark
Hassan wrote: I think that this is a non-starter because the app is already written (quite nicely, I might add) in straight JSPs. If it's already quite nicely written, why doesn't it do what you want? :-) Excellent point! But ultimately there are limitations in the extensibility of the

Re: Bending Jasper to My Will

2008-04-22 Thread Andy Clark
Lucas wrote: To answer the original question, there is a mechanism that Tomcat provides to handle the specific thing you want to achieve. The solution is very Tomcat specific, so I do not really recommend it, anyhow, if you really _need_to_have _this_ then the way to achieve it is the

Re: Bending Jasper to My Will

2008-04-22 Thread Alan Chaney
Andy I've followed this thread with a some interest because it ties up with some things I've done in the past. I think you are trying to use a technology in an inappropriate way to solve the wrong problem. Correct me if I am wrong but you want to have a level of configuration which is more

Re: Bending Jasper to My Will

2008-04-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy, Andy Clark wrote: | I want Jasper to look for JSP and Tag files in a | specific location (e.g. based on a request param); | and then fall back to a default location if the | file is not found. This would be extremely useful | for skinning a

Re: Re: Bending Jasper to My Will

2008-04-22 Thread Andy Clark
Alan Chaney wrote: Correct me if I am wrong but you want to have a level of configuration which is more than just appearance. It's mostly for appearance but that also ties in with functionality. For example, if a page displays the preferences that a user can change, a skin author can change

Re: Bending Jasper to My Will

2008-04-21 Thread Andy Clark
Pid wrote: Andy Clark wrote: I want Jasper to look for JSP and Tag files in a specific location (e.g. based on a request param); and then fall back to a default location if the file is not found. This would be extremely useful for skinning a webapp. Cascading Style Sheets are an even

Re: Bending Jasper to My Will

2008-04-21 Thread Antonio Petrelli
2008/4/19, Andy Clark [EMAIL PROTECTED]: I want Jasper to look for JSP and Tag files in a specific location (e.g. based on a request param); and then fall back to a default location if the file is not found. This would be extremely useful for skinning a webapp. Must you really use JSP?

RE: Bending Jasper to My Will

2008-04-21 Thread Litton, Tom - CEPM
use one of those frameworks and extend the action servlet to forward the request to the correct jsp? -Original Message- From: Andy Clark [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 1:44 PM To: users@tomcat.apache.org Subject: Re: Bending Jasper to My Will Pid wrote: Andy Clark

Re: Bending Jasper to My Will

2008-04-21 Thread Len Popp
On Mon, Apr 21, 2008 at 2:43 PM, Andy Clark [EMAIL PROTECTED] wrote: Pid wrote: Andy Clark wrote: I want Jasper to look for JSP and Tag files in a specific location (e.g. based on a request param); and then fall back to a default location if the file is not found. This

Re: Bending Jasper to My Will

2008-04-21 Thread Martin Gainty
://raibledesigns.com/rd/entry/script_aculo_us_vs_dojo HTH Martin - Original Message - From: Andy Clark [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, April 21, 2008 2:43 PM Subject: Re: Bending Jasper to My Will Pid wrote: Andy Clark wrote: I want Jasper to look for JSP and Tag files

Re: Bending Jasper to My Will

2008-04-21 Thread Andy Clark
Thanks for everyone with their quick responses to my query regarding how to override tags/JSP files. My initial posts on the subject can be found here: http://mail-archives.apache.org/mod_mbox/tomcat-users/200804.mbox/[EMAIL PROTECTED]

Re: Bending Jasper to My Will

2008-04-21 Thread Robert Koberg
On Mon, 2008-04-21 at 19:16 -0700, Andy Clark wrote: Notice that the JSP/tag files that compose the response are a mixture of the default ones and the custom ones that the skin overrides. Skin authors should not have to make complete copies of the default skin tree in order to edit only a

Re: Bending Jasper to My Will

2008-04-21 Thread Hassan Schroeder
On Mon, Apr 21, 2008 at 7:16 PM, Andy Clark [EMAIL PROTECTED] wrote: Many people suggested that I try various frameworks for the application because they contain template engines that may work for my purpose. Unfortunately, I think that this is a non-starter because the app is already

Re: Bending Jasper to My Will

2008-04-21 Thread Lucas Galfaso
Hi All, To answer the original question, there is a mechanism that Tomcat provides to handle the specific thing you want to achieve. The solution is very Tomcat specific, so I do not really recommend it, anyhow, if you really _need_to_have_this_ then the way to achieve it is the following: -

Re: Bending Jasper to My Will

2008-04-21 Thread Lucas Galfaso
Ahh, just one more thing, do not even try to modify Jasper itself unless you know what you are doing; Most people experimenting with Jasper end up in nothing. - lg On Tue, Apr 22, 2008 at 1:40 AM, Lucas Galfaso [EMAIL PROTECTED] wrote: Hi All, To answer the original question, there is a

Re: Bending Jasper to My Will

2008-04-19 Thread Pid
Andy Clark wrote: I have been going through the Jasper source code to figure out how to make it do what I want but have been unsuccessful. So I thought I would ask the experts. (Please let me know if there is a better forum for this particular question.) I want Jasper to look for JSP and Tag

Re: Bending Jasper to My Will

2008-04-19 Thread Martin Gainty
/Util.html HTH Martin - Original Message - From: Pid [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, April 19, 2008 4:33 AM Subject: Re: Bending Jasper to My Will Andy Clark wrote: I have been going through the Jasper source code to figure out how to make

Bending Jasper to My Will

2008-04-18 Thread Andy Clark
I have been going through the Jasper source code to figure out how to make it do what I want but have been unsuccessful. So I thought I would ask the experts. (Please let me know if there is a better forum for this particular question.) I want Jasper to look for JSP and Tag files in a specific