How can I control the key with IzPack class? -


i'm trying control product key izpack. did regularexpressionclass but, should write own class control lots of key. use below, can not same thing class.

<userinput>     <panel id="keycontrol">         <field type="rule" align="left" variable="the.password">         <spec txt="the key:"         layout=" o:6:6 "/>             <validator class="com.j32bit.installer.validator.regularexpressionvalidator" txt="wrong key!!" id="lang pack key error text">                 <param name="pattern" value="asd"/>             </validator>         </field>     </panel> </userinput>    

i hope, explanation understandable. help.

you can change message overriding geterrormessageid method validator class:

@override public string geterrormessageid() {   return "your.error.message"; } 

where your.error.message points particular key customlangpack xml file(s):

<str id="your.error.message" txt="enter text here" /> 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -