Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think that your problem is the <code>ajaxSingle="true"</code> attribute. This attribute means that, even if all the input elements in the form are submitted, only the input the one that triggered the submit will be processed.</p> <p>If this is the problem, you can try any of the following (I assume that the <code>a</code> prefix is the common <code>a4j</code> prefix?):</p> <ul> <li><p>Add the id of the <code>h:inputText</code>, to the <code>processed</code> attribute to <code>&lt;a:support&gt;</code>. This will force the input of the specific row to be processed. For example (not tested):</p> <pre><code>&lt;h:inputText value="#{detOrdComp.ordCostoUnitario}" id="txtCostoUnitario" required="true"&gt; &lt;a:support event="onblur" reRender="columnaMonto" immediate="true" bypassUpdates="false" ajaxSingle="true" processed="txtCostoUnitario" /&gt; &lt;a:support event="onviewactivated" reRender="columnaMonto" immediate="true" bypassUpdates="false" ajaxSingle="true" processed="txtCostoUnitario"/&gt; &lt;/h:inputText&gt; </code></pre></li> <li><p>Remove the <code>ajaxSingle</code> and instead surround the <code>&lt;h:inputText&gt;</code> in a <code>a4j:region</code> (analogous to ajaxSingle with processed, here all the inputs in the closest/enclosing region are processed):</p> <pre><code>&lt;a4j:region&gt; &lt;h:inputText value="#{detOrdComp.ordCostoUnitario}" id="txtCostoUnitario" required="true"&gt; &lt;a:support event="onblur" reRender="columnaMonto" immediate="true" bypassUpdates="false" /&gt; &lt;a:support event="onviewactivated" reRender="columnaMonto" immediate="true" bypassUpdates="false" /&gt; &lt;/h:inputText&gt; &lt;/a4j:region&gt; </code></pre></li> <li><p>Remove the <code>ajaxSingle</code>. This will cause all the elements in your form to be processed. Will take more time.</p> <p>enter code here</p></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload