Author: a.izobov
Date: 2007-08-16 11:06:42 -0400 (Thu, 16 Aug 2007)
New Revision: 2297
Modified:
trunk/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx
Log:
http://jira.jboss.com/jira/browse/RF-607
Modified: trunk/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx
===================================================================
---
trunk/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx 2007-08-16
15:05:46 UTC (rev 2296)
+++
trunk/ui/dropdown-menu/src/main/templates/org/richfaces/htmlDropDownMenu.jspx 2007-08-16
15:06:42 UTC (rev 2297)
@@ -19,7 +19,7 @@
<f:clientid var="clientId"/>
<jsp:scriptlet>
- <![CDATA[org.richfaces.component.util.FormUtil.throwEnclFormReqExceptionIfNeed(context,component);]]>
+ <![CDATA[if
(!((org.richfaces.component.UIDropDownMenu)component).getSubmitMode().equalsIgnoreCase("none"))
org.richfaces.component.util.FormUtil.throwEnclFormReqExceptionIfNeed(context,component);]]>
</jsp:scriptlet>
<div id="#{clientId}"
style="#{component.attributes['style']};"