Just a small question out of topic : Nathan, are you far from a specific tiles mailing list?
c Le mardi 16 janvier 2007 à 08:51 -0800, John Eichelsdorfer (JIRA) a écrit : > [ > https://issues.apache.org/jira/browse/VELTOOLS-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465209 > ] > > John Eichelsdorfer commented on VELTOOLS-64: > -------------------------------------------- > > I think I mentioned the exact versions of things except for Struts and Tiles. > My struts is not a latest, but I don't remember the exact version here. > > The thing is, I took the same exact war for http://www.jobbank.com that > works on straight Tomcat 5.5 and placed it in Geronimo 1.1.1. It worked > perfectly in the one and failed as shown in the other in only that way. You > can see this working in production if you go to the site. > > As I am not in front of that code at the moment I can't look into it right > now, but I will try to give more particulars tonight or tomorrow including a > bigger code snippet. The partial code above is correct though as I cut and > pasted it. > > > > Geronimo 1.1.1 with Tomcat install fails to render links correctly > > ------------------------------------------------------------------ > > > > Key: VELTOOLS-64 > > URL: https://issues.apache.org/jira/browse/VELTOOLS-64 > > Project: Velocity Tools > > Issue Type: Bug > > Components: VelocityStruts > > Affects Versions: 1.2 > > Reporter: John Eichelsdorfer > > Priority: Critical > > Fix For: 1.3 > > > > > > I have been using VelocityTools for years and have a project successfully > > running in production on standalone Tomcat 5.5. When I run the same war > > file on Geronimo 1.1.1, links do not render correctly. Geronimo also uses > > a 5.5 version of Tomcat in the standard distribution I am using. > > I am using Velocity 1.5 beta 1 and VelocityTools 1.2 from Maven. > > Given the following code that is parsed into a main file: > > <a > > href="$link.setAction('/pub/jobpost/list/submit').addQueryData("c","$!countrySel").addQueryData("r","$!pop.popId")">$!pop.popName > > Jobs</a> > > On Tomcat 5.5 standalone get: > > http://www.jobbank.com/action/pub/jobpost/list/submit?c=US&r=CA > > On Geronimo 1.1.1 with the same war file, we get: > > http://action/pub/jobpost/list/submit?c=US&r=CA > > The only difference obviously is the lack of domain name. Other links seem > > to work correctly that are referenced with an absolute path. For example: > > <a href="/action/exec/resume/choice/setup" title="Click here"> > > shows the correct hostname in the front. > > I was using a non-beta velocity, but moved up to using the beta to rule out > > this being the issue. I also did a search on the Geronimo distribution > > for any other file matching "velocity" but came up empty. > > I am not in a rush for this fix, but I think it is important to know that > > it will work in a next 1.5 Velocity release else people will be constantly > > using snapshots rather then a steady 1.5 build if this is where the problem > > lies. > > I am hoping it is somehow just a configuration issue, though I am using the > > most basic Geronimo setup. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]