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>