rleland     2003/07/30 20:45:41

  Modified:    src/share/org/apache/struts/tiles/actions
                        DefinitionDispatcherAction.java
  Log:
  replace deprecated method with current
  one. Still one method DefinitionUtil.setActionDefinition
  that doesn't have a replacement. It's a simple
  method but I don't know where a good place to move it would be.
  
  Revision  Changes    Path
  1.9       +6 -5      
jakarta-struts/src/share/org/apache/struts/tiles/actions/DefinitionDispatcherAction.java
  
  Index: DefinitionDispatcherAction.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/actions/DefinitionDispatcherAction.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DefinitionDispatcherAction.java   12 Jul 2003 00:06:01 -0000      1.8
  +++ DefinitionDispatcherAction.java   31 Jul 2003 03:45:41 -0000      1.9
  @@ -78,6 +78,7 @@
   import org.apache.struts.tiles.DefinitionsUtil;
   import org.apache.struts.tiles.FactoryNotFoundException;
   import org.apache.struts.tiles.NoSuchDefinitionException;
  +import org.apache.struts.tiles.TilesUtil;
   
   /**
    * <p>An <strong>Action</strong> that dispatches to a Tiles Definition
  @@ -158,7 +159,7 @@
           try {
               // Read definition from factory, but we can create it here.
               ComponentDefinition definition =
  -                DefinitionsUtil.getDefinition(
  +                TilesUtil.getDefinition(
                       name,
                       request,
                       getServlet().getServletContext());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to