Example usage for com.liferay.portal.kernel.servlet.taglib.ui FormNavigatorCategoryUtil getKeys

List of usage examples for com.liferay.portal.kernel.servlet.taglib.ui FormNavigatorCategoryUtil getKeys

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.servlet.taglib.ui FormNavigatorCategoryUtil getKeys.

Prototype

public static String[] getKeys(String formNavigatorId) 

Source Link

Usage

From source file:com.liferay.frontend.taglib.form.navigator.internal.osgi.commands.FormNavigatorOSGiCommands.java

License:Open Source License

public void getPossibleConfigurations() {
    for (String formNavigatorId : _getAllFormNavigatorIds()) {
        String[] formNavigatorCategoryKeys = FormNavigatorCategoryUtil.getKeys(formNavigatorId);

        System.out.println(formNavigatorId);

        for (String formNavigatorCategoryKey : formNavigatorCategoryKeys) {
            String line = _getCategoryLine(formNavigatorId, formNavigatorCategoryKey);

            System.out.print(StringPool.TAB);
            System.out.print(line);
        }//ww w . ja  v a 2 s  .  c  o m
    }
}

From source file:com.liferay.frontend.taglib.form.navigator.internal.osgi.commands.FormNavigatorOSGiCommands.java

License:Open Source License

public void getPossibleConfigurations(String formNavigatorId) {
    String[] formNavigatorCategoryKeys = FormNavigatorCategoryUtil.getKeys(formNavigatorId);

    for (String formNavigatorCategoryKey : formNavigatorCategoryKeys) {
        System.out.print(_getCategoryLine(formNavigatorId, formNavigatorCategoryKey));
    }//  w w w.  j a  va2  s  .  com
}