Skip to content

Commit

Permalink
Merge branch 'master' of github.com:openfaces/OpenFaces into 3.0-master
Browse files Browse the repository at this point in the history
  • Loading branch information
dpikhulya committed Jul 17, 2012
2 parents de2596c + 0b1097e commit 372b02a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion openFaces/source/org/openfaces/component/OUIInputBase.java
Expand Up @@ -301,8 +301,8 @@ public void restoreState(FacesContext context, Object state) {

@Override
public void decode(FacesContext context) {
super.decode(context);
decodeDisabledStateIfNeeded(context);
super.decode(context);
}

private void decodeDisabledStateIfNeeded(FacesContext context) {
Expand Down
Expand Up @@ -225,6 +225,8 @@ public void decode(FacesContext context, UIComponent component) {
Rendering.decodeBehaviors(context, component);

SelectBooleanCheckbox checkbox = (SelectBooleanCheckbox) component;
if (checkbox.isDisabled())
return;

Map<String, String> requestMap = context.getExternalContext().getRequestParameterMap();

Expand Down

0 comments on commit 372b02a

Please sign in to comment.