
shared.targetSectionForCreate.inc Maven / Gradle / Ivy
#{requestScope.one} ){
setPageSessionAttribute(key="showTargetSection", value="#{true}");
//when issue#12596 is fixed. we should not preselect target.
//Because for the edit case, it has been set previously.
//for create case, we should leave it blank and warn user to select one.
if (#{pageSession.setDefaultTarget}){
setPageSessionAttribute(key="selectedTargets" value=["server"] );
#setPageSessionAttribute(key="selectedTargets" value=[] );
}
}
setPageSessionAttribute(key="useCheckBox" value="#{true}");
setPageSessionAttribute(key="useString" value="#{false}");
gf.convertListToOptionArray(list="#{pageSession.targetList}", optionArray="#{pageSession.availableTargets}");
/>
#include "/common/shared/commonAddRemove.inc"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy