struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Hermanns (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (WW-1255) XSLTResult - 3 issues
Date Mon, 01 May 2006 19:21:20 GMT
     [ http://issues.apache.org/struts/browse/WW-1255?page=all ]

Rainer Hermanns reassigned WW-1255:
-----------------------------------

    Assign To: Rainer Hermanns

> XSLTResult - 3 issues
> ---------------------
>
>          Key: WW-1255
>          URL: http://issues.apache.org/struts/browse/WW-1255
>      Project: Struts Action 2
>         Type: Bug

>   Components: Views
>     Versions: WW 2.2.1
>  Environment: Any
>     Reporter: Claus Ibsen
>     Assignee: Rainer Hermanns
>     Priority: Minor
>      Fix For: 2.0

>
> There are 3 issues here
> #1:
> XSLTResult does not work with JDK1.5 out of the box.
> See XSLResultTest and enable the test, and run it under JDK1.5
> Both Rainer and I have this problem. Running on Mac OS and WinXP.
> I don't have the exception at hand, but it as a NPE in some SUN code.
> #2:
> XSLTResult requires the end user to have:
>    webwork.xslt.nocache = false|true 
> defined in webwork.properties
> The given exception is:
> org.springframework.beans.FatalBeanException: Could not instantiate class [com.opensymphony.webwork.views.xslt.XSLTResult];
constructor threw exception; nested exception is java.lang.IllegalArgumentException: No such
setting:webwork.xslt.nocache
> 	org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:187)
> 	
> I think this should be improved with a better exception message so we can guide the end
user
> to include this in webwork.properties.
> #3:
> XSLTResult
> It appears that it does not handle iteration. Only the first element is outputted.
> See XSLTResultTest.java with an example that ought to output at least 2 books.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message