kratos2333
1/13/2017 - 9:40 PM

using f:passThroughAttribute to skip action

using f:passThroughAttribute to skip action

<p:calendar value="#{calendarBean.date}">
                <f:passThroughAttribute name="onkeypress" value="return false;" />
                <f:passThroughAttribute name="onpaste" value="return false;" />
            </p:calendar>