You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/08/10 15:37:22 UTC
svn commit: r1156177 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/MenuCommandRenderer.java
Author: lofwyr
Date: Wed Aug 10 13:37:21 2011
New Revision: 1156177
URL: http://svn.apache.org/viewvc?rev=1156177&view=rev
Log:
Value of the hidden field must be formatted.
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/MenuCommandRenderer.java
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/MenuCommandRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/MenuCommandRenderer.java?rev=1156177&r1=1156176&r2=1156177&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/MenuCommandRenderer.java (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/MenuCommandRenderer.java Wed Aug 10 13:37:21 2011
@@ -103,7 +103,7 @@ public class MenuCommandRenderer extends
String setValue = JQueryUtils.selectId(hiddenId) + ".val('" + JQueryUtils.escapeValue(formattedValue) + "'); ";
encodeItem(facesContext, writer, null, label, setValue + submit, disabled, firstLevel, image);
}
- encodeHidden(writer, hiddenId, radio.getValue());
+ encodeHidden(writer, hiddenId, getCurrentValue(facesContext, radio));
} else {
// normal menu command
CommandRendererHelper helper = new CommandRendererHelper(facesContext, menu);