Skip to content

Commit

Permalink
Merge pull request #467 from dcarella/fix/ra-gui-make-request-bug-lab…
Browse files Browse the repository at this point in the history
…el-and-duplicate/8.2.0

Fix: RA GUI Make Request - Bug with Focus and Duplication
  • Loading branch information
primetomas authored Jan 18, 2024
2 parents cbe106b + 68f4853 commit d93cf6a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions modules/ra-gui/resources/enrollmakenewrequest.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@
value="#{enrollMakeNewRequestBean.subjectDirectoryAttributes.requiredFieldInstances}"
var="instance">
<h:panelGroup layout="block" styleClass="pure-control-group">
<h:outputLabel for="subjectDirectoryField"
<h:outputLabel for="subjectDirectoryNonModifiableField"
value="#{msg['subject_directory_attributes_'.concat(instance.name)]} = "
rendered="#{instance.required and !instance.modifiable}" />
<h:outputLabel for="subjectDirectoryField"
Expand All @@ -663,11 +663,10 @@
<f:ajax event="keyup" execute="@this"
render=":requestInfoForm:requestPreviewOuterPanel subjectDirectoryAttributesMessage"/>
</h:inputText>
<h:outputLabel for="subjectDirectoryNonModifiableField"
value="#{msg['subject_directory_attributes_'.concat(instance.name)]} = "
rendered="#{!instance.modifiable and instance.required}" />
<h:outputText id="subjectDirectoryNonModifiableField" rendered="#{!instance.modifiable and instance.required}" value="#{instance.value}" style="color:white;"/>
<h:selectOneMenu value="#{instance.value}" rendered="#{instance.selectable}" styleClass="jsAutoFocusFirst">
<h:outputLabel id="subjectDirectoryFieldNonModifiableLabel" value="#{instance.value}"
rendered="#{!instance.modifiable and !instance.selectable}" styleClass="pure-control-group label" style="text-align: left">
</h:outputLabel>
<h:selectOneMenu id="subjectDirectoryNonModifiableField" value="#{instance.value}" rendered="#{instance.selectable}" styleClass="jsAutoFocusFirst">
<f:selectItems value="#{instance.selectableValues}" />
<f:attribute name="_label" value="#{instance.name}"/>
<f:ajax event="change" execute="@this"
Expand Down

0 comments on commit d93cf6a

Please sign in to comment.