mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -57,7 +57,7 @@ public class LinkGenerator extends BaseComponentGenerator
|
||||
component = context.getApplication().createComponent(ComponentConstants.JAVAX_FACES_INPUT);
|
||||
component.setRendererType(ComponentConstants.JAVAX_FACES_TEXT);
|
||||
}
|
||||
|
||||
|
||||
FacesHelper.setupComponentId(context, component, id);
|
||||
return component;
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user