Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.facelets.library
Class LayoutTagLibrary

java.lang.Object
  extended by com.sun.facelets.tag.AbstractTagLibrary
      extended by org.nuxeo.ecm.platform.forms.layout.facelets.library.LayoutTagLibrary
All Implemented Interfaces:
com.sun.facelets.tag.TagLibrary

public class LayoutTagLibrary
extends com.sun.facelets.tag.AbstractTagLibrary

Layout tag library

Author:
Anahide Tchertchian

Field Summary
static LayoutTagLibrary Instance
           
static String Namespace
           
 
Constructor Summary
LayoutTagLibrary()
           
 
Method Summary
static List<String> getDefaultSelectedRowNames(Layout layout, boolean showAlwaysSelected)
           
static String getFieldDefinitionsAsString(FieldDefinition[] defs)
          Returns a String representing each of the field definitions property name, separated by a space.
static List<LayoutRow> getNotSelectedRows(Layout layout, List<String> selectedRowNames)
           
static List<LayoutRow> getSelectedRows(Layout layout, List<String> selectedRowNames, boolean showAlwaysSelected)
           
static WidgetTypeDefinition getWidgetTypeDefinition(String typeName)
           
 
Methods inherited from class com.sun.facelets.tag.AbstractTagLibrary
containsFunction, containsNamespace, containsTagHandler, createFunction, createTagHandler, getNamespace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Namespace

public static final String Namespace
See Also:
Constant Field Values

Instance

public static final LayoutTagLibrary Instance
Constructor Detail

LayoutTagLibrary

public LayoutTagLibrary()
Method Detail

getWidgetTypeDefinition

public static WidgetTypeDefinition getWidgetTypeDefinition(String typeName)

getFieldDefinitionsAsString

public static String getFieldDefinitionsAsString(FieldDefinition[] defs)
Returns a String representing each of the field definitions property name, separated by a space.


getSelectedRows

public static List<LayoutRow> getSelectedRows(Layout layout,
                                              List<String> selectedRowNames,
                                              boolean showAlwaysSelected)

getNotSelectedRows

public static List<LayoutRow> getNotSelectedRows(Layout layout,
                                                 List<String> selectedRowNames)

getDefaultSelectedRowNames

public static List<String> getDefaultSelectedRowNames(Layout layout,
                                                      boolean showAlwaysSelected)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.