Edwin Gustafson <[EMAIL PROTECTED]> writes: >Greetings,
>I'm having a problem with results of calls to TemplateLink.setReference( >String ) persisting between uses. Hi, please see http://mail-archives.apache.org/mod_mbox/jakarta-turbine-dev/200405.mbox/[EMAIL PROTECTED] So yes, subclassing and overriding getAbsoluteLink and getRelativeLink is IMHO the right thing to do. Best regards Henning >Inspecting TemplateLink.getAbsoluteLink() and >TemplateLink.getRelativeLink(), there are calls to >TemplateURI.removePathInfo() and TemplateURI.removeQueryData() to >prepare the templateURI instance variable for reuse, but nothing >mentioning its reference instance variable. >A workaround would be to write a subclass to TemplateLink and override >getLink() to call setReference( null ) manually. >Any better fix or workaround you can suggest? >-- >Edwin Gustafson >Cayman Chemical Company >-- >734 975 3993 >http://www.caymanchem.com/promo/ewg >42º13â²44â³N 83º43â²25â³W â 17T 275242E 4678791N NAD83 >-- >My employer reserves the right to read and archive all messages >you and I exchange using my company email account. >-- >CONFIDENTIALITY NOTICE: This transmission (including any attachments) >contains information which is confidential and is intended solely >for the individual or entity named above. If you are not the intended >recipient, any interception, copying, distribution, disclosure or >business use of this transmission or any information contained in >it is strictly prohibited, and may be subject to criminal and civil >penalties. If you have received this transmission in error, please >immediately call us at 800-364-9897, delete the transmission from >all forms of electronic or other storage, and destroy all hard >copies. Do not forward this transmission. Thank you. >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development 4 - 8 - 15 - 16 - 23 - 42 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
