Page 1 of 1

inputNumber with dynamic minValue fail

Posted: 02 Oct 2014, 19:42
by wvq1986
Hi, I have a problem with the inputNumber, when I try use dynamic value it fails

Here is an example:

Code: Select all

            <p:selectBooleanCheckbox binding="#{test}" itemLabel="Test"/>
            <br/>
            <p:commandButton value="Show" oncomplete="test.show()"/>
            
            <p:dialog widgetVar="test">
                <poue:inputNumber value="0" minValue="#{test.value? 0:1}"/>
            </p:dialog>
If I delete minValue="#{test.value? 0:1}" the code works fine. How can I fixed?

Thanks.

Re: inputNumber with dynamic minValue fail

Posted: 20 Oct 2014, 10:54
by tandraschko
Feel free to analyze the problem and create a pull request. It's a community based project.

Re: inputNumber with dynamic minValue fail

Posted: 31 Oct 2014, 16:26
by wvq1986
But I don't know what's the problem, I have noted many bugs in this component, also if I try

Code: Select all

<poue:inputNumber value="#{mybean.integer}" decimalPlaces="0" thousandSeparator="" minValue="15" maxValue="100"/>

the inputNumber doesn't work. Somebody know how can I fix it?

Re: inputNumber with dynamic minValue fail

Posted: 31 Oct 2014, 16:34
by tandraschko
get the code and debug ;)

Re: inputNumber with dynamic minValue fail

Posted: 31 Oct 2014, 17:03
by wvq1986
tandraschko wrote:get the code and debug ;)
excuse me, but how can do it?

Re: inputNumber with dynamic minValue fail

Posted: 01 Nov 2014, 12:50
by kwintesencja
not the best approach to get community help...


you can follow building PF extension from source here: https://github.com/primefaces-extension ... rom-source

another way to contribute is opening a detailed issue(with sample maven project if possible) here: https://github.com/primefaces-extension ... com/issues

Re: inputNumber with dynamic minValue fail

Posted: 11 Nov 2014, 17:36
by wvq1986
Thank you kwintesencja
kwintesencja wrote:not the best approach to get community help...


you can follow building PF extension from source here: https://github.com/primefaces-extension ... rom-source

another way to contribute is opening a detailed issue(with sample maven project if possible) here: https://github.com/primefaces-extension ... com/issues