Skip to content
Snippets Groups Projects
Commit be86e7ed authored by Shinsuke Sugaya's avatar Shinsuke Sugaya
Browse files

fix #1406 add hasViewHelper

parent b0761d7c
No related branches found
No related tags found
No related merge requests found
...@@ -438,6 +438,10 @@ public final class ComponentUtil { ...@@ -438,6 +438,10 @@ public final class ComponentUtil {
} }
} }
public static boolean hasViewHelper() {
return SingletonLaContainerFactory.getContainer().hasComponentDef(VIEW_HELPER);
}
public static boolean hasQueryHelper() { public static boolean hasQueryHelper() {
return SingletonLaContainerFactory.getContainer().hasComponentDef(QUERY_HELPER); return SingletonLaContainerFactory.getContainer().hasComponentDef(QUERY_HELPER);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment