Issue Details (XML | Word | Printable)

Key: JS2-183
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Scott T Weaver
Reporter: Scott T Weaver
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetspeed 2

Improve the usability of the JetspeedPowerTool

Created: 05/Jan/05 12:43 AM   Updated: 05/Jan/05 01:49 AM
Return to search
Component/s: Layout
Affects Version/s: 2.0-dev/cvs, 2.0-M1, 2.0-M2
Fix Version/s: 2.0-dev/cvs, 2.0-M2, 2.0-FINAL

Time Tracking:
Not Specified

Resolution Date: 05/Jan/05 01:49 AM


 Description  « Hide
Currently, the JetspeedPowerTool has to do some very odd things when working with layouts. One of the worst is the need to call flush() on the target outpuststream at arbitrary points in the both the template and the tool itself. Most of this stems from the way the aggregation/rendering process works. The current approach in this process is buffer the rendered content from dispatched portlet requested to a PrintWriter, which works great. However, the buffered content is written straight into the portals outputstream/writer. This is the main reason why we have to call flushes as to make sure content gets placed in the correct location.

I have refactored the agg/Render process to write the buffered content into the Fragment object via a setRenderedContent() method. To access the rendered content, all that needs to be done is to call Fragment.getRenderedContent(). This makes developing layout and portlet decorations easier in that there is no longer a requirement to flush() content.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.