
| Key: |
WW-1458
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
tm_jee
|
| Reporter: |
Martin Gilday
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
WebWork
Created: 05/May/07 08:00 AM
Updated: 06/May/07 04:35 AM
|
|
| Component/s: |
Views
|
| Affects Version/s: |
2.2.5
|
| Fix Version/s: |
2.2.6
|
|
This is the same improvement as requested for Struts 2
http://issues.apache.org/struts/browse/WW-1808
Rather than use the suggested flag I have simply buffered all content, as was currently done when the wrtier was unavailable. If no exceptions occur then the content is written out. If any exceptions are rethrown by the freemarker template then they are simply passed up and handled by the exception interceptor. If none occur the template result is sent down the writer or output stream.
|
|
Description
|
This is the same improvement as requested for Struts 2
http://issues.apache.org/struts/browse/WW-1808
Rather than use the suggested flag I have simply buffered all content, as was currently done when the wrtier was unavailable. If no exceptions occur then the content is written out. If any exceptions are rethrown by the freemarker template then they are simply passed up and handled by the exception interceptor. If none occur the template result is sent down the writer or output stream.
|
Show » |
|
Fixed this issue as mentioned in the Struts2 (WW-1808).
The changes are at :-
tmjee@tmjee-laptop:~/development/webwork-svn/src$ svn commit test/com/opensymphony/webwork/views/freemarker/FreemarkerResultTest.java java/com/opensymphony/webwork/views/freemarker/FreemarkerResult.java
Sending java/com/opensymphony/webwork/views/freemarker/FreemarkerResult.java
Adding test/com/opensymphony/webwork/views/freemarker/FreemarkerResultTest.java
Transmitting file data ..
Committed revision 2911.
Hi Martin and Jasper,
Please go through the patch if you got the time to spare, and feel free to reopen this issue if there's anything missed out.
Cheers guys