Permalink
Browse files

#347: fix Sonar warning

  • Loading branch information...
1 parent 4308e73 commit eb8bdabc0075c83c8cd428ff33b14c5cee204471 @BalusC BalusC committed Jan 31, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/omnifaces/taghandler/ValidateBean.java
@@ -334,7 +334,7 @@ protected void processValidateBean(FacesContext context, UIComponent component)
if (value != null) {
final Object[] found = new Object[1];
- forEachComponent().fromRoot(form).invoke(new Callback.WithArgument<UIComponent>() { @Override public void invoke(UIComponent target) {
+ forEachComponent(context).fromRoot(form).invoke(new Callback.WithArgument<UIComponent>() { @Override public void invoke(UIComponent target) {
found[0] = value.getValue(getELContext());
}});

0 comments on commit eb8bdab

Please sign in to comment.