Skip to content

Commit

Permalink
SAM-2650 add a JSF label to get a better validation error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff committed Mar 25, 2016
1 parent 074aed7 commit 3164431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samigo/samigo-app/src/webapp/jsf/author/editAssessment.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ $(window).load( function() {
<h:outputText rendered="#{question.itemData.typeId== 16}" value=" #{authorMessages.image_map_question}"/><!-- IMAGEMAP_QUESTION -->

<h:outputText value=" #{authorMessages.dash} " />
<h:inputText id="answerptr" value="#{question.updatedScore}" required="true" disabled="#{author.isEditPoolFlow || (question.itemData.typeId== 14)}" size="6" onkeydown="inIt()" onchange="toPoint(this.id);" rendered="#{question.itemData.typeId!= 3}">
<h:inputText id="answerptr" value="#{question.updatedScore}" required="true" disabled="#{author.isEditPoolFlow || (question.itemData.typeId== 14)}" label="#{authorMessages.pt}" size="6" onkeydown="inIt()" onchange="toPoint(this.id);" rendered="#{question.itemData.typeId!= 3}">
<f:validateDoubleRange minimum="0.00"/></h:inputText>
<h:outputText rendered="#{question.itemData.typeId== 3}" value="#{question.updatedScore}"/>
<h:outputText rendered="#{question.itemData.score > 1}" value=" #{authorMessages.points_lower_case}"/>
Expand Down

0 comments on commit 3164431

Please sign in to comment.