Author: thorsten
Date: Sat Apr 1 15:01:18 2006
New Revision: 390759
URL: http://svn.apache.org/viewcvs?rev=390759&view=rev
Log:
Fixing locationmap bug related to actions in the lm. Before this commit you
needed to define <act src=""/>. Now you do not need to define an empty src
attribute anymore.
Modified:
forrest/trunk/main/java/org/apache/forrest/locationmap/lm/ActNode.java
Modified: forrest/trunk/main/java/org/apache/forrest/locationmap/lm/ActNode.java
URL:
http://svn.apache.org/viewcvs/forrest/trunk/main/java/org/apache/forrest/locationmap/lm/ActNode.java?rev=390759&r1=390758&r2=390759&view=diff
==============================================================================
--- forrest/trunk/main/java/org/apache/forrest/locationmap/lm/ActNode.java
(original)
+++ forrest/trunk/main/java/org/apache/forrest/locationmap/lm/ActNode.java Sat
Apr 1 15:01:18 2006
@@ -71,10 +71,11 @@
// get the selector
m_type = configuration.getAttribute("type",m_ln.getDefaultAction());
+ String src=configuration.getAttribute("src","");
try
{
m_varResolver = VariableResolverFactory.getResolver(
- configuration.getAttribute("src"), super.m_manager);
+ src, super.m_manager);
}
catch (PatternException e) {
throw new ConfigurationException("unable to resolve action 'src'
attribute");