public void setMask ( String mask ) { if ( mask != null && ! mask . isEmpty ( ) ) { AddResourcesListener . addResourceToHeadButAfterJQuery ( C . BSF_LIBRARY , "js/jquery.inputmask.bundle.min.js" ) ; } getStateHelper ( ) . put ( PropertyKeys . mask , mask ) ; }
Sets input mask and triggers JavaScript to be loaded .