Fix for ALF-11394 - Using LinkGenerator results in duplicate JSF id's in UIPropertySheet

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2011-11-15 12:07:19 +00:00
parent b9ea293f31
commit 9f5436bf80

View File

@@ -85,7 +85,7 @@ public class LinkGenerator extends BaseComponentGenerator
if (component.getRendererType().equals("javax.faces.Link") == true)
{
// Add child text component
UIOutput output = createOutputTextComponent(context, "label_" + component.getId());
UIOutput output = createOutputTextComponent(context, "linklabel_" + component.getId());
output.setValueBinding("value", component.getValueBinding("value"));
component.getChildren().add(output);
}