Code: Select all
<pe:dynaFormControl type="select" for="#{data.propertyName}_select">
<p:selectOneMenu id="#{data.propertyName}_select" value="#{data.value}" autoWidth="false"
disabled="#{data.rights.disabled}" required="#{data.required}">
<f:selectItem itemLabel="--- #{msg['select-one']} ---"
noSelectionOption="true" />
<f:selectItems var="s" value="#{managerBean[data.propertyName]}"
itemLabel="#{s[data.lookupLabelfield]}"
itemValue="#{s[data.lookupKeyfield]}" />
</p:selectOneMenu>
<p:commandButton icon="ui-icon-refresh" id="#{data.propertyName}_selectrefresh" update="#{data.propertyName}_select"
rendered="#{!data.rights.disabled}"
title="#{msg['refresh-button']}" />
<p:commandButton rendered="#{!data.rights.disabled && data.rights.admin}"
id="#{data.propertyName}_selectnew"
title="#{msg['new-button']}"
action="#{managerBean.showDialog(data.detailDialogFile)}"
process="@this" icon="ui-icon-star">
<p:ajax event="dialogReturn" listener="#{managerBean.handleReturn}"
update="#{data.propertyName}_select" />
</p:commandButton>
</pe:dynaFormControl>
So, why the generated id = "#{data.propertyName}_select" = "_select" and update = "#{data.propertyName}_select" = "jarat_select" ?