|
|
@ -7,7 +7,6 @@ import com.fr.general.web.ParameterConstants; |
|
|
|
import com.fr.plugin.ExtraClassManager; |
|
|
|
import com.fr.plugin.ExtraClassManager; |
|
|
|
import com.fr.script.ScriptConstants; |
|
|
|
import com.fr.script.ScriptConstants; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.fun.BuiltInParametersProvider; |
|
|
|
|
|
|
|
import com.fr.stable.script.CalculatorProvider; |
|
|
|
import com.fr.stable.script.CalculatorProvider; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
@ -38,12 +37,6 @@ public abstract class VariableResolverAdapter implements VariableResolver { |
|
|
|
CalculatorProvider.REPORT_NAME, CalculatorProvider.FORMLET_NAME, CalculatorProvider.SERVLET_URL, CalculatorProvider.SERVER_SCHEMA, CalculatorProvider.SERVER_NAME, |
|
|
|
CalculatorProvider.REPORT_NAME, CalculatorProvider.FORMLET_NAME, CalculatorProvider.SERVLET_URL, CalculatorProvider.SERVER_SCHEMA, CalculatorProvider.SERVER_NAME, |
|
|
|
CalculatorProvider.SERVER_PORT, CalculatorProvider.SERVER_URL, CalculatorProvider.CONTEXT_PATH, CalculatorProvider.SESSION_ID |
|
|
|
CalculatorProvider.SERVER_PORT, CalculatorProvider.SERVER_URL, CalculatorProvider.CONTEXT_PATH, CalculatorProvider.SESSION_ID |
|
|
|
}; |
|
|
|
}; |
|
|
|
Set<BuiltInParametersProvider> set = ExtraClassManager.getInstance().getArray(BuiltInParametersProvider.XML_TAG); |
|
|
|
|
|
|
|
for (BuiltInParametersProvider provider : set) { |
|
|
|
|
|
|
|
ArrayUtils.addAll(variables, new String[]{ |
|
|
|
|
|
|
|
ScriptConstants.DETAIL_TAG + provider.getParametersName() |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return variables; |
|
|
|
return variables; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|