p:InputMask with p:Calendar combination

Components, Ajax Framework, Utilities and More.
Post Reply
Posts: 11
Joined: 18 Jul 2011, 07:29
Location: Thessaloniki, Greece

18 Jul 2011, 09:29

Is it possible to combine p:Calendar with InputMask mask property?
I know there is a pattern attribute in p:Calendar that defines the way date is being displayed in component but when the user tries to enter some date data he/she is allowed to enter whatever he/she wants.
Of course there is the option of validator but it woule be great if we could combine the input Mask functionality with p:Calendar
Primefaces 3.2.RC1 - Jboss 7.1.0 - Mojarra 2.1.5

Papapetrou P.Patroklos

User avatar
Posts: 17586
Joined: 05 Jan 2009, 00:21
Location: Cybertron

18 Jul 2011, 09:50

It's not possible. What you can do is to write a composite component with calendar and apply the raw jquery mask plugin.


Post Reply
  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 9 guests