DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24963>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24963 Velocity reference problem in navigation file Summary: Velocity reference problem in navigation file Product: Jetspeed Version: 1.5-dev / CVS Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Velocity AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In one of my portals in top.vm I've added another velocity reference to extract from a properties file. And when I try to use it, it works just fine, but, the first reference to the logo file that was originally there stops working. If I comment out my new code, the original reference works fine again. >From top.vm: #if ($config.getString("topnav.logo.file")) #set ($LogoFile = $config.getString("topnav.logo.file")) #set ($LogoURI = $clink.setURI("$LogoFile").Absolute) #else #set ($LogoURI = $config.getString("topnav.logo.url")) #end ## Added by GR ## Calculate the URI for the logo background image - optional ## #if ($config.getString("topnav.logo.background.file")) #set ($LogoBGFile = $config.getString("topnav.logo.background.file")) #set ($LogoBGURI = $clink.setURI("$LogoBGFile").Absolute) #else #set ($LogoBGURI = $config.getString("topnav.logo.background.url")) #end --------------------- When both references are present, the served page displays: <td ... background="/portal/images/logobg.gif" > <img border="0" alt="Home" src="/portal/"> When only the original reference is present, the served page displays: <td ... background="" > <img border="0" alt="Home" src="/portal/images/logo.gif"> --------------------- This behavior is the same for 1.4-b4, 1.4, 1.5-dev Gerry Reno --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
