I probably should have posted this code also, this is where I am generating the new object go easy on me if this is all wrong. The summaryFactory is where the code above lives.
public void encodeEnd(FacesContext context){ BizRulesSummaryPanelFactory summaryFactory = new BizRulesSummaryPanelFactory(); HtmlOutputLabel p = new HtmlOutputLabel(); p.setValue("test"); BRRule brRule = (BRRule)getAttributes().get("brRule"); try{ if(brRule!=null){ UIComponent component = summaryFactory.build(this, brRule, context); component.encodeAll(context); this.getChildren().add(component); } this.getChildren().add(p); }catch(IOException e){ logger.error(e); } }
don't reply to this post it was a mistake. is there anyway to remove this or lock it somehow?