Results 1 to 1 of 1

Thread: problem: adding my own taglib

Threaded View

  1. #1
    Join Date
    Nov 2012
    Rep Power

    Unhappy problem: adding my own taglib

    I am trying to change the calendar to jalali in Standard(HTML) version of zimbra 8.
    what I have done til now is as follows:
    1. I have added a java class to /WEB_INF/classes/com/zimbra/kabuki/tools/jalali
    jalali is a subdirectory which i have created under tools dir
    here is the source code of :

    then compiled this code to .class :javac and the result was 2 files:
    JalaliCalendar.class & JalaliCalendar$YearMonthDate.class

    2.add a new .tld file named jTld.tld to /opt/zimbra/jetty/webapps/zimbra/WEB-INF/tlds :

    <?xml version="1.0" encoding="UTF-8" ?>
    <taglib xmlns=""

    <description>A tag library exercising SimpleTag handlers.</description>

    <function-signature>YearMonthDate gregorianToJalali(YearMonthDate gregorian)</function-signature>

    note: the web address of my zimbra is

    3. add a line to /opt/zimbra/jetty/webapps/zimbra/h/calendar as follows;
    <%@taglib uri="" prefix="mt" %>

    i thought that this way it would be possible to call gregorianToJalali function inside /h/calender like:
    ${mt:gregorianToJalali('20140428')} but I can not call gregorianToJalali function.

    can anybody help me as soon as possible please??????????
    Last edited by seyyedi; 04-28-2014 at 12:59 AM.

Similar Threads

  1. Adding new theme problem
    By khodaee in forum Administrators
    Replies: 9
    Last Post: 02-12-2011, 10:17 AM
  2. Zimbra Taglib support missing for Zimlets in ZCS 6?
    By chlauber in forum Developers
    Replies: 2
    Last Post: 10-03-2009, 03:00 PM
  3. Problem adding a Calendar from SVN.
    By myles in forum Users
    Replies: 8
    Last Post: 07-13-2006, 04:03 PM
  4. Problem Adding Aliases
    By myles in forum Administrators
    Replies: 5
    Last Post: 06-24-2006, 12:05 AM
  5. Problem when adding new RSS feed
    By fmodola in forum Users
    Replies: 13
    Last Post: 04-11-2006, 07:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts