Permalink
Browse files

MYFACES-3668 CLONE - UIForm.createUniqueId should take into account p…

…rependId logic (do not create component when building component metadata)

git-svn-id: https://svn.apache.org/repos/asf/myfaces/core/trunk@1425218 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 7fd0053 commit 10238cbed801cc02ee3f961ef4ae1745e9f4b058 Leonardo Uribe committed Dec 22, 2012
@@ -114,8 +114,15 @@ public void apply(FaceletContext ctx, UIComponent parent)
}
facetList.add(facetName);
+
+ // Do not call super.apply(ctx, parent), because it forces component creation,
+ // and in this step it is not necessary. Also, it changes the order of
+ // the generated ids.
+ }
+ else
+ {
+ super.apply(ctx, parent);
}
- super.apply(ctx, parent);
}
@Override

0 comments on commit 10238cb

Please sign in to comment.