rich:message does not display in popup panel?
ainanmis Apr 28, 2011 4:59 AMWhere have I done wrong? My code is below.
<rich:popupPanel id="detaySec" modal="true" resizeable="true" minWidth="200" domElementAttachment="form"
onmaskclick="#{rich:component('detaySec')}.hide()">
<f:facet name="controls">
<h:outputLink value="#"
onclick="#{rich:component('detaySec')}.hide(); return false;">
X
</h:outputLink>
</f:facet>
<h:panelGrid>
<h:panelGroup id="detayId">
<h:selectOneRadio id="secimId" value="#{provizyonBean.detaySecim}" required="true" >
<f:selectItem itemLabel="İşlem Detayı Girin" itemValue="1" />
<f:selectItem itemLabel="İşlemin ilişkili olduğu ameliyatı seçiniz" itemValue="2" />
<a4j:ajax event="change" execute="@this" render="tamam" />
</h:selectOneRadio>
<rich:message for="secimId"/>
</h:panelGroup>
<h:panelGroup id="tamam">
<h:commandButton value="Tamam" rendered="#{provizyonBean.detaySecim(0)}">
<f:ajax execute="detayId" render="detayId"></f:ajax>
</h:commandButton>
<h:commandButton value="Tamam" rendered="#{provizyonBean.detaySecim(1)}">
<rich:componentControl target="islemDetay" operation="show" />
</h:commandButton>
<h:commandButton value="Tamam" rendered="#{provizyonBean.detaySecim(2)}">
<rich:componentControl target="iliskiliAmeliyat" operation="show" />
</h:commandButton>
<h:commandButton value="Kapat" onclick="#{rich:component('detaySec')}.hide(); return false;"
immediate="true" />
</h:panelGroup>
</h:panelGrid>
</rich:popupPanel>