comparison src/main/webapp/entry/subject.xhtml @ 125:eee2e0ca4032

updated entry beans to use EditIntents.
author casties
date Tue, 31 Jan 2017 18:09:54 +0100
parents 764f47286679
children
comparison
equal deleted inserted replaced
124:28a0c2726466 125:eee2e0ca4032
28 <h:selectOneMenu 28 <h:selectOneMenu
29 value="#{CurrentSubject.attributes['type']}"> 29 value="#{CurrentSubject.attributes['type']}">
30 <f:selectItems value="#{CurrentSubject.suggestedTypes}" /> 30 <f:selectItems value="#{CurrentSubject.suggestedTypes}" />
31 </h:selectOneMenu> 31 </h:selectOneMenu>
32 32
33 <h:outputText value="General Category" /> 33 <h:outputText value="General Category (parent)" />
34 <h:selectOneMenu value="#{CurrentSubject.idMainSubject}"> 34 <h:selectOneMenu value="#{CurrentSubject.idMainSubject}">
35 <f:selectItems value="#{CurrentSubject.suggestedCategories}" /> 35 <f:selectItems value="#{CurrentSubject.suggestedCategories}" />
36 </h:selectOneMenu> 36 </h:selectOneMenu>
37 37
38 </h:panelGrid> 38 </h:panelGrid>
39 39
40 <h:panelGrid columns="4"> 40 <h:panelGrid columns="4">
41 <h:outputText value="ID of the Text" /> 41 <h:outputText value="ID of the Subject" />
42 <h:inputText value="#{CurrentSubject.currentId}" /> 42 <h:inputText value="#{CurrentSubject.currentId}" />
43 <h:commandButton value="Load Subject By ID" 43 <h:commandButton value="Load Subject By ID"
44 action="#{CurrentSubject.actionReloadEntity}" 44 action="#{CurrentSubject.actionReloadEntity}"
45 onclick="confirm('Do you really want to reload the entity?');" /> 45 onclick="confirm('Do you really want to reload the entity?');" />
46 <h:outputText value="#{CurrentSubject.currentIdMsg}" 46 <h:outputText value="#{CurrentSubject.currentIdMsg}"