Action not found

<[email protected]>
Newsgroups gmane.comp.jakarta.turbine.user
Message-ID <994FCD5D549F314C9856B8703F973ACC0129C80D@S4DE8PSAABI.t-systems.com>
Hi everybody,

I'm facing a very strange behaviour in our Turbine 2.3.2 application. We're having a screen where the user can choose different parameters. After choosing we redirect the screen to another one. It works perfectly on our development environment (Java 1.4.2 and Tomcat 5.5). In the productive environment (IBM WebSphere 6) it sometimes works and sometimes not. It seems like the java action we use to redirect to the different screens is not found.
Here's our code:

- *.vm

	<SCRIPT>
	...
	function search()
	{    
 		window.document.vari.was.value = "nix";
	} 
	...
	</SCRIPT>

	...
	<FORM name="vari" method="post" action="$link.setPage('AusrHaupt.vm').setAction('AusrHauptAction')">
	...
	<INPUT type="hidden" name="was" value="nix"/>
	...
	<BUTTON class="image" type="submit" name="eventSubmit_doAusr" onClick="search()">
		<IMG src="$content.getURI('images/ok.gif')"/>
	</BUTTON>
	...
	</FORM>

- *Action.java

	public void doAusr(RunData data, Context context) throws Exception
	{
		String action = data.getParameters().getString("was", "nix");
		
		if (action.equals("Save")) doSavevari(data, context);
		else if (action.equals("Suche")) setTemplate(data, "AusrHaupt.vm");
		else setTemplate(data, "AusrList.vm");
	}

Do you have any ideas what could cause the problem? 

Thank you 


Dieter Johannsmeier

T-Systems
Systems Integration
Dieter Johannsmeier
BU Spare Parts, Team IDIS
Heinrich-Hertz-Str. 11, 34123 Kassel
+49 561 5893-228 (Phone)
+49 561 5893-112 (Fax)

E-Mail: [email protected]
Internet: http://www.t-systems.com

T-Systems Enterprise Services <https://systemsnet.telekom.de/tool/de_systemswiki/index.php/Enterprise_Services>  GmbH 
Aufsichtsrat <https://systemsnet.telekom.de/tool/de_systemswiki/index.php/Aufsichtsrat> : René Obermann (Vorsitzender) 
Executive Committee <https://systemsnet.telekom.de/tool/de_systemswiki/index.php/Executive_Committee> : René Obermann (Vorsitzender) Executive Committee: Reinhard Clemens (Vorsitzender)*, Helmut Binder, Albert Henn, Olaf Heyden*, Katrin Horstmann, Wilfried Peters*, Dr. Herbert Schaaff
Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 
Sitz der Gesellschaft: Frankfurt am Main 
WEEE-Reg.-Nr. DE87523644 
*Geschäftsführer gem. § 35 GmbHG 

T-Systems - Business flexibility
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.