خرید بک لینک

Vote count: 0

I have a dialog that pops up to the user to add some object by filling some fields, one of those fields require the selection of some row in some , when I select this row from the I have to update the corresponding for that pick to show the user the name of the row he selected (aka: update the text on rowSelect event), however the doesn't get updated whenever there's another empty required field in the form. What could possibly be the problem?

Here are some code snippets:

<!-- This is the input field I wish to update on row select on pop up table -->       
<p:inputText  required="true" value="#{applicationsController.orgName}"    id="orgNameApp"  style="margin-right:5px;"></p:inputText>
<!-- This will pop up the data table which I will choose a row from -->
<p:commandButton  icon="fa fa-hand-o-up"  onclick="PF('organizationApplication').show()">                  
</p:commandButton>

this is the data table row select event:

<p:ajax event="rowSelect" listener="#{applicationsController.setOrganizationEdit}" update="@(.orgNameAppEdit)" />

The gets updated normally when I select a row if there are no empty required fields in the form, I've searched and searched, didn't find anything similar. Any help would be extremely appreciated, Thanks.

asked 51 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 26 ارديبهشت 1395 ساعت: 15:55

صفحه بندی