java - Unable to read bean value from f:longrangevalidator -


basically, have datatable.

    <p:datatable id="productdetail" var="viewproduct" value="#{productbean.productlistadd}">     <p:column headertext="quantity">      <p:inputtext value="#{viewproduct.quantity}" id="newproductquantity" label="product quantity">         <f:validatelongrange minimum="1" maximum="#{viewproduct.instock}" for="newproductquantity"></f:validatelongrange>      </p:inputtext>      </p:column>     </p:datatable > 

the value of maximum long range, instead of being value predefined in viewproduct.instock (says 20), recognized 0 jsf. i've tried call #{viewproduct.instock} in separated outputtext , display 20.

could please me out here?


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -