You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by mr...@apache.org on 2005/11/26 03:02:14 UTC
svn commit: r349062 - in /struts/bsf/trunk: build.xml project.xml
src/java/org/apache/struts/bsf/ScriptAction.java
src/struts-example/WEB-INF/scripts/Locale.bsh
src/struts-example/WEB-INF/struts-config.xml xdocs/changes.xml
Author: mrdon
Date: Fri Nov 25 18:02:11 2005
New Revision: 349062
URL: http://svn.apache.org/viewcvs?rev=349062&view=rev
Log:
Updated changes, changed example to show parameter passing, updated to 1.0-dev
version, minor changes to javadocs
Modified:
struts/bsf/trunk/build.xml
struts/bsf/trunk/project.xml
struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java
struts/bsf/trunk/src/struts-example/WEB-INF/scripts/Locale.bsh
struts/bsf/trunk/src/struts-example/WEB-INF/struts-config.xml
struts/bsf/trunk/xdocs/changes.xml
Modified: struts/bsf/trunk/build.xml
URL: http://svn.apache.org/viewcvs/struts/bsf/trunk/build.xml?rev=349062&r1=349061&r2=349062&view=diff
==============================================================================
--- struts/bsf/trunk/build.xml (original)
+++ struts/bsf/trunk/build.xml Fri Nov 25 18:02:11 2005
@@ -23,7 +23,7 @@
<!-- application information -->
<property name="app.name" value="struts-bsf" />
- <property name="app.version" value="0.5-dev" />
+ <property name="app.version" value="1.0-dev" />
<!-- The base directory for distribution targets -->
<property name="dist.dir" value="./dist" />
Modified: struts/bsf/trunk/project.xml
URL: http://svn.apache.org/viewcvs/struts/bsf/trunk/project.xml?rev=349062&r1=349061&r2=349062&view=diff
==============================================================================
--- struts/bsf/trunk/project.xml (original)
+++ struts/bsf/trunk/project.xml Fri Nov 25 18:02:11 2005
@@ -28,7 +28,7 @@
<id>struts-bsf</id>
<name>Struts BSF</name>
- <currentVersion>0.5-dev</currentVersion>
+ <currentVersion>1.0-dev</currentVersion>
<inceptionYear>2003</inceptionYear>
<package>org.apache.struts.bsf</package>
Modified: struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java
URL: http://svn.apache.org/viewcvs/struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java?rev=349062&r1=349061&r2=349062&view=diff
==============================================================================
--- struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java (original)
+++ struts/bsf/trunk/src/java/org/apache/struts/bsf/ScriptAction.java Fri Nov 25 18:02:11 2005
@@ -48,7 +48,6 @@
* <li> <code>session</code> - The session</li>
* <li> <code>application</code> - The servlet context</li>
* <li> <code>struts</code> - A grouping of all Struts-related objects</li>
- *
* <li> <code>log</code> - A logging instance</li>
* </ul>
* You can add your own variables by creating a BSFManagerFilter and
Modified: struts/bsf/trunk/src/struts-example/WEB-INF/scripts/Locale.bsh
URL: http://svn.apache.org/viewcvs/struts/bsf/trunk/src/struts-example/WEB-INF/scripts/Locale.bsh?rev=349062&r1=349061&r2=349062&view=diff
==============================================================================
--- struts/bsf/trunk/src/struts-example/WEB-INF/scripts/Locale.bsh (original)
+++ struts/bsf/trunk/src/struts-example/WEB-INF/scripts/Locale.bsh Fri Nov 25 18:02:11 2005
@@ -27,5 +27,5 @@
}
target = request.getParameter("forward");
-if (isBlank(target)) target = "welcome";
+if (isBlank(target)) target = defaultTarget;
struts.forwardName = target;
Modified: struts/bsf/trunk/src/struts-example/WEB-INF/struts-config.xml
URL: http://svn.apache.org/viewcvs/struts/bsf/trunk/src/struts-example/WEB-INF/struts-config.xml?rev=349062&r1=349061&r2=349062&view=diff
==============================================================================
--- struts/bsf/trunk/src/struts-example/WEB-INF/struts-config.xml (original)
+++ struts/bsf/trunk/src/struts-example/WEB-INF/struts-config.xml Fri Nov 25 18:02:11 2005
@@ -71,7 +71,7 @@
<action
path="/Locale"
type="org.apache.struts.bsf.ScriptAction"
- parameter="/WEB-INF/scripts/Welcome.bsh" />
+ parameter="/WEB-INF/scripts/Locale.bsh?defaultTarget=welcome" />
<!-- Display registration page -->
<action path="/Registration"
Modified: struts/bsf/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/struts/bsf/trunk/xdocs/changes.xml?rev=349062&r1=349061&r2=349062&view=diff
==============================================================================
--- struts/bsf/trunk/xdocs/changes.xml (original)
+++ struts/bsf/trunk/xdocs/changes.xml Fri Nov 25 18:02:11 2005
@@ -22,6 +22,27 @@
</properties>
<body>
+
+ <release version="1.0" date="Unreleased">
+ <action dev="mrdon" type="add">
+ Updated BeanShell to 2.0
+ </action>
+ <action dev="mrdon" type="add">
+ Updated Struts and Struts Mailreader example to 1.2.8
+ </action>
+ <action dev="mrdon" type="fix">
+ Improved build to download dependencies, and borrowed Maven build configurations
+ </action>
+ <action dev="mrdon" type="add">
+ Migrated to Struts as an official subproject, Struts Scripting/BSF
+ </action>
+ <action dev="mrdon" type="add">
+ Added ability to pass parameters to scripts using HTTP query string format in the
+ Struts configuration file (Not needed if using Struts 1.3)
+ </action>
+ </release>
+
+
<release version="0.4" date="2004-04-26">
<action dev="mrdon" type="add">
Update BeanShell to 1.3
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org