All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
.admingui.console-jca-plugin.3.1.1-b11.source-code.adminObjectAttr.inc Maven / Gradle / Ivy
Go to download
Connectors plugin bundle for GlassFish V3 Admin Console
#include "/common/applications/applicationHandlers.inc"
$page{nameId});
/>
$page{resCompId});
/>
$page{resAdaptorPropId});
/>
$attribute{statusComponent});
getUIComponentProperty(component="$attribute{statusComponent}", name="submittedValue", value=>$attribute{status});
}
getUIComponent(clientId="#{descId}", component=>$attribute{descComponent});
getUIComponentProperty(component="$attribute{descComponent}", name="submittedValue", value=>$attribute{desc});
//gf.navigate works only for new page & not for edit page
//conversely gf.redirect works only for edit page & not new page
//needs more investigation - same scenario in component below too
if(!#{edit}){
getUIComponent(clientId="#{resCompId}", component=>$attribute{nameComponent});
getUIComponentProperty(component="$attribute{nameComponent}", name="submittedValue", value=>$attribute{nameChosen});
gf.navigate(page="#{selfPage}");
}
if(#{edit}){
getUIComponent(clientId="#{nameId}", component=>$attribute{nameComponent});
getUIComponentProperty(component="$attribute{nameComponent}", name="value", value=>$attribute{nameChosen});
if(#{statusId}) {
gf.redirect(page="#{selfPage}&reload=#{reload}&name=$attribute{nameChosen}&resAdapter=#{resAdapter}&description=#{desc}&status=#{status[0]}");
}
if(!#{statusId}) {
gf.redirect(page="#{selfPage}&reload=#{reload}&name=$attribute{nameChosen}&resAdapter=#{resAdapter}&description=#{desc}");
}
}
/>
$page{resTypePropId});
/>
$attribute{resAdaptorComponent});
getUIComponentProperty(component="$attribute{resAdaptorComponent}", name="selected", value=>$attribute{resAdapter});
if(#{statusId}) {
getUIComponent(clientId="#{statusId}", component=>$attribute{statusComponent});
getUIComponentProperty(component="$attribute{statusComponent}", name="submittedValue", value=>$attribute{status});
}
getUIComponent(clientId="#{descId}", component=>$attribute{descComponent});
getUIComponentProperty(component="$attribute{descComponent}", name="submittedValue", value=>$attribute{desc});
if(!#{edit}){
getUIComponent(clientId="#{resCompId}", component=>$attribute{nameComponent});
getUIComponentProperty(component="$attribute{nameComponent}", name="submittedValue", value=>$attribute{nameChosen});
gf.navigate(page="#{selfPage}");
}
if(#{edit}){
getUIComponent(clientId="#{nameId}", component=>$attribute{nameComponent});
getUIComponentProperty(component="$attribute{nameComponent}", name="value", value=>$attribute{nameChosen});
if(#{statusId}) {
gf.redirect(page="#{selfPage}&reload=#{reload}&name=$attribute{nameChosen}&resType=#{resType}&resAdapter=$attribute{resAdapter}&description=#{desc}&status=#{status[0]}");
}
if(!#{statusId}) {
gf.redirect(page="#{selfPage}&reload=#{reload}&name=$attribute{nameChosen}&resType=#{resType}&resAdapter=$attribute{resAdapter}&description=#{desc}");
}
}
/>
$attribute{resAdaptorComponent});
getUIComponentProperty(component="$attribute{resAdaptorComponent}", name="selected", value=>$attribute{resAdapter});
getUIComponent(clientId="#{resTypePropId}", component=>$attribute{resTypeComponent});
getUIComponentProperty(component="$attribute{resTypeComponent}", name="selected", value=>$attribute{resType});
if(#{statusId}) {
getUIComponent(clientId="#{statusId}", component=>$attribute{statusComponent});
getUIComponentProperty(component="$attribute{statusComponent}", name="submittedValue", value=>$attribute{status});
}
getUIComponent(clientId="#{descId}", component=>$attribute{descComponent});
getUIComponentProperty(component="$attribute{descComponent}", name="submittedValue", value=>$attribute{desc});
if(!#{edit}){
getUIComponent(clientId="#{resCompId}", component=>$attribute{nameComponent});
getUIComponentProperty(component="$attribute{nameComponent}", name="submittedValue", value=>$attribute{nameChosen});
gf.navigate(page="#{selfPage}");
}
/>
$page{descId});
/>
$page{statusId});
/>
"