Hi there,
Maybe this helps someone else... I just solved my problem by unpacking
struts2-core-2.1.6.jar and placing submit.ftl file in webapp dir
/WEB-INF/classes/template/... commenting the following:

<#--if parameters.align??>
    align="${parameters.align?html}"<#t/>
</#if-->

(Lines 20->30)

I noted that these didn't work for sx:submit, which I also use a lot; I had
to unpack struts2-dojo-plugin-2.1.6.jar (which contains ajax template) and
do the same (/template/ajax/...) In this case, align parameter appears
twice.

I'll figure out how to do the patch. I guess that at least for css_xhtml
theme, no "align" code should ever appear in HTML code.

Ignacio
-- 
View this message in context: 
http://www.nabble.com/Removing-the-align%3D%22right%22-from-%3Cs%3Asubmit%3E-tag-tp23037513p23039837.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

Reply via email to