From 68e456357d0c45720d9854204c16426b12b5033a Mon Sep 17 00:00:00 2001 From: Thomas Andraschko Date: Thu, 19 Oct 2017 19:28:44 +0200 Subject: [PATCH] #2838 --- .../component/api/AutoUpdatable.java | 28 - .../autoupdate/AutoUpdateListener.java | 55 + .../autoupdate/AutoUpdatePhaseListener.java} | 8 +- .../autoupdate/AutoUpdateTagHandler.java | 48 + .../component/fragment/FragmentRenderer.java | 4 - .../primefaces/context/RequestContext.java | 1 - .../primefaces/util/AjaxRequestBuilder.java | 4 - .../util/AutoUpdateComponentListener.java | 85 -- .../java/org/primefaces/util/Constants.java | 1 - .../standard-facelets-taglib.xml | 941 +++++++++--------- .../standard-faces-config.xml | 21 +- .../resources-maven-jsf/ui/commandButton.xml | 604 +++++------ .../resources-maven-jsf/ui/commandLink.xml | 562 +++++------ src/main/resources-maven-jsf/ui/fragment.xml | 8 +- src/main/resources-maven-jsf/ui/growl.xml | 168 ++-- src/main/resources-maven-jsf/ui/hotkey.xml | 72 +- src/main/resources-maven-jsf/ui/menuitem.xml | 358 +++---- src/main/resources-maven-jsf/ui/messages.xml | 148 ++- .../resources-maven-jsf/ui/outputPanel.xml | 10 - src/main/resources-maven-jsf/ui/poll.xml | 76 +- .../resources-maven-jsf/ui/remoteCommand.xml | 74 +- .../resources-maven-jsf/ui/splitButton.xml | 584 +++++------ .../resources/primefaces/core/core.ajax.js | 4 - 23 files changed, 1896 insertions(+), 1968 deletions(-) delete mode 100644 src/main/java/org/primefaces/component/api/AutoUpdatable.java create mode 100644 src/main/java/org/primefaces/component/autoupdate/AutoUpdateListener.java rename src/main/java/org/primefaces/{util/AutoUpdateComponentPhaseListener.java => component/autoupdate/AutoUpdatePhaseListener.java} (80%) create mode 100644 src/main/java/org/primefaces/component/autoupdate/AutoUpdateTagHandler.java delete mode 100644 src/main/java/org/primefaces/util/AutoUpdateComponentListener.java diff --git a/src/main/java/org/primefaces/component/api/AutoUpdatable.java b/src/main/java/org/primefaces/component/api/AutoUpdatable.java deleted file mode 100644 index 5af34378d3..0000000000 --- a/src/main/java/org/primefaces/component/api/AutoUpdatable.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright 2009-2017 PrimeTek. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.primefaces.component.api; - -import javax.faces.context.FacesContext; - -/** - * For Components that support auto updating - */ -public interface AutoUpdatable { - - public boolean isAutoUpdate(); - - public String getClientId(FacesContext context); -} diff --git a/src/main/java/org/primefaces/component/autoupdate/AutoUpdateListener.java b/src/main/java/org/primefaces/component/autoupdate/AutoUpdateListener.java new file mode 100644 index 0000000000..b1afe4e958 --- /dev/null +++ b/src/main/java/org/primefaces/component/autoupdate/AutoUpdateListener.java @@ -0,0 +1,55 @@ +/** + * Copyright 2009-2017 PrimeTek. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.primefaces.component.autoupdate; + +import java.util.ArrayList; +import javax.faces.component.UIComponent; +import javax.faces.context.FacesContext; +import javax.faces.event.AbortProcessingException; +import javax.faces.event.ComponentSystemEvent; +import javax.faces.event.ComponentSystemEventListener; + +/** + * Registers components to auto update + */ +public class AutoUpdateListener implements ComponentSystemEventListener { + + private static final String COMPONENTS = AutoUpdateListener.class.getName() + ".COMPONENTS"; + + @Override + public void processEvent(ComponentSystemEvent cse) throws AbortProcessingException { + FacesContext context = FacesContext.getCurrentInstance(); + String clientId = ((UIComponent) cse.getSource()).getClientId(context); + + ArrayList clientIds = getOrCreateAutoUpdateComponentClientIds(context); + if (!clientIds.contains(clientId)) { + clientIds.add(clientId); + } + } + + public static ArrayList getOrCreateAutoUpdateComponentClientIds(FacesContext context) { + ArrayList clientIds = getAutoUpdateComponentClientIds(context); + if (clientIds == null) { + clientIds = new ArrayList(); + context.getViewRoot().getAttributes().put(COMPONENTS, clientIds); + } + return clientIds; + } + + public static ArrayList getAutoUpdateComponentClientIds(FacesContext context) { + return (ArrayList) context.getViewRoot().getAttributes().get(COMPONENTS); + } +} diff --git a/src/main/java/org/primefaces/util/AutoUpdateComponentPhaseListener.java b/src/main/java/org/primefaces/component/autoupdate/AutoUpdatePhaseListener.java similarity index 80% rename from src/main/java/org/primefaces/util/AutoUpdateComponentPhaseListener.java rename to src/main/java/org/primefaces/component/autoupdate/AutoUpdatePhaseListener.java index a7b8548d1a..1ff718aaed 100644 --- a/src/main/java/org/primefaces/util/AutoUpdateComponentPhaseListener.java +++ b/src/main/java/org/primefaces/component/autoupdate/AutoUpdatePhaseListener.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.primefaces.util; +package org.primefaces.component.autoupdate; import java.util.ArrayList; import javax.faces.context.FacesContext; @@ -22,7 +22,7 @@ import javax.faces.event.PhaseListener; import org.primefaces.context.RequestContext; -public class AutoUpdateComponentPhaseListener implements PhaseListener { +public class AutoUpdatePhaseListener implements PhaseListener { @Override public void afterPhase(PhaseEvent event) { @@ -32,11 +32,11 @@ public void afterPhase(PhaseEvent event) { @Override public void beforePhase(PhaseEvent event) { FacesContext context = event.getFacesContext(); - if (RequestContext.getCurrentInstance(context).isIgnoreAutoUpdate()) { + if (!context.isPostback() || RequestContext.getCurrentInstance(context).isIgnoreAutoUpdate()) { return; } - ArrayList clientIds = AutoUpdateComponentListener.getAutoUpdateComponentClientIds(context); + ArrayList clientIds = AutoUpdateListener.getAutoUpdateComponentClientIds(context); if (clientIds != null && !clientIds.isEmpty()) { for (int i = 0; i < clientIds.size(); i++) { String clientId = clientIds.get(i); diff --git a/src/main/java/org/primefaces/component/autoupdate/AutoUpdateTagHandler.java b/src/main/java/org/primefaces/component/autoupdate/AutoUpdateTagHandler.java new file mode 100644 index 0000000000..a41a5e206b --- /dev/null +++ b/src/main/java/org/primefaces/component/autoupdate/AutoUpdateTagHandler.java @@ -0,0 +1,48 @@ +/** + * Copyright 2009-2017 PrimeTek. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.primefaces.component.autoupdate; + +import java.io.IOException; +import javax.el.ELException; +import javax.faces.FacesException; +import javax.faces.component.UIComponent; +import javax.faces.event.PostAddToViewEvent; +import javax.faces.event.PreRenderComponentEvent; +import javax.faces.view.facelets.FaceletContext; +import javax.faces.view.facelets.FaceletException; +import javax.faces.view.facelets.TagConfig; +import javax.faces.view.facelets.TagHandler; + +public class AutoUpdateTagHandler extends TagHandler { + + private static final AutoUpdateListener LISTENER = new AutoUpdateListener(); + + public AutoUpdateTagHandler(TagConfig tagConfig) { + super(tagConfig); + } + + @Override + public void apply(FaceletContext faceletContext, UIComponent parent) throws IOException, FacesException, FaceletException, ELException { + // PostAddToViewEvent should work for stateless views + // but fails for MyFaces ViewPooling + // and sometimes on postbacks as PostAddToViewEvent should actually ony be called once + parent.subscribeToEvent(PostAddToViewEvent.class, LISTENER); + + // PreRenderComponentEvent should work for normal cases and MyFaces ViewPooling + // but likely fails for stateless view as we save the clientIds in the viewRoot + parent.subscribeToEvent(PreRenderComponentEvent.class, LISTENER); + } +} diff --git a/src/main/java/org/primefaces/component/fragment/FragmentRenderer.java b/src/main/java/org/primefaces/component/fragment/FragmentRenderer.java index 1c1b168bc7..18910d861b 100644 --- a/src/main/java/org/primefaces/component/fragment/FragmentRenderer.java +++ b/src/main/java/org/primefaces/component/fragment/FragmentRenderer.java @@ -34,10 +34,6 @@ public void encodeBegin(FacesContext context, UIComponent component) throws IOEx Map attrs = RequestContext.getCurrentInstance(context).getAttributes(); attrs.put(Constants.FRAGMENT_ID, clientId); - if (fragment.isAutoUpdate()) { - attrs.put(Constants.FRAGMENT_AUTO_RENDERED, true); - } - writer.startElement("div", component); writer.writeAttribute("id", clientId, "id"); } diff --git a/src/main/java/org/primefaces/context/RequestContext.java b/src/main/java/org/primefaces/context/RequestContext.java index 0d9028c591..5e1c92765c 100644 --- a/src/main/java/org/primefaces/context/RequestContext.java +++ b/src/main/java/org/primefaces/context/RequestContext.java @@ -21,7 +21,6 @@ import javax.faces.application.FacesMessage; import javax.faces.context.FacesContext; -import org.primefaces.component.api.AutoUpdatable; import org.primefaces.util.AjaxRequestBuilder; import org.primefaces.util.CSVBuilder; import org.primefaces.util.StringEncrypter; diff --git a/src/main/java/org/primefaces/util/AjaxRequestBuilder.java b/src/main/java/org/primefaces/util/AjaxRequestBuilder.java index c70328252e..2a1057092e 100644 --- a/src/main/java/org/primefaces/util/AjaxRequestBuilder.java +++ b/src/main/java/org/primefaces/util/AjaxRequestBuilder.java @@ -356,10 +356,6 @@ private void addFragmentConfig() { Object fragmentId = attrs.get(Constants.FRAGMENT_ID); if (fragmentId != null) { buffer.append(",fi:\"").append(fragmentId).append("\""); - - if (attrs.containsKey(Constants.FRAGMENT_AUTO_RENDERED)) { - buffer.append(",fu:true"); - } } } } diff --git a/src/main/java/org/primefaces/util/AutoUpdateComponentListener.java b/src/main/java/org/primefaces/util/AutoUpdateComponentListener.java deleted file mode 100644 index 8505b1224f..0000000000 --- a/src/main/java/org/primefaces/util/AutoUpdateComponentListener.java +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright 2009-2017 PrimeTek. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.primefaces.util; - -import java.util.ArrayList; -import javax.faces.component.UIComponent; -import javax.faces.context.FacesContext; -import javax.faces.event.AbortProcessingException; -import javax.faces.event.PostAddToViewEvent; -import javax.faces.event.PreRenderComponentEvent; -import javax.faces.event.SystemEvent; -import javax.faces.event.SystemEventListener; -import org.primefaces.component.api.AutoUpdatable; -import org.primefaces.context.RequestContext; - -/** - * Registers components to auto update before rendering - */ -public class AutoUpdateComponentListener implements SystemEventListener { - - private static final String COMPONENTS = AutoUpdateComponentListener.class.getName() + ".COMPONENTS"; - - @Override - public void processEvent(SystemEvent cse) throws AbortProcessingException { - if (!(cse.getSource() instanceof AutoUpdatable)) { - return; - } - - FacesContext context = FacesContext.getCurrentInstance(); - AutoUpdatable component = (AutoUpdatable) cse.getSource(); - String clientId = ((UIComponent) component).getClientId(context); - - // PostAddToViewEvent should work for stateless views - // but fails for MyFaces ViewPooling - // and sometimes on postbacks as PostAddToViewEvent should actually ony be called once - if (cse instanceof PostAddToViewEvent) { - if (component.isAutoUpdate() && context.isPostback()) { - if (!RequestContext.getCurrentInstance(context).isIgnoreAutoUpdate() && - !context.getPartialViewContext().getRenderIds().contains(clientId)) { - context.getPartialViewContext().getRenderIds().add(clientId); - } - } - } - // PreRenderComponentEvent should work for normal cases and MyFaces ViewPooling - // but likely fails for stateless view as we save the clientIds in the viewRoot - else if (cse instanceof PreRenderComponentEvent) { - ArrayList clientIds = getAutoUpdateComponentClientIds(context); - if (clientIds == null) { - clientIds = new ArrayList(); - context.getViewRoot().getAttributes().put(COMPONENTS, clientIds); - } - - if (component.isAutoUpdate()) { - if (!clientIds.contains(clientId)) { - clientIds.add(clientId); - } - } - else { - clientIds.remove(clientId); - } - } - } - - @Override - public boolean isListenerForSource(Object o) { - return o instanceof AutoUpdatable; - } - - public static ArrayList getAutoUpdateComponentClientIds(FacesContext context) { - return (ArrayList) context.getViewRoot().getAttributes().get(COMPONENTS); - } -} diff --git a/src/main/java/org/primefaces/util/Constants.java b/src/main/java/org/primefaces/util/Constants.java index 612db5ff68..ab77751857 100644 --- a/src/main/java/org/primefaces/util/Constants.java +++ b/src/main/java/org/primefaces/util/Constants.java @@ -72,7 +72,6 @@ public static class RequestParams { public static final String BARCODE_MAPPING = "primefaces.barcodeMapping"; public final static String FRAGMENT_ID = "primefaces.fragment"; - public final static String FRAGMENT_AUTO_RENDERED = "primefaces.fragment.autorendered"; public static class DIALOG_FRAMEWORK { diff --git a/src/main/resources-maven-jsf/standard-facelets-taglib.xml b/src/main/resources-maven-jsf/standard-facelets-taglib.xml index c0c2282ea5..22d96bc897 100644 --- a/src/main/resources-maven-jsf/standard-facelets-taglib.xml +++ b/src/main/resources-maven-jsf/standard-facelets-taglib.xml @@ -1,493 +1,500 @@ - component - org.primefaces.util.ComponentUtils - java.lang.String findComponentClientId(java.lang.String) - - - - resolveClientId - org.primefaces.expression.SearchExpressionUtils - java.lang.String resolveClientId(java.lang.String, javax.faces.component.UIComponent) - - - resolveClientIds - org.primefaces.expression.SearchExpressionUtils - java.lang.String resolveClientIds(java.lang.String, javax.faces.component.UIComponent) - - - resolveWidgetVar - org.primefaces.expression.SearchExpressionUtils - java.lang.String resolveWidgetVar(java.lang.String, javax.faces.component.UIComponent) - + component + org.primefaces.util.ComponentUtils + java.lang.String findComponentClientId(java.lang.String) + - - widgetVar - org.primefaces.util.ComponentUtils - java.lang.String resolveWidgetVar(java.lang.String) - + + resolveClientId + org.primefaces.expression.SearchExpressionUtils + java.lang.String resolveClientId(java.lang.String, javax.faces.component.UIComponent) + + + resolveClientIds + org.primefaces.expression.SearchExpressionUtils + java.lang.String resolveClientIds(java.lang.String, javax.faces.component.UIComponent) + + + resolveWidgetVar + org.primefaces.expression.SearchExpressionUtils + java.lang.String resolveWidgetVar(java.lang.String, javax.faces.component.UIComponent) + - - widgetVarFromContext - org.primefaces.util.ComponentUtils - java.lang.String resolveWidgetVar(java.lang.String, javax.faces.component.UIComponent) - + + widgetVar + org.primefaces.util.ComponentUtils + java.lang.String resolveWidgetVar(java.lang.String) + - - ifGranted - org.primefaces.util.SecurityUtils - java.lang.Boolean ifGranted(java.lang.String) - + + widgetVarFromContext + org.primefaces.util.ComponentUtils + java.lang.String resolveWidgetVar(java.lang.String, javax.faces.component.UIComponent) + - - ifAllGranted - org.primefaces.util.SecurityUtils - java.lang.Boolean ifAllGranted(java.lang.String) - + + ifGranted + org.primefaces.util.SecurityUtils + java.lang.Boolean ifGranted(java.lang.String) + - - ifAnyGranted - org.primefaces.util.SecurityUtils - java.lang.Boolean ifAnyGranted(java.lang.String) - + + ifAllGranted + org.primefaces.util.SecurityUtils + java.lang.Boolean ifAllGranted(java.lang.String) + - - ifNoneGranted - org.primefaces.util.SecurityUtils - java.lang.Boolean ifNoneGranted(java.lang.String) - + + ifAnyGranted + org.primefaces.util.SecurityUtils + java.lang.Boolean ifAnyGranted(java.lang.String) + - - remoteUser - org.primefaces.util.SecurityUtils - java.lang.String remoteUser() - + + ifNoneGranted + org.primefaces.util.SecurityUtils + java.lang.Boolean ifNoneGranted(java.lang.String) + + + + remoteUser + org.primefaces.util.SecurityUtils + java.lang.String remoteUser() + + + + userPrincipal + org.primefaces.util.SecurityUtils + java.security.Principal userPrincipal() + - - userPrincipal - org.primefaces.util.SecurityUtils - java.security.Principal userPrincipal() - + + autoUpdate + + org.primefaces.component.autoupdate.AutoUpdateTagHandler + + - - dataExporter - - org.primefaces.component.export.DataExporterTagHandler - - - Server side id of the datatable whose data would be exported. - target - true - java.lang.String - - - Export type: "xls","pdf","csv", "xml". - type - true - java.lang.String - - - Filename of the generated export file, defaults to datatable server side id. - fileName - false - java.lang.String - - - Exports only current page instead of whole dataset. - pageOnly - false - java.lang.Boolean - - - PreProcessor for the exported document. - preProcessor - false - javax.el.MethodExpression - - - PostProcessor for the exported document. - postProcessor - false - javax.el.MethodExpression - - - Character encoding to use. - encoding - false - java.lang.String - - - When enabled, only selection would be exported. - selectionOnly - false - java.lang.Boolean - - - When enabled, dynamic datatables would be exported. - repeat - false - java.lang.Boolean - - - Exports the header and cell content according to the option. - options - false - java.lang.Object - - + + dataExporter + + org.primefaces.component.export.DataExporterTagHandler + + + Server side id of the datatable whose data would be exported. + target + true + java.lang.String + + + Export type: "xls","pdf","csv", "xml". + type + true + java.lang.String + + + Filename of the generated export file, defaults to datatable server side id. + fileName + false + java.lang.String + + + Exports only current page instead of whole dataset. + pageOnly + false + java.lang.Boolean + + + PreProcessor for the exported document. + preProcessor + false + javax.el.MethodExpression + + + PostProcessor for the exported document. + postProcessor + false + javax.el.MethodExpression + + + Character encoding to use. + encoding + false + java.lang.String + + + When enabled, only selection would be exported. + selectionOnly + false + java.lang.Boolean + + + When enabled, dynamic datatables would be exported. + repeat + false + java.lang.Boolean + + + Exports the header and cell content according to the option. + options + false + java.lang.Object + + - - fileDownload - - org.primefaces.component.filedownload.FileDownloadTagHandler - - - A streamed content instance. - value - true - java.lang.Object - - - Specifies display mode, valid values are "attachment" (default) and "inline". - contentDisposition - false - java.lang.String - - - Defines setting cookie key for monitorDownload method on client side. - monitorKey - false - java.lang.String - - + + fileDownload + + org.primefaces.component.filedownload.FileDownloadTagHandler + + + A streamed content instance. + value + true + java.lang.Object + + + Specifies display mode, valid values are "attachment" (default) and "inline". + contentDisposition + false + java.lang.String + + + Defines setting cookie key for monitorDownload method on client side. + monitorKey + false + java.lang.String + + - - collector - - org.primefaces.component.collector.CollectorTagHandler - - - Value to be used in collection operation. - value - true - java.lang.Object - - - Reference to the Collection instance. - addTo - false - java.lang.Object - - - Reference to the Collection instance. - removeFrom - false - java.lang.Object - - - Checks for duplicate items on addition, default is true. - unique - true - java.lang.Object - - + + collector + + org.primefaces.component.collector.CollectorTagHandler + + + Value to be used in collection operation. + value + true + java.lang.Object + + + Reference to the Collection instance. + addTo + false + java.lang.Object + + + Reference to the Collection instance. + removeFrom + false + java.lang.Object + + + Checks for duplicate items on addition, default is true. + unique + true + java.lang.Object + + - - ajax - - org.primefaces.component.AjaxBehavior - org.primefaces.behavior.ajax.AjaxBehaviorHandler - - - Method to process in partial request. - listener - false - javax.el.MethodExpression - - - Boolean value that determines the phaseId to execute listener. Default is false meaning "Invoke Application" phase, when true + + ajax + + org.primefaces.component.AjaxBehavior + org.primefaces.behavior.ajax.AjaxBehaviorHandler + + + Method to process in partial request. + listener + false + javax.el.MethodExpression + + + Boolean value that determines the phaseId to execute listener. Default is false meaning "Invoke Application" phase, when true phase is "Apply Request Values". - immediate - false - java.lang.Boolean - - - When set to true, ajax requests are not queued. - async - false - java.lang.Boolean - - - Component(s) to process in partial request. Defaults to @this. - process - false - java.lang.String - - - Component(s) to update with ajax. - update - false - java.lang.String - - - Client side callback execute before ajax request is begins. - onstart - false - java.lang.String - - - Client side callback execute when ajax request is completed and dom is updated. - oncomplete - false - java.lang.String - - - Client side callback execute when ajax requests returns with error response. - onerror - false - java.lang.String - - - Client side callback execute before dom is updated. - onsuccess - false - java.lang.String - - - Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus. - global - false - java.lang.Boolean - - - If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. - delay - false - java.lang.String - - - Disables ajax behavior. - disabled - false - java.lang.Boolean - - - Client side event to trigger ajax request. + immediate + false + java.lang.Boolean + + + When set to true, ajax requests are not queued. + async + false + java.lang.Boolean + + + Component(s) to process in partial request. Defaults to @this. + process + false + java.lang.String + + + Component(s) to update with ajax. + update + false + java.lang.String + + + Client side callback execute before ajax request is begins. + onstart + false + java.lang.String + + + Client side callback execute when ajax request is completed and dom is updated. + oncomplete + false + java.lang.String + + + Client side callback execute when ajax requests returns with error response. + onerror + false + java.lang.String + + + Client side callback execute before dom is updated. + onsuccess + false + java.lang.String + + + Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus. + global + false + java.lang.Boolean + + + If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. + delay + false + java.lang.String + + + Disables ajax behavior. + disabled + false + java.lang.Boolean + + + Client side event to trigger ajax request. Default value is defined by parent ClientBehaviorHolder component the behavior is attached to. - event - false - java.lang.String - - - When enabled, only values related to partially processed components would be serialized for ajax + event + false + java.lang.String + + + When enabled, only values related to partially processed components would be serialized for ajax instead of whole form. - partialSubmit - false - java.lang.Boolean - - - resetValues - false - java.lang.Boolean - If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. - - - ignoreAutoUpdate - false - java.lang.Boolean - If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. - - - partialSubmitFilter - false - java.lang.String - Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. - - - form - false - java.lang.String - Form to serialize for an ajax request. Default is the enclosing form. - - - skipChildren - false - java.lang.String - Some components skips processing of their children in certain events, setting skipChildren as false to disables this behavior. - - + partialSubmit + false + java.lang.Boolean + + + resetValues + false + java.lang.Boolean + If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. + + + ignoreAutoUpdate + false + java.lang.Boolean + If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. + + + partialSubmitFilter + false + java.lang.String + Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. + + + form + false + java.lang.String + Form to serialize for an ajax request. Default is the enclosing form. + + + skipChildren + false + java.lang.String + Some components skips processing of their children in certain events, setting skipChildren as false to disables this behavior. + + - - printer - - org.primefaces.component.PrinterBehavior - - - Id of the component to print. - target - false - java.lang.String - - + + printer + + org.primefaces.component.PrinterBehavior + + + Id of the component to print. + target + false + java.lang.String + + - - confirm - - org.primefaces.behavior.ConfirmBehavior - org.primefaces.behavior.confirm.ConfirmBehaviorHandler - - - Header text of the confirmation dialog. - header - false - java.lang.String - - - Detail text of the confirmation dialog. - message - false - java.lang.String - - - Icon to display inside the confirm dialog. - icon - false - java.lang.String - - - Disables confirm behavior. - disabled - false - java.lang.Boolean - - + + confirm + + org.primefaces.behavior.ConfirmBehavior + org.primefaces.behavior.confirm.ConfirmBehaviorHandler + + + Header text of the confirmation dialog. + header + false + java.lang.String + + + Detail text of the confirmation dialog. + message + false + java.lang.String + + + Icon to display inside the confirm dialog. + icon + false + java.lang.String + + + Disables confirm behavior. + disabled + false + java.lang.Boolean + + - - resetInput - - org.primefaces.component.resetinput.ResetInputTagHandler - - - Comma or white-space separated list of component ids. - target - true - java.lang.String - - - Whether to assign null values to bound values as well. - clearModel - false - java.lang.Boolean - - + + resetInput + + org.primefaces.component.resetinput.ResetInputTagHandler + + + Comma or white-space separated list of component ids. + target + true + java.lang.String + + + Whether to assign null values to bound values as well. + clearModel + false + java.lang.Boolean + + - - clientValidator - - org.primefaces.behavior.ClientValidator - - - Event to trigger the validation. - event - false - java.lang.String - - - Disables instant client validation for the attached input. - disabled - false - java.lang.Boolean - - + + clientValidator + + org.primefaces.behavior.ClientValidator + + + Event to trigger the validation. + event + false + java.lang.String + + + Disables instant client validation for the attached input. + disabled + false + java.lang.Boolean + + - - repeat - - org.primefaces.component.UIRepeat - - - The name of a collection of items that this tag iterates over. The collection may be a List, array, java.sql.ResultSet, or an individual java Object. If the collection is null, this tag does nothing. - value - true - java.lang.Object - - - Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the object of the underlying collection. - var - true - java.lang.String - - - Name of the exported request scoped variable for the status of the iteration. Object is a POJO with the following read-only JavaBeans properties. This scoped variable has nested visibility. - varStatus - false - java.lang.String - - - Read-write property setting the offset from the beginning of the collection from which to start the iteration. If not set, this offset is not considered and iteration will start at the beginning of the collection. - offset - false - java.lang.Integer - - - Iteration will only process every step items of the collection, starting with the first one. - step - false - java.lang.Integer - - - Read-write property setting the size of the collection to iterate. If this value is less than the actual size of the collection, a FacesException must be thrown. - size - false - java.lang.Integer - - - - + + repeat + + org.primefaces.component.UIRepeat + + + The name of a collection of items that this tag iterates over. The collection may be a List, array, java.sql.ResultSet, or an individual java Object. If the collection is null, this tag does nothing. + value + true + java.lang.Object + + + Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the object of the underlying collection. + var + true + java.lang.String + + + Name of the exported request scoped variable for the status of the iteration. Object is a POJO with the following read-only JavaBeans properties. This scoped variable has nested visibility. + varStatus + false + java.lang.String + + + Read-write property setting the offset from the beginning of the collection from which to start the iteration. If not set, this offset is not considered and iteration will start at the beginning of the collection. + offset + false + java.lang.Integer + + + Iteration will only process every step items of the collection, starting with the first one. + step + false + java.lang.Integer + + + Read-write property setting the size of the collection to iterate. If this value is less than the actual size of the collection, a FacesException must be thrown. + size + false + java.lang.Integer + + + + + + importConstants + org.primefaces.component.importconstants.ImportConstantsTagHandler + + - importConstants - org.primefaces.component.importconstants.ImportConstantsTagHandler - - - - type - true - java.lang.String - - - + type + true + java.lang.String + + + - - var - false - java.lang.String - - - - - importEnum - org.primefaces.component.importenum.ImportEnumTagHandler - - - - type - true - java.lang.String - - - + var + false + java.lang.String + + + + + + importEnum + org.primefaces.component.importenum.ImportEnumTagHandler + + + + type + true + java.lang.String + + + - - var - false - java.lang.String - - - + + var + false + java.lang.String + + + - - allSuffix - false - java.lang.String - - \ No newline at end of file + + allSuffix + false + java.lang.String + + \ No newline at end of file diff --git a/src/main/resources-maven-jsf/standard-faces-config.xml b/src/main/resources-maven-jsf/standard-faces-config.xml index 07e45ea7ca..39e465478a 100644 --- a/src/main/resources-maven-jsf/standard-faces-config.xml +++ b/src/main/resources-maven-jsf/standard-faces-config.xml @@ -7,7 +7,7 @@ org.primefaces.application.resource.DynamicResourcesPhaseListener - org.primefaces.util.AutoUpdateComponentPhaseListener + org.primefaces.component.autoupdate.AutoUpdatePhaseListener @@ -26,25 +26,6 @@ javax.faces.event.PreDestroyApplicationEvent javax.faces.application.Application - - org.primefaces.util.AutoUpdateComponentListener - javax.faces.event.PostAddToViewEvent - org.primefaces.component.messages.Messages - - - org.primefaces.util.AutoUpdateComponentListener - javax.faces.event.PostAddToViewEvent - org.primefaces.component.growl.Growl - - - org.primefaces.util.AutoUpdateComponentListener - javax.faces.event.PostAddToViewEvent - org.primefaces.component.outputpanel.OutputPanel - - - org.primefaces.util.AutoUpdateComponentListener - javax.faces.event.PreRenderComponentEvent - org.primefaces.event.system.DynamicColumnsListener javax.faces.event.PostAddToViewEvent diff --git a/src/main/resources-maven-jsf/ui/commandButton.xml b/src/main/resources-maven-jsf/ui/commandButton.xml index 15ebcf9d2b..694a8fe22f 100644 --- a/src/main/resources-maven-jsf/ui/commandButton.xml +++ b/src/main/resources-maven-jsf/ui/commandButton.xml @@ -7,381 +7,381 @@ ]> - commandButton - org.primefaces.component.commandbutton.CommandButtonTag - org.primefaces.component.commandbutton.CommandButton - org.primefaces.component.CommandButton - org.primefaces.component - org.primefaces.component.CommandButtonRenderer - org.primefaces.component.commandbutton.CommandButtonRenderer - javax.faces.component.html.HtmlCommandButton + commandButton + org.primefaces.component.commandbutton.CommandButtonTag + org.primefaces.component.commandbutton.CommandButton + org.primefaces.component.CommandButton + org.primefaces.component + org.primefaces.component.CommandButtonRenderer + org.primefaces.component.commandbutton.CommandButtonRenderer + javax.faces.component.html.HtmlCommandButton CommandButton is an extended version of standard JSF commandButton with ajax and skinning features. - - - org.primefaces.component.api.AjaxSource - + - org.primefaces.component.api.Widget - + org.primefaces.component.api.AjaxSource + - org.primefaces.component.api.Confirmable - + org.primefaces.component.api.Widget + - org.primefaces.component.api.PrimeClientBehaviorHolder - - - + org.primefaces.component.api.Confirmable + + + org.primefaces.component.api.PrimeClientBehaviorHolder + + + &command_component_attributes; &widget_var_attribute; - - ajax - false - java.lang.Boolean - true + + ajax + false + java.lang.Boolean + true Specifies the submit mode, when set to true (default), submit would be made with Ajax. - - - async - false - java.lang.Boolean - false + + + async + false + java.lang.Boolean + false When set to true, ajax requests are not queued. - - - process - false - java.lang.String + + + process + false + java.lang.String Component(s) to process partially instead of whole view. - - - update - false - java.lang.String + + + update + false + java.lang.String Component(s) to be updated with ajax. - - - onstart - false - java.lang.String + + + onstart + false + java.lang.String Client side callback to execute before ajax request is begins. - - - oncomplete - false - java.lang.String + + + oncomplete + false + java.lang.String Client side callback to execute when ajax request is completed. - - - onerror - false - java.lang.String + + + onerror + false + java.lang.String Client side callback to execute when ajax request fails. - - - onsuccess - false - java.lang.String + + + onsuccess + false + java.lang.String Client side callback to execute when ajax request succeeds. - - - global - false - java.lang.Boolean - true + + + global + false + java.lang.Boolean + true Defines whether to trigger ajaxStatus or not. - - - delay - false - java.lang.String + + + delay + false + java.lang.String If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. - - - timeout - false - 0 - java.lang.Integer + + + timeout + false + 0 + java.lang.Integer Defines the timeout for the ajax request. - + - partialSubmit - false - java.lang.Boolean - false + partialSubmit + false + java.lang.Boolean + false When enabled, only values related to partially processed components would be serialized for ajax - instead of whole form. - + instead of whole form. + - resetValues - false - java.lang.Boolean - false + resetValues + false + java.lang.Boolean + false If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. - + - ignoreAutoUpdate - false - java.lang.Boolean - false + ignoreAutoUpdate + false + java.lang.Boolean + false If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. - - - accesskey - false - java.lang.String - true + + + accesskey + false + java.lang.String + true Access key that when pressed transfers focus to the button. - - - alt - false - java.lang.String - true + + + alt + false + java.lang.String + true Alternate textual description of the button. - - - dir - false - java.lang.String - true + + + dir + false + java.lang.String + true Direction indication for text that does not inherit directionality. Valid values are LTR and RTL. - - - disabled - false - java.lang.Boolean - true + + + disabled + false + java.lang.Boolean + true Disables the button. - - - image - false - java.lang.String - true + + + image + false + java.lang.String + true Style class representing the button icon. - - - label - false - java.lang.String - true + + + label + false + java.lang.String + true A localized user presentable name. - - - lang - false - java.lang.String - true + + + lang + false + java.lang.String + true Code describing the language used in the generated markup for this component. - - - tabindex - false - java.lang.String - true + + + tabindex + false + java.lang.String + true Position of the button element in the tabbing order. - - - title - false - java.lang.String - true + + + title + false + java.lang.String + true Advisory tooltip informaton. - - - type - false - java.lang.String - true + + + type + false + java.lang.String + true Sets the behavior of the button. Default is submit. - - - style - false - java.lang.String - true + + + style + false + java.lang.String + true Inline style of the button element. - - - styleClass - false - java.lang.String - true + + + styleClass + false + java.lang.String + true Style class of the button element. - - - onblur - false - java.lang.String - true + + + onblur + false + java.lang.String + true Client side callback to execute when button loses focus. - - - onchange - false - java.lang.String - true + + + onchange + false + java.lang.String + true Client side callback to execute when button loses focus and its value has been modified since gaining focus. - - - onclick - false - java.lang.String - true + + + onclick + false + java.lang.String + true Client side callback to execute when button is clicked. - - - ondblclick - false - java.lang.String - true + + + ondblclick + false + java.lang.String + true Client side callback to execute when button is double clicked. - - - onfocus - false - java.lang.String - true + + + onfocus + false + java.lang.String + true Client side callback to execute when button receives focus. - - - onkeydown - false - java.lang.String - true + + + onkeydown + false + java.lang.String + true Client side callback to execute when a key is pressed down over button. - - - onkeypress - false - java.lang.String - true + + + onkeypress + false + java.lang.String + true Client side callback to execute when a key is pressed and released over button. - - - onkeyup - false - java.lang.String - true + + + onkeyup + false + java.lang.String + true Client side callback to execute when a key is released over button. - - - onmousedown - false - java.lang.String - true + + + onmousedown + false + java.lang.String + true Client side callback to execute when a pointer button is pressed down over button. - - - onmousemove - false - java.lang.String - true + + + onmousemove + false + java.lang.String + true Client side callback to execute when a pointer button is moved within button. - - - onmouseout - false - java.lang.String - true + + + onmouseout + false + java.lang.String + true Client side callback to execute when a pointer button is moved away from button. - - - onmouseover - false - java.lang.String - true + + + onmouseover + false + java.lang.String + true Client side callback to execute when a pointer button is moved onto button. - - - onmouseup - false - java.lang.String - true + + + onmouseup + false + java.lang.String + true Client side callback to execute when a pointer button is released over button. - - - onselect - false - java.lang.String - true + + + onselect + false + java.lang.String + true Client side callback to execute when text within button is selected by user. - + - icon - false - java.lang.String + icon + false + java.lang.String Icon of the button. - + - iconPos - false - java.lang.String + iconPos + false + java.lang.String left Position of the icon, default value is left. - + - inline - false - java.lang.Boolean + inline + false + java.lang.Boolean false Displays button inline instead of fitting the content width, only used by mobile. - + - escape - false - java.lang.Boolean + escape + false + java.lang.Boolean true Defines if label of the component is escaped or not. - + - validateClient - false - java.lang.Boolean + validateClient + false + java.lang.Boolean false When set to true client side validation is enabled, global setting is required to be enabled as a prerequisite. - + - partialSubmitFilter - false - java.lang.String + partialSubmitFilter + false + java.lang.String Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. - + - form - false - java.lang.String + form + false + java.lang.String Form to serialize for an ajax request. Default is the enclosing form. - + - renderDisabledClick - false - java.lang.Boolean + renderDisabledClick + false + java.lang.Boolean true When enabled, click event can be added to disabled button - + - ariaLabel - false - java.lang.String + ariaLabel + false + java.lang.String - - - + + + + + components.css + + + jquery/jquery.js + - components.css - - - jquery/jquery.js - + jquery/jquery-plugins.js + - jquery/jquery-plugins.js - + core.js + - core.js - - - components.js - - + components.js + + \ No newline at end of file diff --git a/src/main/resources-maven-jsf/ui/commandLink.xml b/src/main/resources-maven-jsf/ui/commandLink.xml index 27d20bf91b..1e575c885f 100644 --- a/src/main/resources-maven-jsf/ui/commandLink.xml +++ b/src/main/resources-maven-jsf/ui/commandLink.xml @@ -8,342 +8,342 @@ ]> - commandLink - org.primefaces.component.commandlink.CommandLinkTag - org.primefaces.component.commandlink.CommandLink - org.primefaces.component.CommandLink - org.primefaces.component - org.primefaces.component.CommandLinkRenderer - org.primefaces.component.commandlink.CommandLinkRenderer - javax.faces.component.html.HtmlCommandLink + commandLink + org.primefaces.component.commandlink.CommandLinkTag + org.primefaces.component.commandlink.CommandLink + org.primefaces.component.CommandLink + org.primefaces.component + org.primefaces.component.CommandLinkRenderer + org.primefaces.component.commandlink.CommandLinkRenderer + javax.faces.component.html.HtmlCommandLink CommandLink extends standard JSF commandLink with Ajax capabilities. - - - org.primefaces.component.api.AjaxSource - + - org.primefaces.component.api.Confirmable - + org.primefaces.component.api.AjaxSource + - org.primefaces.component.api.PrimeClientBehaviorHolder - - - + org.primefaces.component.api.Confirmable + + + org.primefaces.component.api.PrimeClientBehaviorHolder + + + &command_component_attributes; - - ajax - false - java.lang.Boolean - true + + ajax + false + java.lang.Boolean + true Specifies the submit mode, when set to true (default), submit would be made with Ajax. - - - async - false - java.lang.Boolean - false + + + async + false + java.lang.Boolean + false When set to true, ajax requests are not queued. - - - process - false - java.lang.String + + + process + false + java.lang.String Component(s) to process partially instead of whole view. - - - update - false - java.lang.String + + + update + false + java.lang.String Component(s) to be updated with ajax. - - - onstart - false - java.lang.String + + + onstart + false + java.lang.String Client side callback to execute before ajax request is begins. - - - oncomplete - false - java.lang.String + + + oncomplete + false + java.lang.String Client side callback to execute when ajax request is completed. - - - onerror - false - java.lang.String + + + onerror + false + java.lang.String Client side callback to execute when ajax request fails. - - - onsuccess - false - java.lang.String + + + onsuccess + false + java.lang.String Client side callback to execute when ajax request succeeds. - - - global - false - java.lang.Boolean - true + + + global + false + java.lang.Boolean + true Defines whether to trigger ajaxStatus or not. - - - delay - false - java.lang.String + + + delay + false + java.lang.String If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. - - - timeout - false - java.lang.Integer - 0 + + + timeout + false + java.lang.Integer + 0 Defines the timeout for the ajax request. - + - partialSubmit - false - java.lang.Boolean - false + partialSubmit + false + java.lang.Boolean + false When enabled, only values related to partially processed components would be serialized for ajax - instead of whole form. - + instead of whole form. + - resetValues - false - java.lang.Boolean - false + resetValues + false + java.lang.Boolean + false If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. - + - ignoreAutoUpdate - false - java.lang.Boolean - false + ignoreAutoUpdate + false + java.lang.Boolean + false If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. - - - accesskey - false - java.lang.String - true + + + accesskey + false + java.lang.String + true Access key that when pressed transfers focus to the link. - - - charset - false - java.lang.String - true + + + charset + false + java.lang.String + true Character encoding of the resource designated by this hyperlink. - - - coords - false - java.lang.String - true + + + coords + false + java.lang.String + true Position and shape of the hot spot on the screen for client use in image maps. - - dir - false - java.lang.String - true + + dir + false + java.lang.String + true Direction indication for text that does not inherit directionality. Valid values are LTR and RTL. - - - disabled - false - false - java.lang.Boolean - true + + + disabled + false + false + java.lang.Boolean + true Disables the link. - - - hreflang - false - java.lang.String - true + + + hreflang + false + java.lang.String + true Languae code of the resource designated by the link. - - - rel - false - java.lang.String - true + + + rel + false + java.lang.String + true Relationship from the current document to the anchor specified by the link, values are provided by a space-separated list of link types. - - - rev - false - java.lang.String - true + + + rev + false + java.lang.String + true A reverse link from the anchor specified by this link to the current document, values are provided by a space-separated list of link types. - - - shape - false - java.lang.String - true + + + shape + false + java.lang.String + true Shape of hot spot on the screen, valid values are default, rect, circle and poly. - - - tabindex - false - java.lang.String - true + + + tabindex + false + java.lang.String + true Position of the button element in the tabbing order. - - - target - false - java.lang.String - true + + + target + false + java.lang.String + true Name of a frame where the resource targeted by this link will be displayed. - - - title - false - java.lang.String - true + + + title + false + java.lang.String + true Advisory tooltip informaton. - - - type - false - java.lang.String - true + + + type + false + java.lang.String + true Type of resource referenced by the link. - - - style - false - java.lang.String - true + + + style + false + java.lang.String + true Style to be applied on the anchor element. - - - styleClass - false - java.lang.String - true + + + styleClass + false + java.lang.String + true StyleClass to be applied on the anchor element - - - onblur - false - java.lang.String - true + + + onblur + false + java.lang.String + true Client side callback to execute when link loses focus. - - - onclick - false - java.lang.String - true + + + onclick + false + java.lang.String + true Client side callback to execute when link is clicked. - - - ondblclick - false - java.lang.String - true + + + ondblclick + false + java.lang.String + true Client side callback to execute when link is double clicked. - - - onfocus - false - java.lang.String - true + + + onfocus + false + java.lang.String + true Client side callback to execute when link receives focus. - - - onkeydown - false - java.lang.String - true + + + onkeydown + false + java.lang.String + true Client side callback to execute when a key is pressed down over link. - - - onkeypress - false - java.lang.String - true + + + onkeypress + false + java.lang.String + true Client side callback to execute when a key is pressed and released over link. - - - onkeyup - false - java.lang.String - true + + + onkeyup + false + java.lang.String + true Client side callback to execute when a key is released over link. - - - onmousedown - false - java.lang.String - true + + + onmousedown + false + java.lang.String + true Client side callback to execute when a pointer button is pressed down over link. - - - onmousemove - false - java.lang.String - true + + + onmousemove + false + java.lang.String + true Client side callback to execute when a pointer button is moved within link. - - - onmouseout - false - java.lang.String - true + + + onmouseout + false + java.lang.String + true Client side callback to execute when a pointer button is moved away from link. - - - onmouseover - false - java.lang.String - true + + + onmouseover + false + java.lang.String + true Client side callback to execute when a pointer button is moved onto link. - - - onmouseup - false - java.lang.String - true + + + onmouseup + false + java.lang.String + true Client side callback to execute when a pointer button is released over link. - + - validateClient - false - java.lang.Boolean + validateClient + false + java.lang.Boolean false When set to true client side validation is enabled, global setting is required to be enabled as a prerequisite. - + - partialSubmitFilter - false - java.lang.String + partialSubmitFilter + false + java.lang.String Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. - + - form - false - java.lang.String + form + false + java.lang.String Form to serialize for an ajax request. Default is the enclosing form. - - - - - jquery/jquery.js - + + + + + jquery/jquery.js + + + jquery/jquery-plugins.js + + + core.js + - jquery/jquery-plugins.js - - - core.js - - - components.js - - + components.js + + \ No newline at end of file diff --git a/src/main/resources-maven-jsf/ui/fragment.xml b/src/main/resources-maven-jsf/ui/fragment.xml index 98b3bbb54b..eb2b749079 100644 --- a/src/main/resources-maven-jsf/ui/fragment.xml +++ b/src/main/resources-maven-jsf/ui/fragment.xml @@ -15,12 +15,6 @@ javax.faces.component.UIPanel Fragment component is used to define automatically partially processed and updated sections. - - autoUpdate - false - java.lang.Boolean - false - - + \ No newline at end of file diff --git a/src/main/resources-maven-jsf/ui/growl.xml b/src/main/resources-maven-jsf/ui/growl.xml index 182b549ec0..9208cf44db 100644 --- a/src/main/resources-maven-jsf/ui/growl.xml +++ b/src/main/resources-maven-jsf/ui/growl.xml @@ -4,118 +4,108 @@ ]> - growl - org.primefaces.component.growl.GrowlTag - org.primefaces.component.growl.Growl - org.primefaces.component.Growl - org.primefaces.component - org.primefaces.component.GrowlRenderer - org.primefaces.component.growl.GrowlRenderer - javax.faces.component.UIMessages + growl + org.primefaces.component.growl.GrowlTag + org.primefaces.component.growl.Growl + org.primefaces.component.Growl + org.primefaces.component + org.primefaces.component.GrowlRenderer + org.primefaces.component.growl.GrowlRenderer + javax.faces.component.UIMessages Growl is based on the Mac's growl notification widget and used to display FacesMessages similar to h:messages. - org.primefaces.component.api.Widget - + org.primefaces.component.api.Widget + - org.primefaces.component.api.AutoUpdatable - - - org.primefaces.component.api.UINotification - - - - &standard_uicomponent_attributes; + org.primefaces.component.api.UINotification + + + + &standard_uicomponent_attributes; &widget_var_attribute; - - sticky - false - java.lang.Boolean - false + + sticky + false + java.lang.Boolean + false Specifies if the message should stay instead of hidden automatically. Default is false. - - - showSummary - false - java.lang.Boolean - true + + + showSummary + false + java.lang.Boolean + true true Specifies if the summary of message should be displayed. Default is true. - - - showDetail - false - java.lang.Boolean - false + + + showDetail + false + java.lang.Boolean + false true Specifies if the detail of message should be displayed. Default is false. - - - globalOnly - false - java.lang.Boolean - false + + + globalOnly + false + java.lang.Boolean + false true When true, only facesmessages without client-ids are displayed. Default is false. - - - life - false - java.lang.Integer - 6000 - Duration in milliseconds to display non-sticky messages. Default is 800. - + - autoUpdate - false - java.lang.Boolean - false - When enabled, growl is updated for each ajax request implicitly. - + life + false + java.lang.Integer + 6000 + Duration in milliseconds to display non-sticky messages. Default is 800. + - redisplay - false - java.lang.Boolean - true + redisplay + false + java.lang.Boolean + true true Defines if already rendered messages should be displayed. Default is true. - + - for - false - java.lang.String + for + false + java.lang.String true Identifier of the component whose messages to display only, takes precendence when used with globalOnly. - + - escape - false - java.lang.Boolean + escape + false + java.lang.Boolean true Defines whether html would be escaped or not, defaults to true. - + - severity - false - java.lang.String + severity + false + java.lang.String Comma seperated list of severities to display only. - - - - - components.css - - - jquery/jquery.js - + + + + + components.css + + + jquery/jquery.js + + + jquery/jquery-plugins.js + + + core.js + - jquery/jquery-plugins.js - - - core.js - - - components.js - - + components.js + + \ No newline at end of file diff --git a/src/main/resources-maven-jsf/ui/hotkey.xml b/src/main/resources-maven-jsf/ui/hotkey.xml index 6cd4a73982..4ebcde6ffc 100644 --- a/src/main/resources-maven-jsf/ui/hotkey.xml +++ b/src/main/resources-maven-jsf/ui/hotkey.xml @@ -98,19 +98,19 @@ true Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus. Default is true. - - delay - false - java.lang.String + + delay + false + java.lang.String If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. - - - timeout - false - java.lang.Integer - 0 + + + timeout + false + java.lang.Integer + 0 Defines the timeout for the ajax request. - + async false @@ -119,39 +119,39 @@ When set to true, ajax requests are not queued. Default is false. - partialSubmit - false - java.lang.Boolean - false - When enabled, only values related to partially processed components would be serialized for ajax - instead of whole form. - + partialSubmit + false + java.lang.Boolean + false + When enabled, only values related to partially processed components would be serialized for ajax + instead of whole form. + - resetValues - false - java.lang.Boolean - false + resetValues + false + java.lang.Boolean + false If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. - + - ignoreAutoUpdate - false - java.lang.Boolean - false + ignoreAutoUpdate + false + java.lang.Boolean + false If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. - + - partialSubmitFilter - false - java.lang.String + partialSubmitFilter + false + java.lang.String Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. - + - form - false - java.lang.String + form + false + java.lang.String Form to serialize for an ajax request. Default is the enclosing form. - + diff --git a/src/main/resources-maven-jsf/ui/menuitem.xml b/src/main/resources-maven-jsf/ui/menuitem.xml index c90e3dd0a6..04fba72fa2 100644 --- a/src/main/resources-maven-jsf/ui/menuitem.xml +++ b/src/main/resources-maven-jsf/ui/menuitem.xml @@ -4,245 +4,245 @@ ]> - menuitem - org.primefaces.component.menuitem.UIMenuItemTag - org.primefaces.component.menuitem.UIMenuItem - org.primefaces.component.UIMenuItem - org.primefaces.component - javax.faces.component.UICommand + menuitem + org.primefaces.component.menuitem.UIMenuItemTag + org.primefaces.component.menuitem.UIMenuItem + org.primefaces.component.UIMenuItem + org.primefaces.component + javax.faces.component.UICommand Menuitem is used by various menu components of PrimeFaces. - - - org.primefaces.component.api.AjaxSource - + - org.primefaces.component.api.UIOutcomeTarget - + org.primefaces.component.api.AjaxSource + - org.primefaces.model.menu.MenuItem - + org.primefaces.component.api.UIOutcomeTarget + - org.primefaces.component.api.Confirmable - + org.primefaces.model.menu.MenuItem + - javax.faces.component.behavior.ClientBehaviorHolder - + org.primefaces.component.api.Confirmable + - org.primefaces.component.api.PrimeClientBehaviorHolder - - - + javax.faces.component.behavior.ClientBehaviorHolder + + + org.primefaces.component.api.PrimeClientBehaviorHolder + + + &command_component_attributes; - - url - false - java.lang.String + + url + false + java.lang.String Url to be navigated when menuitem is clicked. - - - target - false - java.lang.String + + + target + false + java.lang.String Target type of url navigation. - - - style - false - java.lang.String + + + style + false + java.lang.String Style of the menuitem label. - - - styleClass - false - java.lang.String + + + styleClass + false + java.lang.String StyleClass of the menuitem label. - - - onclick - false - java.lang.String + + + onclick + false + java.lang.String Javascript event handler for click event. - - - update - false - java.lang.String + + + update + false + java.lang.String Client side id of the component(s) to be updated after async partial submit request. - - - process - false - java.lang.String + + + process + false + java.lang.String Component id(s) to process partially instead of whole view. - - - onstart - false - java.lang.String + + + onstart + false + java.lang.String Javascript handler to execute before ajax request is begins. - + - disabled - false - java.lang.Boolean + disabled + false + java.lang.Boolean false Disables or enables the menu item. - - - oncomplete - false - java.lang.String + + + oncomplete + false + java.lang.String Javascript handler to execute when ajax request is completed. - - - onerror - false - java.lang.String + + + onerror + false + java.lang.String Javascript handler to execute when ajax request fails. - - - onsuccess - false - java.lang.String + + + onsuccess + false + java.lang.String Javascript handler to execute when ajax request succeeds. - - - global - false - java.lang.Boolean - true + + + global + false + java.lang.Boolean + true Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus. - - - delay - false - java.lang.String + + + delay + false + java.lang.String If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. - - - timeout - false - java.lang.Integer - 0 + + + timeout + false + java.lang.Integer + 0 Defines the timeout for the ajax request. - - - async - false - java.lang.Boolean - false + + + async + false + java.lang.Boolean + false When set to true, ajax requests are not queued. - - - ajax - false - java.lang.Boolean - true + + + ajax + false + java.lang.Boolean + true Specifies submit mode. - - - icon - false - java.lang.String + + + icon + false + java.lang.String Path of the menuitem image. - + - iconPos - false - java.lang.String + iconPos + false + java.lang.String right Position of the icon, default value is right. - + - partialSubmit - false - java.lang.Boolean - false + partialSubmit + false + java.lang.Boolean + false When enabled, only values related to partially processed components would be serialized for ajax - instead of whole form. - + instead of whole form. + - resetValues - false - java.lang.Boolean - false + resetValues + false + java.lang.Boolean + false If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. - + - ignoreAutoUpdate - false - java.lang.Boolean - false + ignoreAutoUpdate + false + java.lang.Boolean + false If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. - + - title - false - java.lang.String + title + false + java.lang.String Title text of the menuitem. - + - outcome - false - java.lang.String + outcome + false + java.lang.String Used to resolve a navigation case. - + - includeViewParams - false - java.lang.Boolean + includeViewParams + false + java.lang.Boolean false Whether to include page parameters in target URI. Default is false. - + fragment false - java.lang.String + java.lang.String Identifier of the target page which should be scrolled to. - + - disableClientWindow - false - java.lang.Boolean + disableClientWindow + false + java.lang.Boolean false Disable appending the ClientWindow on the rendering of this element. - + - containerStyle - false - java.lang.String + containerStyle + false + java.lang.String Style of the menuitem container. - - - containerStyleClass - false - java.lang.String + + + containerStyleClass + false + java.lang.String StyleClass of the menuitem container. - + - partialSubmitFilter - false - java.lang.String + partialSubmitFilter + false + java.lang.String Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. - + - form - false - java.lang.String + form + false + java.lang.String Form to serialize for an ajax request. Default is the enclosing form. - + - escape - false - java.lang.Boolean + escape + false + java.lang.Boolean true Defines whether value would be escaped or not, defaults to true. - + - rel - false - java.lang.String + rel + false + java.lang.String Defines the relationship between the current document and the linked document. - - + + diff --git a/src/main/resources-maven-jsf/ui/messages.xml b/src/main/resources-maven-jsf/ui/messages.xml index 4099c3d6f3..f098d12f21 100644 --- a/src/main/resources-maven-jsf/ui/messages.xml +++ b/src/main/resources-maven-jsf/ui/messages.xml @@ -3,92 +3,82 @@ ]> - messages - org.primefaces.component.messages.MessagesTag - org.primefaces.component.messages.Messages - org.primefaces.component.Messages - org.primefaces.component - org.primefaces.component.MessagesRenderer - org.primefaces.component.messages.MessagesRenderer - javax.faces.component.UIMessages + messages + org.primefaces.component.messages.MessagesTag + org.primefaces.component.messages.Messages + org.primefaces.component.Messages + org.primefaces.component + org.primefaces.component.MessagesRenderer + org.primefaces.component.messages.MessagesRenderer + javax.faces.component.UIMessages Message is a pre-skinned extended version of the standard JSF message component with extensions. - - org.primefaces.component.api.AutoUpdatable - - org.primefaces.component.api.UINotification - - - - &standard_uicomponent_attributes; - - showSummary - false - java.lang.Boolean - true + org.primefaces.component.api.UINotification + + + + &standard_uicomponent_attributes; + + showSummary + false + java.lang.Boolean + true true Specifies if the summary of the FacesMessage should be displayed. Default is true. - - - showDetail - false - java.lang.Boolean - false + + + showDetail + false + java.lang.Boolean + false true Specifies if the detail of the FacesMessage should be displayed. Default is false. - - - globalOnly - false - java.lang.Boolean - false + + + globalOnly + false + java.lang.Boolean + false true When true, only facesmessages with no clientIds are displayed. Default is false. - - - redisplay - false - java.lang.Boolean - true + + + redisplay + false + java.lang.Boolean + true true Defines if already rendered messages should be displayed. Default is true. - + - for - false - java.lang.String + for + false + java.lang.String true Identifier of the component whose messages to display only, takes precendence when used - with globalOnly. - - - autoUpdate - false - java.lang.Boolean - false - - + with globalOnly. + - escape - false - java.lang.Boolean + escape + false + java.lang.Boolean true Defines whether html would be escaped or not, defaults to true. - + - severity - false - java.lang.String + severity + false + java.lang.String Comma seperated list of severities to display only. - + - closable - false - java.lang.Boolean + closable + false + java.lang.Boolean false Adds a close icon to hide the messages. - + style false @@ -102,22 +92,22 @@ Style class of the component. - showIcon - false - java.lang.Boolean - true + showIcon + false + java.lang.Boolean + true Defines if severity icons would be displayed. Default is true. - + - forType - false - java.lang.String + forType + false + java.lang.String Type of the "for" attribute. Valid values are "key" and "expression". - - - - - components.css - - + + + + + components.css + + \ No newline at end of file diff --git a/src/main/resources-maven-jsf/ui/outputPanel.xml b/src/main/resources-maven-jsf/ui/outputPanel.xml index e8694f5b9c..d0493f6f30 100644 --- a/src/main/resources-maven-jsf/ui/outputPanel.xml +++ b/src/main/resources-maven-jsf/ui/outputPanel.xml @@ -16,9 +16,6 @@ org.primefaces.component.api.Widget - - org.primefaces.component.api.AutoUpdatable - javax.faces.component.behavior.ClientBehaviorHolder @@ -40,13 +37,6 @@ java.lang.String StyleClass of the html container element. - - autoUpdate - false - java.lang.Boolean - false - Updates outputPanel after each ajax request implicity. - deferred false diff --git a/src/main/resources-maven-jsf/ui/poll.xml b/src/main/resources-maven-jsf/ui/poll.xml index 1ef09227f4..230e52cede 100644 --- a/src/main/resources-maven-jsf/ui/poll.xml +++ b/src/main/resources-maven-jsf/ui/poll.xml @@ -19,8 +19,8 @@ org.primefaces.component.api.AjaxSource - org.primefaces.component.api.Widget - + org.primefaces.component.api.Widget + &standard_uicomponent_attributes; @@ -89,19 +89,19 @@ true Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus. Default is true. - - delay - false - java.lang.String + + delay + false + java.lang.String If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. - - - timeout - false - 0 - java.lang.Integer + + + timeout + false + 0 + java.lang.Integer Defines the timeout for the ajax request. - + async false @@ -124,39 +124,39 @@ Stops polling when true. - partialSubmit - false - java.lang.Boolean - false - When enabled, only values related to partially processed components would be serialized for ajax - instead of whole form. - + partialSubmit + false + java.lang.Boolean + false + When enabled, only values related to partially processed components would be serialized for ajax + instead of whole form. + - resetValues - false - java.lang.Boolean - false + resetValues + false + java.lang.Boolean + false If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. - + - ignoreAutoUpdate - false - java.lang.Boolean - false + ignoreAutoUpdate + false + java.lang.Boolean + false If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. - + - partialSubmitFilter - false - java.lang.String + partialSubmitFilter + false + java.lang.String Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. - + - form - false - java.lang.String + form + false + java.lang.String Form to serialize for an ajax request. Default is the enclosing form. - + diff --git a/src/main/resources-maven-jsf/ui/remoteCommand.xml b/src/main/resources-maven-jsf/ui/remoteCommand.xml index c0547c267e..45321795f0 100644 --- a/src/main/resources-maven-jsf/ui/remoteCommand.xml +++ b/src/main/resources-maven-jsf/ui/remoteCommand.xml @@ -69,19 +69,19 @@ true Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus. - - delay - false - java.lang.String + + delay + false + java.lang.String If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. - - - timeout - false - 0 - java.lang.Integer + + + timeout + false + 0 + java.lang.Integer Defines the timeout for the ajax request. - + async false @@ -97,39 +97,39 @@ When set to true, command will be invoked on page load. - partialSubmit - false - java.lang.Boolean - false - When enabled, only values related to partially processed components would be serialized for ajax - instead of whole form. - + partialSubmit + false + java.lang.Boolean + false + When enabled, only values related to partially processed components would be serialized for ajax + instead of whole form. + - resetValues - false - java.lang.Boolean - false + resetValues + false + java.lang.Boolean + false If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. - + - ignoreAutoUpdate - false - java.lang.Boolean - false + ignoreAutoUpdate + false + java.lang.Boolean + false If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. - + - partialSubmitFilter - false - java.lang.String + partialSubmitFilter + false + java.lang.String Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. - + - form - false - java.lang.String + form + false + java.lang.String Form to serialize for an ajax request. Default is the enclosing form. - + @@ -137,7 +137,7 @@ jquery/jquery-plugins.js - + core.js diff --git a/src/main/resources-maven-jsf/ui/splitButton.xml b/src/main/resources-maven-jsf/ui/splitButton.xml index fb30880afa..6c491fe7f0 100644 --- a/src/main/resources-maven-jsf/ui/splitButton.xml +++ b/src/main/resources-maven-jsf/ui/splitButton.xml @@ -5,327 +5,327 @@ ]> - splitButton - org.primefaces.component.splitbutton.SplitButtonTag - org.primefaces.component.splitbutton.SplitButton - org.primefaces.component.SplitButton - org.primefaces.component - org.primefaces.component.SplitButtonRenderer - org.primefaces.component.splitbutton.SplitButtonRenderer - javax.faces.component.html.HtmlCommandButton + splitButton + org.primefaces.component.splitbutton.SplitButtonTag + org.primefaces.component.splitbutton.SplitButton + org.primefaces.component.SplitButton + org.primefaces.component + org.primefaces.component.SplitButtonRenderer + org.primefaces.component.splitbutton.SplitButtonRenderer + javax.faces.component.html.HtmlCommandButton SplitButton displays a default command and additional ones in an overlay. - org.primefaces.component.api.AjaxSource - - - org.primefaces.component.api.Widget - - - + org.primefaces.component.api.AjaxSource + + + org.primefaces.component.api.Widget + + + &command_component_attributes; &widget_var_attribute; - - ajax - false - java.lang.Boolean - true + + ajax + false + java.lang.Boolean + true Specifies the submit mode, when set to true (default), submit would be made with Ajax. - - - async - false - java.lang.Boolean - false + + + async + false + java.lang.Boolean + false When set to true, ajax requests are not queued. - - - process - false - java.lang.String + + + process + false + java.lang.String Component(s) to process partially instead of whole view. - - - update - false - java.lang.String + + + update + false + java.lang.String Component(s) to be updated with ajax. - - - onstart - false - java.lang.String + + + onstart + false + java.lang.String Client side callback to execute before ajax request is begins. - - - oncomplete - false - java.lang.String + + + oncomplete + false + java.lang.String Client side callback to execute when ajax request is completed. - - - onerror - false - java.lang.String + + + onerror + false + java.lang.String Client side callback to execute when ajax request fails. - - - onsuccess - false - java.lang.String + + + onsuccess + false + java.lang.String Client side callback to execute when ajax request succeeds. - - - global - false - java.lang.Boolean - true + + + global + false + java.lang.Boolean + true Defines whether to trigger ajaxStatus or not. - - - delay - false - java.lang.String + + + delay + false + java.lang.String If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used. - - - timeout - false - 0 - java.lang.Integer + + + timeout + false + 0 + java.lang.Integer Defines the timeout for the ajax request. - - - accesskey - false - java.lang.String - true + + + accesskey + false + java.lang.String + true Access key that when pressed transfers focus to the button. - - - alt - false - java.lang.String - true + + + alt + false + java.lang.String + true Alternate textual description of the button. - - - dir - false - java.lang.String - true + + + dir + false + java.lang.String + true Direction indication for text that does not inherit directionality. Valid values are LTR and RTL. - - - disabled - false - java.lang.Boolean - true + + + disabled + false + java.lang.Boolean + true Disables the button. - - - image - false - java.lang.String - true + + + image + false + java.lang.String + true Style class representing the button icon. - - - label - false - java.lang.String - true + + + label + false + java.lang.String + true A localized user presentable name. - - - lang - false - java.lang.String - true + + + lang + false + java.lang.String + true Code describing the language used in the generated markup for this component. - - - tabindex - false - java.lang.String - true + + + tabindex + false + java.lang.String + true Position of the button element in the tabbing order. - - - title - false - java.lang.String - true + + + title + false + java.lang.String + true Advisory tooltip informaton. - - - type - false - java.lang.String - true + + + type + false + java.lang.String + true Sets the behavior of the button. Default is submit. - - - readonly - false - java.lang.Boolean - true + + + readonly + false + java.lang.Boolean + true Flag indicating that this component will prevent changes by the user. - - - style - false - java.lang.String - true + + + style + false + java.lang.String + true Inline style of the button element. - - - styleClass - false - java.lang.String - true + + + styleClass + false + java.lang.String + true Style class of the button element. - - - onblur - false - java.lang.String - true + + + onblur + false + java.lang.String + true Client side callback to execute when button loses focus. - - - onchange - false - java.lang.String - true + + + onchange + false + java.lang.String + true Client side callback to execute when button loses focus and its value has been modified since gaining focus. - - - onclick - false - java.lang.String - true + + + onclick + false + java.lang.String + true Client side callback to execute when button is clicked. - - - ondblclick - false - java.lang.String - true + + + ondblclick + false + java.lang.String + true Client side callback to execute when button is double clicked. - - - onfocus - false - java.lang.String - true + + + onfocus + false + java.lang.String + true Client side callback to execute when button receives focus. - - - onkeydown - false - java.lang.String - true + + + onkeydown + false + java.lang.String + true Client side callback to execute when a key is pressed down over button. - - - onkeypress - false - java.lang.String - true + + + onkeypress + false + java.lang.String + true Client side callback to execute when a key is pressed and released over button. - - - onkeyup - false - java.lang.String - true + + + onkeyup + false + java.lang.String + true Client side callback to execute when a key is released over button. - - - onmousedown - false - java.lang.String - true + + + onmousedown + false + java.lang.String + true Client side callback to execute when a pointer button is pressed down over button. - - - onmousemove - false - java.lang.String - true + + + onmousemove + false + java.lang.String + true Client side callback to execute when a pointer button is moved within button. - - - onmouseout - false - java.lang.String - true + + + onmouseout + false + java.lang.String + true Client side callback to execute when a pointer button is moved away from button. - - - onmouseover - false - java.lang.String - true + + + onmouseover + false + java.lang.String + true Client side callback to execute when a pointer button is moved onto button. - - - onmouseup - false - java.lang.String - true + + + onmouseup + false + java.lang.String + true Client side callback to execute when a pointer button is released over button. - - - onselect - false - java.lang.String - true + + + onselect + false + java.lang.String + true Client side callback to execute when text within button is selected by user. - + - icon - false - java.lang.String + icon + false + java.lang.String Icon of the button. - + - iconPos - false - java.lang.String + iconPos + false + java.lang.String left Position of the icon, default value is left. - + - inline - false - java.lang.Boolean + inline + false + java.lang.Boolean false Displays button inline instead of fitting the content width, only used by mobile. - - - partialSubmit - false - java.lang.Boolean - false - When enabled, only values related to partially processed components would be serialized for ajax - instead of whole form. - - - resetValues - false - java.lang.Boolean - false + + + partialSubmit + false + java.lang.Boolean + false + When enabled, only values related to partially processed components would be serialized for ajax + instead of whole form. + + + resetValues + false + java.lang.Boolean + false If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made. - + - ignoreAutoUpdate - false - java.lang.Boolean - false + ignoreAutoUpdate + false + java.lang.Boolean + false If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made. - + appendTo false @@ -333,39 +333,39 @@ Appends the overlay to the element defined by search expression. Defaults to document body. - partialSubmitFilter - false - java.lang.String + partialSubmitFilter + false + java.lang.String Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components. - + menuStyleClass - false - java.lang.String + false + java.lang.String Style class of the overlay menu element. - + - form - false - java.lang.String + form + false + java.lang.String Form to serialize for an ajax request. Default is the enclosing form. - - - + + + + + components.css + - components.css - - - jquery/jquery.js - + jquery/jquery.js + - jquery/jquery-plugins.js - + jquery/jquery-plugins.js + - core.js - + core.js + - components.js - - + components.js + + \ No newline at end of file diff --git a/src/main/resources/META-INF/resources/primefaces/core/core.ajax.js b/src/main/resources/META-INF/resources/primefaces/core/core.ajax.js index d4bb1f2d15..66c1f91548 100644 --- a/src/main/resources/META-INF/resources/primefaces/core/core.ajax.js +++ b/src/main/resources/META-INF/resources/primefaces/core/core.ajax.js @@ -19,7 +19,6 @@ if (!PrimeFaces.ajax) { 'psf': 'partialSubmitFilter', 'rv': 'resetValues', 'fi': 'fragmentId', - 'fu': 'fragmentUpdate', 'pa': 'params', 'onst': 'onstart', 'oner': 'onerror', @@ -424,9 +423,6 @@ if (!PrimeFaces.ajax) { //update var updateArray = PrimeFaces.ajax.Request.resolveComponentsForAjaxCall(cfg, 'update'); - if(cfg.fragmentId && cfg.fragmentUpdate) { - updateArray.push(cfg.fragmentId); - } if(updateArray.length > 0) { PrimeFaces.ajax.Request.addParam(postParams, PrimeFaces.PARTIAL_UPDATE_PARAM, updateArray.join(' '), parameterPrefix); }