You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Thomas Vandahl <tv...@apache.org> on 2008/10/22 14:14:12 UTC

Re: Action not found

Dieter.Johannsmeier@t-systems.com wrote:
> 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:
> 	<BUTTON class="image" type="submit" name="eventSubmit_doAusr" onClick="search()">
> 		<IMG src="$content.getURI('images/ok.gif')"/>
> 	</BUTTON>

I remember some strange effects when using <button> elements together
with Internet Explorer. IE sends all buttons in the request, not just
the one that is clicked and Turbine has a hard time to find out which
action to perform. Try to use an <input type="submit"> element instead
and check if that solves your problem.

Hope that helps
Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


RE: Action not found

Posted by Tony Oslund <To...@prepare-enrich.com>.
Check to see if you have duplicate class names in your deployment.

Try changing the name of the action class to something that you know is
distinct, and then retest.

Tony Oslund
Senior Programmer/Analyst
Life Innovations, Inc.
800.331.1661
651.635.0511
www.prepare-enrich.com

-----Original Message-----
From: Thomas Vandahl [mailto:tv@apache.org] 
Sent: Wednesday, October 22, 2008 7:14 AM
To: Turbine Users List
Subject: Re: Action not found

Dieter.Johannsmeier@t-systems.com wrote:
> 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:
> 	<BUTTON class="image" type="submit" name="eventSubmit_doAusr"
onClick="search()">
> 		<IMG src="$content.getURI('images/ok.gif')"/>
> 	</BUTTON>

I remember some strange effects when using <button> elements together
with Internet Explorer. IE sends all buttons in the request, not just
the one that is clicked and Turbine has a hard time to find out which
action to perform. Try to use an <input type="submit"> element instead
and check if that solves your problem.

Hope that helps
Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org