Package org.apache.myfaces.trinidadinternal.ui.action

Examples of org.apache.myfaces.trinidadinternal.ui.action.ClientAction


    UINode           node
    ) throws IOException
  {
    // If we've got a ClientAction, let it write its dependencies
    // before we start rendering the checkBox
    ClientAction action = ClientActionUtils.getPrimaryClientAction(context,
                                                                   node);
    if (action != null)
      action.writeDependencies(context, node);

    // get the image source
    Object source = _getLocalSource(context, node);

    // get the destination
View Full Code Here


  protected void prerender(UIXRenderingContext context, UINode node)
    throws IOException
  {
   // If we've got a ClientAction, let it write its dependencies
    // before we start rendering the link
    ClientAction action = ClientActionUtils.getPrimaryClientAction(context,
                                                                   node);
    if (action != null)
      action.writeDependencies(context, node);
    super.prerender(context, node);

    Object iconURI = node.getAttributeValue(context, ICON_ATTR);

View Full Code Here

                                           _NONE);
    if (prop != _NONE)
      return prop;

    Object onClick = super.getOnClick(context, node);
    ClientAction action = ClientActionUtils.getPrimaryClientAction(context,
                                                                   node);

    String actionScript = null;

    if (action != null)
    {
      if (action.renderAsEvent(context, node) &&
          (getDestinationAttr(context, node) == null))
      {
        // We must ignore actionScript if there is a destination or else the
        // destination will never execute because the onclick will run first.
        actionScript = action.getScript(context, node, Boolean.FALSE);
      }
    }
    /*
    else
    {
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidadinternal.ui.action.ClientAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.