Maurizio Cucchiara wrote:
>
> Could you post the generated html?
>
Posted below. Thanks for the typo nudge Dave, I hadn't spotted that because
it actually works! The additional data in the html above what I posted in
the .jsp file comes from Sitemesh decorators.
Regards
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">@import
"/FlashFileLoader/resources/css/global.css";</style>
<script type="text/javascript"
src="/FlashFileLoader/resources/js/jquery-1.3.2.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body id=""
onload="">
<div id="container"> <!-- Wrapper for the entire page -->
<div id="outer-header"> <!-- Wrapper for header elements -->
<div id="headerLogo">
/FlashFileLoader/resources/images/Common-Heading_1.png
</div>
</div> <!-- End Of Header Wrappers -->
<div id="right-panel-wrapper">
<div id="navigation-wrapper">
</div>
<div id="contents-wrapper">
<h2 id="title">Select Platform</h2>
<div class="formWrapper">
<form id="select-platform" name="select-platform"
action="/FlashFileLoader/select-platform.action" method="post">
<select name="platformId" id="select-platform_platformId">
<option value="9">Defender 2007 on</option>
<option value="44">Defender 2011</option>
<option value="1">Discovery 3 / LR3</option>
<option value="2">Discovery 4 / LR4</option>
<option value="10">Freelander 2</option>
<option value="5">Range Rover 2004.5 to 2005</option>
<option value="6">Range Rover 2006</option>
<option value="7">Range Rover 2007 to 2009</option>
<option value="8">Range Rover 2010 on</option>
<option value="3">Range Rover Sport 2005 to 2009</option>
<option value="4">Range Rover Sport 2010 on</option>
</select>
<button type="submit" id="select-platform_0" value="Submit">
Next
</button>
<button type="submit" id="select-platform__menu" name="method:menu"
value="Submit">
Menu
</button>
</form>
</div>
</div>
</div>
<div id="push"></div>
</div> <!-- End of container -->
<div id="footer-wrapper">
<p>Copyright © 2008-2010 Blackbox Solutions.</p>
</div>
</body>
</html>
--
View this message in context:
http://old.nabble.com/Struts-2-Testing---odd-behaviour-tp30308915p30328168.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org