orhan yazdi | arada immediat true gibi bir durum var ise problem ondan kaynaklanıyor olabilir. |
immadiate yok. inputtextlere verileri giriyorum beanda (hashmapda) değişkenler varolmuyolar bile
<rich:modalPanel id="telEditModal" autosized="true">
...............
<rich:panel id="telEditModalPanel">
<table width="200" height="100">
<tr>
<th class="font" scope="row" width="90">
<h:outputText value="Telefon Tipi :" /></th>
<td width="100" height="20"><h:selectOneMenu value='#HR_Telephone_Bean.table.value["TEL_Type"]}' >
<f:selectItems value="#{Select_Item_Bean.HR_TelephoneType}"></f:selectItems>
</h:selectOneMenu></td>
</tr>
<tr>
<th class="font" scope="row" width="90">
<h:outputText value="Telefon No :" /></th>
<td width="100" height="20"><h:inputText value='#{HR_Telephone_Bean.table.value["TEL_Number"]}' /></td>
</tr>
<tr align="right">
<td><a4j:commandButton value="Kaydet" action="#{HR_Telephone_Bean.createForPerson}" reRender="telEditModalPanel" rendered="#{!HR_Telephone_Bean.table.hasObject}" /></td>
<td><a4j:commandButton value="Sil" action="#{HR_Telephone_Bean.table.delete}" reRender="telEditModalPanel" rendered="#{HR_Telephone_Bean.table.hasObject}" /></td>
<td><a4j:commandButton value="Güncelle" action="#{HR_Telephone_Bean.table.update}" reRender="telEditModalPanel" rendered="#{HR_Telephone_Bean.table.hasObject}" /></td>
<td><a4j:commandButton value="Yeni Telefon" action="#{HR_Telephone_Bean.table.ClearSession}" reRender="telEditModalPanel" rendered="#{HR_Telephone_Bean.table.hasObject}" /></td>
</tr>
</table>
The Man Who Loved Algorithm&Ubuntu.
www.burakamasyali.com
|