Examples of invokeOnComponent()


Examples of org.primefaces.component.datalist.DataList.invokeOnComponent()

  }

  public void onPizzaRemove(DragDropEvent event) {
    DataList dataList = (DataList) event.getComponent().findComponent("orderedPizza");

    dataList.invokeOnComponent(FacesContext.getCurrentInstance(), event.getDragId(), new ContextCallback() {

            public void invokeContextCallback(FacesContext fc, UIComponent component) {
                HtmlPanelGroup panelGroup = (HtmlPanelGroup) component;
                String pizza = panelGroup != null ? (String) panelGroup.getAttributes().get("pizza") : "";
View Full Code Here

Examples of org.richfaces.component.AbstractTree.invokeOnComponent()

        Object selectionRowKey = null;

        if (!Strings.isNullOrEmpty(selectedNode)) {
            RowKeyContextCallback rowKeyContextCallback = new RowKeyContextCallback();
            tree.invokeOnComponent(context, selectedNode, rowKeyContextCallback);
            selectionRowKey = rowKeyContextCallback.getRowKey();
        }

        Collection<Object> selection = tree.getSelection();
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.