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

shared.propertyDescTable.inc Maven / Gradle / Ivy

The newest version!






         $page{tableId});
        />

    
        
            $page{topActionGroup});
                />
               
                $attribute{tableRowGroup});
                    addRowToTable(TableRowGroup="$attribute{tableRowGroup}", NameList={"name", "value", "description"});
                />                                 
            
            
                $attribute{trg});   
                    getSelectedTableRowKeys(tableRowGroup="${trg}" rowKeys=>$attribute{rowKeys});
                    deleteTableRows(tableRowGroup="${trg}" rowKeys="${rowKeys}");
                    commitTableRowGroup(tableRowGroup="${trg}");
                />                                
            
        
           
    
        
            // Ensure all required fields exist
            foreach (var="item" list="#{pageSession.tableList}") {
                if ("!(#{item.name}=#{null})") {
                    if ("#{item.value}=#{null}") {
                        mapPut(map="#{item}" key="value" value="");
                    }
                    if ("#{item.description}=#{null}") {
                        mapPut(map="#{item}" key="description" value="");
                    }
                }
            }

            // Add extra table properties...
            createList(size="0", result="#{pageSession.tableList2}");
            foreach(var="row" list="#{pageSession.tableList}") {
                selectiveEncode(value="#{row.name}" result="#{requestScope.tlEncName}");
                gf.createAttributeMap(
                    keys={"selected", "encodedName", "description"},
                    values={"$boolean{false}", "$attribute{tlEncName}", ""},
                    map="#{requestScope.tlMap}");
                listAdd(list="#{pageSession.tableList2}", value="#{requestScope.tlMap}");
            }
        
        
            getClientId(component="$this{component}" clientId=>$page{propertyTableRowGroupId});
        
        
            
                            
        
            
        
        
            
        
        
            
        
        "




© 2015 - 2025 Weber Informatics LLC | Privacy Policy