Skip to content

Commit

Permalink
Fixes New Admin Object Resource creation
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Pinčuk <alexander.v.pinchuk@gmail.com>
  • Loading branch information
avpinchuk committed Jul 26, 2023
1 parent 20ad321 commit c79ebe2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appserver/admingui/jca/src/main/resources/adminObjectNew.jsf
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,16 @@
setPageSessionAttribute(key="showCancelButton" value="#{true}" );
setPageSessionAttribute(key="hasPropertySheet" value="#{true}" );
setPageSessionAttribute(key="hasPropertyTable" value="#{true}" );
setPageSessionAttribute(key="reload" value="#{false}" );

gf.getAdminObjectResourceWizard(
reload="#{reload}"
attrMap="#{pageSession.tmpMap}"
currentMap="#{pageSession.valueMap}"
valueMap=>$pageSession{valueMap});
mapPut(map="#{pageSession.valueMap}" key="enabled" value="true");

setPageSessionAttribute(key="reload" value="#{false}" );

//To get the resource types
if ("#{pageSession.valueMap.resAdapter}"){
createMap(result="#{pageSession.attrsMap}");
Expand Down Expand Up @@ -127,6 +129,6 @@
<sun:hidden id="helpKey" value="$resource{help_jca.adminObjectNew1}" />
</sun:form>
"<br/>
#include "/common/shared/changeButtonsJS.inc"
#include "/common/shared/changeButtonsJS.inc"
</define>
</composition>

0 comments on commit c79ebe2

Please sign in to comment.