org.apache.jetspeed.portlets.security.rolemgt
Class RoleMgtRenderUtil

java.lang.Object
  extended byorg.apache.jetspeed.portlets.security.rolemgt.RoleMgtRenderUtil

public class RoleMgtRenderUtil
extends Object

Utility class used for rendering.

Author:
David Le Strat

Field Summary
private static String DETAIL_SUFFIX
           
 
Constructor Summary
RoleMgtRenderUtil()
           
 
Method Summary
static org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane findTabbedPane(javax.faces.component.UIComponent component)
           Utility method used to locate the tabbed panel component.
static org.apache.myfaces.custom.tree.HtmlTree findTree(javax.faces.component.UIComponent component)
           Utility method used to locate the tree table component.
private static String getBundleString(ResourceBundle bundle, String key)
           Utility to get a bundle string.
static javax.faces.application.FacesMessage getMessage(Locale locale, javax.faces.application.FacesMessage.Severity severity, String messageId, String bundleName, Object[] args)
           Utility to get validation messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DETAIL_SUFFIX

private static final String DETAIL_SUFFIX
See Also:
Constant Field Values
Constructor Detail

RoleMgtRenderUtil

public RoleMgtRenderUtil()
Method Detail

findTabbedPane

public static org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane findTabbedPane(javax.faces.component.UIComponent component)

Utility method used to locate the tabbed panel component.

Parameters:
component - The component.
Returns:
The HtmlPanelTabbedPane.

findTree

public static org.apache.myfaces.custom.tree.HtmlTree findTree(javax.faces.component.UIComponent component)

Utility method used to locate the tree table component.

Parameters:
component - The component.
Returns:
The HtmlTree.

getMessage

public static javax.faces.application.FacesMessage getMessage(Locale locale,
                                                              javax.faces.application.FacesMessage.Severity severity,
                                                              String messageId,
                                                              String bundleName,
                                                              Object[] args)

Utility to get validation messages.

Parameters:
locale - The locale.
severity - The severity.
messageId - The messageId.
bundleName - The bundleName.
args - The args.
Returns:
The FacesMessage

getBundleString

private static String getBundleString(ResourceBundle bundle,
                                      String key)

Utility to get a bundle string.

Parameters:
bundle - The bundle.
key - The key.
Returns:
The message.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.