You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Peter Oxenham (JIRA)" <ve...@apache.org> on 2006/09/12 07:05:23 UTC

[jira] Created: (VELTOOLS-61) The documentation of the ImportTool needs to be fixed

The documentation of the ImportTool needs to be fixed
-----------------------------------------------------

                 Key: VELTOOLS-61
                 URL: http://issues.apache.org/jira/browse/VELTOOLS-61
             Project: VelocityTools
          Issue Type: Task
          Components: VelocityView
    Affects Versions: 1.2
            Reporter: Peter Oxenham
            Priority: Minor


The documentation of the ImportTool at http://jakarta.apache.org/velocity/tools/view/ImportTool.html has a toolbox configuration example of:

<tool>
  <key>import</key>
  <scope>session</scope>
  <class>org.apache.velocity.tools.view.tools.ImportTool</class>
</tool>

with the scope set to 'session'. 

This needs to be changed to 'request' as stated in the JavaDoc, as having it as session causes some very unpredictable behaviour.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[jira] Resolved: (VELTOOLS-61) The documentation of the ImportTool needs to be fixed

Posted by "Nathan Bubna (JIRA)" <ve...@apache.org>.
     [ http://issues.apache.org/jira/browse/VELTOOLS-61?page=all ]

Nathan Bubna resolved VELTOOLS-61.
----------------------------------

    Fix Version/s: 1.3
       Resolution: Fixed

Fixed in http://svn.apache.org/viewvc?view=rev&rev=442601
Manually tweaked on the website.

> The documentation of the ImportTool needs to be fixed
> -----------------------------------------------------
>
>                 Key: VELTOOLS-61
>                 URL: http://issues.apache.org/jira/browse/VELTOOLS-61
>             Project: VelocityTools
>          Issue Type: Task
>          Components: VelocityView
>    Affects Versions: 1.2
>            Reporter: Peter Oxenham
>            Priority: Minor
>             Fix For: 1.3
>
>
> The documentation of the ImportTool at http://jakarta.apache.org/velocity/tools/view/ImportTool.html has a toolbox configuration example of:
> <tool>
>   <key>import</key>
>   <scope>session</scope>
>   <class>org.apache.velocity.tools.view.tools.ImportTool</class>
> </tool>
> with the scope set to 'session'. 
> This needs to be changed to 'request' as stated in the JavaDoc, as having it as session causes some very unpredictable behaviour.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org