Examples of removeRenderedArea()


Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

       
        if (suggestionBox.isSubmitted()) {
            body.encode(getTemplateContext(context, suggestionBox));
            // Replace rendered area ID from component to suggestion table
            suggestionBox.setRowIndex(-1);
            ajaxContext.removeRenderedArea(clientId);
            ajaxContext.addRenderedArea(getContentId(context, component));
        }
        else if (ajaxContext.isAjaxRequest() && ajaxRenderedAreas.contains(clientId))
        {
          ajaxRenderedAreas.add(clientId + "_script");
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

      if (!params.containsKey(FORCE_PERCENT_PARAM)
          && params.containsKey(PERCENT_PARAM)) {
        Number value = getNumber(this.getAttributes().get(
            RendererUtils.HTML.value_ATTRIBUTE));
        ajaxContext.removeRenderedArea(clientId);
        ajaxContext
            .setResponseData(getResponseData(value, facesContext));

        AjaxRendererUtils.addRegionsFromComponent(this, facesContext);
      } else if (params.containsKey(FORCE_PERCENT_PARAM)) {
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

       
        if (suggestionBox.isSubmitted()) {
            body.encode(getTemplateContext(context, suggestionBox));
            // Replace rendered area ID from component to suggestion table
            suggestionBox.setRowIndex(-1);
            ajaxContext.removeRenderedArea(clientId);
            ajaxContext.addRenderedArea(getContentId(context, component));
        }
        else if (ajaxContext.isAjaxRequest() && ajaxRenderedAreas.contains(clientId))
        {
          ajaxRenderedAreas.add(clientId + "_script");
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

       
        if (suggestionBox.isSubmitted()) {
            body.encode(getTemplateContext(context, suggestionBox));
            // Replace rendered area ID from component to suggestion table
            suggestionBox.setRowIndex(-1);
            ajaxContext.removeRenderedArea(clientId);
            ajaxContext.addRenderedArea(getContentId(context, component));
        }
        else if (ajaxContext.isAjaxRequest() && ajaxRenderedAreas.contains(clientId))
        {
          ajaxRenderedAreas.add(clientId + "_script");
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

            }
            body.encode(getTemplateContext(context, suggestionBox));
            // Replace rendered area ID from component to suggestion table
            suggestionBox.setRowIndex(-1);
            AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
            ajaxContext.removeRenderedArea(component.getClientId(context));
            ajaxContext.addRenderedArea(getContentId(context, component));
        }
    }

    /**
 
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

        if (suggestionBox.isSubmitted()) {
            body.encode(getTemplateContext(context, suggestionBox));
            // Replace rendered area ID from component to suggestion table
            suggestionBox.setRowIndex(-1);
            AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
            ajaxContext.removeRenderedArea(component.getClientId(context));
            ajaxContext.addRenderedArea(getContentId(context, component));
        }
    }

    /**
 
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

       
        if (suggestionBox.isSubmitted()) {
            body.encode(getTemplateContext(context, suggestionBox));
            // Replace rendered area ID from component to suggestion table
            suggestionBox.setRowIndex(-1);
            ajaxContext.removeRenderedArea(clientId);
            ajaxContext.addRenderedArea(getContentId(context, component));
        }
        else if (ajaxContext.isAjaxRequest() && ajaxRenderedAreas.contains(clientId))
        {
          ajaxRenderedAreas.add(clientId + "_script");
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

      if (!params.containsKey(FORCE_PERCENT_PARAM)
          && params.containsKey(PERCENT_PARAM)) {
        Number value = getNumber(this.getAttributes().get(
            RendererUtils.HTML.value_ATTRIBUTE));
        ajaxContext.removeRenderedArea(clientId);
        ajaxContext
            .setResponseData(getResponseData(value, facesContext));

        AjaxRendererUtils.addRegionsFromComponent(this, facesContext);
      } else if (params.containsKey(FORCE_PERCENT_PARAM)) {
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.removeRenderedArea()

            suggestionBox.setupValue(context);
            body.encode(getTemplateContext(context, suggestionBox));
            // Replace rendered area ID from component to suggestion table
            suggestionBox.setRowIndex(-1);
            AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
            ajaxContext.removeRenderedArea(component.getClientId(context));
            ajaxContext.addRenderedArea(getContentId(context, component));
        }
    }

    /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.