Thursday, May 05, 2005

after relentless qwerty pushing, i managed to fix this Spring Framework :: View topic - weird xsl form behavior on 1.2-RC2...

the culprit is the getStylesheetSource() of the AbstractXsltView class... it gets stuck to the first xslt you call... so the template used to cache xslt for performace reasons will repeatedly call the same pre compiled stylesheet even if you are calling a different xslt file...

if you dig spring xsl, this
spring.jar will save you from cursing the console...

but be warned i havent tried it with other application servers aside from resin, so this problem might be resin specific as i am using resin's xslt classes for the transformation (e.g. jaxp javax.xml.transform.TransformeryFactory is set to com.caucho.xsl.XSL)... you can use other jaxp compatible implementation like xalan if needed...

yes, i am being punished for sticking to xslt for the view component...

now, back to the acegi thingy...

No comments: