logo       
Google Custom Search
    AddThis Social Bookmark Button

roller/src/org/roller/presentation/velocity PageModel.java,1.37,1.38: msg#00199

Subject: roller/src/org/roller/presentation/velocity PageModel.java,1.37,1.38
Update of /cvsroot/roller/roller/src/org/roller/presentation/velocity
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19863/src/org/roller/presentation/velocity

Modified Files:
        PageModel.java 
Log Message:
Added Search paging to individual search results (per user site).
Added ability to specify number of recent Comments to fetch.
Fixed bug in RollerRequest.getWeblogCategory().

Index: PageModel.java
===================================================================
RCS file: 
/cvsroot/roller/roller/src/org/roller/presentation/velocity/PageModel.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** PageModel.java      16 Jul 2004 01:22:39 -0000      1.37
--- PageModel.java      29 Jul 2004 11:48:17 -0000      1.38
***************
*** 665,677 ****
  
      /**
!      * Get the 20 most recent (chronologically) posted Comments
!      * for this website.  Facade for WeblogManager.getRecentComments().
       * @return List of Comments.
       */
!     public List getRecentComments()
      {
          try
          {
!             return mWeblogMgr.getRecentComments(mRollerReq.getWebsite());
          }
          catch (RollerException e)
--- 665,678 ----
  
      /**
!      * Facade for WeblogManager.getRecentComments().
!      * Get the most recent (chronologically) posted Comments
!      * for this website, limited to maxCount.  
       * @return List of Comments.
       */
!     public List getRecentComments(int maxCount)
      {
          try
          {
!             return mWeblogMgr.getRecentComments(mRollerReq.getWebsite(), 
maxCount);
          }
          catch (RollerException e)



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>