All Downloads are FREE. Search and download functionalities are using the official Maven repository.

physdest.physDestTable.jsf Maven / Gradle / Ivy

There is a newer version: 3.2-b06
Show newest version


    $page{tableId});
    />
    
         
            $page{topActionGroup});
            />
            
                
            

            
            $attribute{tableRowGroup});
                getSelectedSingleMapRows(TableRowGroup="${tableRowGroup}" selectedRows=>$attribute{selectedRows});
                prepareSuccessfulMsg();
                foreach (var="dest" list="$attribute{selectedRows}") {
                     createMap(result="#{requestScope.attrsMap}");
                     mapPut(map="#{requestScope.attrsMap}" key="desttype" value="#{dest.type}" );
                     mapPut(map="#{requestScope.attrsMap}" key="id" value="#{dest.name}" );
                     gf.restRequest(endpoint="#{pageSession.resourceUrl}/delete-jmsdest",
                        attrs="#{requestScope.attrsMap}", method="delete", result="#{requestScope.result}");
                }
                setAttribute(key="selectedRows" value="${selectedRows}");
                gf.redirect(page="#{pageSession.selfPage}");
            />
            
            
                $attribute{tableRowGroup});
                    getSelectedSingleMapRows(TableRowGroup="${tableRowGroup}" selectedRows=>$attribute{selectedRows});
//                    flushJMSDestination(selectedRows="${selectedRows}");
                    prepareAlertMsg(summary="$resource{i18njms.jmsPhysDestinations.purged}", type="success");
                    foreach (var="dest" list="$attribute{selectedRows}") {
                         createMap(result="#{requestScope.attrsMap}");
                         mapPut(map="#{requestScope.attrsMap}" key="desttype" value="#{dest.type}" );
                         mapPut(map="#{requestScope.attrsMap}" key="id" value="#{dest.name}" );
                         gf.restRequest(endpoint="#{pageSession.resourceUrl}/flush-jmsdest",
                            attrs="#{requestScope.attrsMap}", method="post", result="#{requestScope.result}");
                         // TODO: handle failures
                    }
                />
            
         
     

    
        
        $page{configsTableRowGroupId});
        />

        
            
            

        // TODO: Fix these links. Combine all of the phys dest pages into one
        
            
        

        
            
        
        
            
        
    





© 2015 - 2024 Weber Informatics LLC | Privacy Policy