Jahia Dev Forum > Jahia adding custom...

0 (0 Good)
0 (0 Bad)

Jahia adding custom input-mask

by  satishsharma »  2013/07/17 08:48

I have created my custom template in jahia, now for a page defination in definations.cnd file I have used an input mask of boolean type, also used the resource bundle for chossing a user friendly name. now an issue arising,  that the name provided in resourse bundle file shows up at two places first as a title and second as the checkbox label, can I only have the title value from the resource bundle leaving the checkbox label as it is ?
one more thing also I want to add a static note below the check-box providing information about the check-box, how could I achieve that ? 

  • Jahia adding custom input-mask
    2013/07/17 08:48

    satishsharma <p> <span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; line-height: 20px;">I have created my custom template in jahia, now for a page defination in definations.cnd file I have used an input mask of boolean type, also used the resource bundle for chossing a user friendly name. now an issue arising, &nbsp;that the name provided in resourse bundle file shows up at two places first as a title and second as the checkbox label, can I only have the title value from the resource bundle leaving the checkbox label as it is ?</span><br style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; line-height: 20px;" /> <span style="color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; line-height: 20px;">one more thing also I want to add a static note below the check-box providing information about the check-box, how could I achieve that ?&nbsp;</span></p>

  • Number of messages  7
    Registration date Jul 17, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Jahia adding custom input-mask

    by  mohitbhunwalia »  2013/07/18 14:36

    Hi,

    You can use this. 

    -title (string, choicelist) < contract1, contract2, contract3

    for static choicelist and for dynamic list you should  try with :-

    -title (string, choicelist[resourcebundle]) 

    I think , It will work.

     

  • Re: Jahia adding custom input-mask
    2013/07/18 14:36

    mohitbhunwalia <blockquote> <p> <font color="#333333" face="arial, sans-serif"><span style="font-size: 12.800000190734863px; line-height: 20px;">Hi,</span></font></p> <p> You can use this.&nbsp;</p> <p> -<strong>title (string, choicelist) &lt; contract1, contract2, contract3</strong></p> <p> for static choicelist and for dynamic list you should &nbsp;try with :-</p> <p> -<strong>title (string, choicelist[resourcebundle])&nbsp;</strong></p> <p> I think , It will work.</p> </blockquote> <p> &nbsp;</p>

  • Number of messages  15
    Registration date Jul 18, 2013
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page