gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

submit attribute: name does not appear in html #917

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using submit tag html name attribute is not rendered in input element.
For example:
<sj:submit  id="Test" href="%{#prevUrl}"  formIds="testform" name="Test" 
value="Test" targets="dynaDiv" />

What steps will reproduce the problem?
1. use submit tag on form.
2. submit
3. the request parameters don't have value of submit input because the name is 
not rendered in html

What is the expected output? What do you see instead?
expect:
<input name="Test" type="submit" value="Test" />
actual:
<input value="Test" type="submit">
Which struts2 version?
2.3.4.1

Which struts2-jquery plugin version?
3.4.0

Please provide any additional information below.

Original issue reported on code.google.com by b3ha...@gmail.com on 8 Nov 2012 at 4:51

GoogleCodeExporter commented 9 years ago
Please announce this Issue to the Struts2 Projects. 
Because internal is the simple/submit.ftl template used.

Original comment by johgep on 13 Nov 2012 at 2:29