> I put a declaration for > topnav.logo.background.file in the properties file and was able to access > it via > top.vm as you would expect EXCEPT that this caused the original Velocity > variable to be ignored. Moving them around showed that the second one got > processed and the first one got ignored. This doesn't seem like correct > behavior. With JSP I can put any number of variables in a file and they
Dumb question, do the two variables in question have the same name? If so, this \ makes perfect sense as the variables are managed within the same velocity context. \ The top.vm is parsed along with the layout and other navigation templates, and as \ such, they share they use the same context. This why each portlet, control and \ controller template have their own individual scoped context's, to avoid stepping on \ each others' feet. Hth, *================================* > Scott T Weaver | > <[EMAIL PROTECTED]> | > Apache Jetspeed Portal Project | > Apache Pluto Portlet Container | *================================* Scott, Not a dumb question. And to answer the question, the variables have different names. They have the same beginning and the same end but the middle of the variable names is different. Different is different. Velocity shouldn't have any problem distinguishing that these are two different references. ===== Gerry Reno mailto: grenoml at@ yahoo dot. com (if mail bounces please retry later - spam rapidly fills up mailbox) __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
