Please let me know if the following behavior is an issue or not : I've a form where validation needs to be enabled/disabled dynamically based on some condition. So, instead of having "validate" attribute within s:form, i'm having it as an s:param , like :
<s:form method="POST" name="myAction" namespace="/" theme="ajax"> <s:param name="validate" value="true"/> ... ... ... ... </s:form> In the controlheader.ftl (ajax theme) , validate(this); function is added to onblur event of each control ; based on parameters.form.validate?default(false) == true check. In form.ftl (simple theme) ; the namespace attribute is added based on : <#if parameters.namespace?exists && parameters.validate?exists> namespace="${parameters.namespace?html}"<#rt/> </#if> It seems that parameters.form.validate is recognized when using s:param , but parameters.validate is not . Is this a problem, or am i missing something? Thanks, Joseph