struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <maurizio.cucchi...@gmail.com>
Subject Re: Struts 2 Testing - odd behaviour
Date Fri, 26 Nov 2010 11:55:18 GMT
Could you post the generated html?

2010/11/26 RogerV <roger.varley@googlemail.com>:
>
> Hi
>
> I guess this is not strictly a Struts problem, but I thought someone here
> might have seen this. When I display the jsp page listed below in Firefox,
> IE8, Safari and Chrome, pressing "Menu" gives me a no such method menu()
> exception which is expected since the underlying action has no menu()
> method. Pressing "Next" takes me to the next page as expected. However, in
> IE6, I get the the no such method menu() exception whichever button I press.
> Any ideas as to why?
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
>    pageEncoding="ISO-8859-1"%>
> <%@ taglib prefix="s" uri="/struts-tags" %>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
> <title>Edit Ecu Text</title>
> </head>
> <body>
> <h2 id="title">Select Platform</h2>
> <div class="formWrapper">
> <s:form theme="simple" method="post">
> <s:select label="Platform" name="platformId" list="platforms" listKey="id"
> listValue="platformName"
>                value="{platformName}"/>
> <s:submit type="button" label="Next"/>
> <s:submit type="button" label="Menu" method="menu"/>
> </s:form>
>
> </div>
> </body>
> </html>
> --
> View this message in context: http://old.nabble.com/Struts-2-Testing---odd-behaviour-tp30308915p30308915.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Maurizio Cucchiara

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


Mime
View raw message