Update of /cvsroot/struts/artimus/WEB-INF/src/java/org/apache/artimus/struts
In directory usw-pr-cvs1:/tmp/cvs-serv4057
Modified Files:
RenderRss.java
Log Message:
+ struts/renderRss: Revise to use latest scaffold token for ResultList (LIST).
Index: RenderRss.java
===================================================================
RCS file: /cvsroot/struts/artimus/WEB-INF/src/java/org/apache/artimus/struts/RenderRss.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** RenderRss.java 14 Aug 2002 21:12:00 -0000 1.1.1.1
--- RenderRss.java 23 Aug 2002 14:25:03 -0000 1.2
***************
*** 47,51 ****
* <p>
* The beans must be stored in a scaffold.util.ResultList
! * object under the attribute name "RESULT" [Tokens.RESULT_KEY].
* A default channel description is provided and each bean is
* included as an item of the channel.
--- 47,51 ----
* <p>
* The beans must be stored in a scaffold.util.ResultList
! * object under the attribute name "LIST" [Tokens.LIST_KEY].
* A default channel description is provided and each bean is
* included as an item of the channel.
***************
*** 78,82 ****
Channel channel = new Channel();
ResultList result = (ResultList)
! request.getAttribute(Tokens.RESULT_KEY);
if (result==null) {
errors.add(ActionErrors.GLOBAL_ERROR,
--- 78,82 ----
Channel channel = new Channel();
ResultList result = (ResultList)
! request.getAttribute(Tokens.LIST_KEY);
if (result==null) {
errors.add(ActionErrors.GLOBAL_ERROR,
|