
shared.propertyDescTable.inc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-common Show documentation
Show all versions of console-common Show documentation
This bundle contains common code that may be shared across plugins.
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