Permalink
Browse files

Fix o:param child render prevention bug (wrong approach failed in

MyFaces)
  • Loading branch information...
BalusC committed Apr 20, 2015
1 parent 148142b commit e406bd49fee81795bccbe5268ba6c560018d06e8
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/main/java/org/omnifaces/component/output/Param.java
@@ -80,7 +80,7 @@ public Converter getConverter() {
@Override
public void setConverter(Converter converter) {
this.localConverter = converter;
localConverter = converter;
}
@Override
@@ -125,7 +125,12 @@ public Object getValue() {
}
@Override
public void encodeAll(FacesContext context) throws IOException {
public boolean getRendersChildren() {
return true;
}
@Override
public void encodeChildren(FacesContext context) throws IOException {
// This override which does nothing effectively blocks the children from being encoded during JSF render.
}

0 comments on commit e406bd4

Please sign in to comment.