[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] nukes/nukes/src/main/org/jboss/nukes/core/modules/html HtmlModule.java
From:       Julien Viet <cooperfbi () users ! sourceforge ! net>
Date:       2003-11-30 16:53:48
[Download RAW message or body]

  User: cooperfbi
  Date: 03/11/30 08:53:48

  Modified:    nukes/src/main/org/jboss/nukes/core/modules/html
                        HtmlModule.java
  Log:
  added the access to html module files through hierarchical URLs i.e /a/b/c/d.html
  
  Revision  Changes    Path
  1.50      +3 -3      nukes/nukes/src/main/org/jboss/nukes/core/modules/html/HtmlModule.java
  
  Index: HtmlModule.java
  ===================================================================
  RCS file: /cvsroot/jboss/nukes/nukes/src/main/org/jboss/nukes/core/modules/html/HtmlModule.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- HtmlModule.java	11 Nov 2003 01:22:07 -0000	1.49
  +++ HtmlModule.java	30 Nov 2003 16:53:48 -0000	1.50
  @@ -56,7 +56,7 @@
    * DELETE/html::/$id::    - delete $id
    *
    * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
  - * @version $Revision: 1.49 $
  + * @version $Revision: 1.50 $
    */
   public class HtmlModule
      extends ModuleSupport
  @@ -92,7 +92,7 @@
      /** Translates href link for resources */
      private boolean translateHref = false;
   
  -   protected String homepage = "index";
  +   protected String homepage = "/index";
   
      // Constructors --------------------------------------------------
   
  @@ -205,7 +205,7 @@
         }
         catch (CreateException e)
         {
  -         page.print("A problem arose during file storage");
  +         page.print(e.getMessage());
         }
      }
   
  
  
  


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic