You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by GitBox <gi...@apache.org> on 2022/11/09 11:26:17 UTC

[GitHub] [myfaces] cristof commented on a diff in pull request #366: Fixing localized composite behaviour (3.0.x)

cristof commented on code in PR #366:
URL: https://github.com/apache/myfaces/pull/366#discussion_r1017812955


##########
api/src/main/java/jakarta/faces/component/UIComponent.java:
##########
@@ -1842,4 +1841,41 @@ public void setTransient(boolean newTransientValue)
             }
         }
     }
+
+    private Resource getLocalizedCompositeResource(String resourceName, String libraryName, FacesContext context) 
+    {
+    	List<String> localizedPaths = getLocalizedPropertiesPaths(resourceName, context);
+    	Resource resource = null;
+    	
+    	for (String path_: localizedPaths) {
+    		resource = context.getApplication().getResourceHandler().createResource(path_, libraryName);
+    		if (resource != null)

Review Comment:
   Sorry about that. Fixed style in all four pull requests.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@myfaces.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org