]> git.mxchange.org Git - jjobs-war.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 19 Jan 2023 07:16:57 +0000 (08:16 +0100)
committerRoland Häder <roland@mxchange.org>
Thu, 19 Jan 2023 07:30:19 +0000 (08:30 +0100)
- fixed wrong variable name
- used proper message bundle (needs to be project-specific)
- fixed wrong JSF variable name (adminSkinActionController) due to import

web/admin/jobs/skill/admin_skill_list.xhtml

index 35c2da4ca5522007c9ff4a09c663c59ebd5ed1d9..cc0a3ccfe59eedf933f0b06a4688b08429af1e65 100644 (file)
                                                        <p:outputLabel for="skillName" value="#{msg.ADMIN_SKILL_NAME}" />
                                                        <p:inputText
                                                                id="skillName"
-                                                               value="#{adminSkillController.skillName}"
+                                                               value="#{adminSkillActionController.skillName}"
                                                                size="20"
                                                                maxlength="100"
                                                                required="true"
                                                                <f:converter converterId="SkillStatusConverter" />
                                                                <f:selectItems
                                                                        value="#{dataController.skillStatuses}"
-                                                                       var="accountStatus"
+                                                                       var="skillStatus"
                                                                        itemValue="#{skillStatus}"
-                                                                       itemLabel="#{msg[skillStatus.messageKey]}"
+                                                                       itemLabel="#{project[skillStatus.messageKey]}"
                                                                        />
                                                        </p:selectOneMenu>
                                                </p:panelGrid>
                                                <p:commandButton
                                                        type="submit"
                                                        value="#{msg.BUTTON_ADMIN_ADD_SKILL}"
-                                                       action="#{adminSkillController.addSkill()}"
+                                                       action="#{adminSkillActionController.addSkill()}"
                                                        update="form-list-skill:skillList"
                                                        />
                                        </p:panelGrid>