Package javax.faces.component

Examples of javax.faces.component.UIViewRoot.resetValues()


                }
                writer.writePreamble("<?xml version='1.0' encoding='" + encoding + "'?>\n");
                writer.startDocument();
               
                if (isResetValues()) {
                    viewRoot.resetValues(ctx, myRenderIds);
                }
               
                if (isRenderAll()) {
                    renderAll(ctx, viewRoot);
                    renderState(ctx);
View Full Code Here


            {
                list.add(getComponentId(faces, contextComponent, id));
            }
           
            // Call resetValues
            root.resetValues(faces, list);
        }
    }
   
    private final static class LiteralResetValuesActionListener implements ActionListener, Serializable
    {
View Full Code Here

            for (String id : clientIds)
            {
                list.add(getComponentId(faces, contextComponent, id));
            }
           
            root.resetValues(faces, list);
        }
    }
   
    private static final String getComponentId(FacesContext facesContext,
        UIComponent contextComponent, String id)
View Full Code Here

                }
                writer.writePreamble("<?xml version='1.0' encoding='" + encoding + "'?>\n");
                writer.startDocument();
               
                if (isResetValues()) {
                    viewRoot.resetValues(ctx, myRenderIds);
                }
               
                if (isRenderAll()) {
                    renderAll(ctx, viewRoot);
                    renderState(ctx);
View Full Code Here

//                }
//                writer.writePreamble("<?xml version='1.0' encoding='" + encoding + "'?>\n");
                writer.startDocument();
               
                if (isResetValues()) {
                    viewRoot.resetValues(ctx, myRenderIds);
                }
               
                if (isRenderAll()) {
                    renderAll(ctx, viewRoot);
                    renderState(ctx);
View Full Code Here

                }
                writer.writePreamble("<?xml version='1.0' encoding='" + encoding + "'?>\n");
                writer.startDocument();
               
                if (isResetValues()) {
                    viewRoot.resetValues(ctx, myRenderIds);
                }
               
                if (isRenderAll()) {
                    renderAll(ctx, viewRoot);
                    renderState(ctx);
View Full Code Here

        public void processAction(ActionEvent event)
              throws AbortProcessingException {
            FacesContext context = FacesContext.getCurrentInstance();
            UIViewRoot root = context.getViewRoot();
            root.resetValues(context, render);
        }
    }

    /**
     * @param config
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.