Package org.openfaces.component.table.impl

Examples of org.openfaces.component.table.impl.DynamicColumn.enterComponentContext()


                            int nextIndex = summaryListIterator.nextIndex();
                            UIComponent summaryOwner = summaryOwners.get(nextIndex);
                            if (summaryOwner instanceof DynamicColumn) {
                                DynamicColumn dynamicColumn = (DynamicColumn) summaryOwner;
                                restoreDynamicColumnVariables = dynamicColumn.enterComponentContext();
                            }
                            return summaryListIterator.next();
                        }

                        public void remove() {
View Full Code Here


            return getByExpression(true);
        }

        public Object getByValue(ELContext elContext) {
            DynamicColumn dynamicColumn = column instanceof DynamicColumn ? (DynamicColumn) column : null;
            Runnable restoreVariables = dynamicColumn != null ? dynamicColumn.enterComponentContext() : null;
            Object value = getByExpression().getValue(elContext);
            if (restoreVariables != null) restoreVariables.run();
            return value;
        }
View Full Code Here

                return parent;
            } else if (parent instanceof Columns) {
                List<DynamicColumn> dynamicColumns = ((Columns) parent).toColumnList(context);
                int columnIndex = Integer.parseInt(id);
                final DynamicColumn dynamicColumn = dynamicColumns.get(columnIndex);
                final Runnable restoreVariables = dynamicColumn.enterComponentContext();
                if (restoreDataPointerRunnables != null)
                    restoreDataPointerRunnables.add(new Runnable() {
                        public void run() {
                            if (restoreVariables != null) restoreVariables.run();
                        }
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.