7
|
1 <?xml version="1.0" encoding="utf-8"?>
|
|
2 <html xmlns="http://www.w3.org/1999/xhtml"
|
|
3 xmlns:h="http://java.sun.com/jsf/html"
|
|
4 xmlns:f="http://java.sun.com/jsf/core"
|
|
5 xmlns:ace="http://www.icefaces.org/icefaces/components"
|
|
6 xmlns:ice="http://www.icesoft.com/icefaces/component"
|
|
7 xmlns:composite="http://java.sun.com/jsf/composite">
|
|
8 <composite:interface>
|
|
9 <composite:attribute name="entityForm" required="true"/>
|
|
10 </composite:interface>
|
|
11
|
|
12 <composite:implementation>
|
|
13
|
|
14 <ice:panelGrid columns="1">
|
|
15
|
|
16 <ace:dataTable rendered="#{!empty cc.attrs.entityForm.selectedItems.list}" value="#{cc.attrs.entityForm.selectedItems.list}" var="item">
|
|
17 <ace:column>
|
|
18 <ice:outputText value="#{item.publication.HTMLLabel}" escape="false" />
|
|
19 </ace:column>
|
|
20 <ace:column headerText="Additional info">
|
|
21 <ice:inputText value="#{item.publication.additionalInformation}" />
|
|
22 </ace:column>
|
|
23 <ace:column>
|
|
24 <ice:selectBooleanCheckbox
|
|
25 value="#{cc.attrs.entityForm.selectedItems.map[item.objId]}" />
|
|
26 </ace:column>
|
|
27 </ace:dataTable>
|
|
28 <ice:panelGrid columns="1">
|
|
29
|
|
30 <ice:commandButton value="Remove selection"
|
|
31 actionListener="#{cc.attrs.entityForm.listenerRemoveReference}"
|
|
32 rendered="#{!empty cc.attrs.entityForm.selectedItems.list}" />
|
|
33
|
|
34 <ice:commandButton value="Search"
|
|
35 actionListener="#{cc.attrs.entityForm.refDataTable.listenerOpen}" />
|
|
36
|
|
37 </ice:panelGrid>
|
|
38 </ice:panelGrid>
|
|
39
|
|
40 </composite:implementation>
|
|
41 </html>
|