<
tc:box
id
="taskTablePanel"
label
="#{i18n.planning}"
>
<
f:facet name
="toolBar"
>
<
tc:toolBar>
<
tc:toolBarCommand
image
="image/new.GIF"
action
="#{contractCtrl.newTaskCmd}"
tip=
"|nouvelle tache">
<
tc:attribute
value
="taskEditPopup"
name
="renderedPartially"
/>
<
f:facet name
="popup"
>
<
tc:popup
id
="taskEditPopup"
height
="400px"
width
="500px"
>
<
tc:box label
="|Tache"
>
<
f:facet name
="layout"
>
<
tc:gridLayout rows
="*;fixed"
/>
</
f:facet>
<
ui:include src
="/contract/workTask.xhtml"
/>
<
tc:cell>
<
f:facet name
="layout"
>
<
tc:gridLayout
columns=
"100px;1*;100px"
marginLeft
=
"10px"
marginRight=
"10px" />
</
f:facet>
<
tc:button
label
="#{i18n.ok}"
action=
"#{contractCtrl.addTaskCmd}">
<
tc:attribute
name
=
"popupClose"
value=
"afterSubmit" />
</
tc:button>
<
tc:cell />
<
tc:button label
="#{i18n.cancel}"
>
<
tc:attribute
name
=
"popupClose"
value
=
"immediate" />
</
tc:button>
</
tc:cell>
</
tc:box>
</
tc:popup>
</
f:facet>
</
tc:toolBarCommand>
</
tc:toolBar>
</
f:facet>
<
f:subview id
="taskTableSubview"
>
<
ui:include src
="/contract/taskTable.xhtml"
/>
</f:subview
>
</tc:box
>