|
From: Simon L. <ky...@ce...> - 2003-11-18 01:45:18
|
Hi Sena, Answers are as follows. 1. I am not sure what your "template file" means. If you are saying the UI form that captures users input, we called that module as a "plugin" (which should be written in java). EbMail supports multiple plugins that handle different kinds of business documents. If you want to know more, there are some plugin development guides and source code of a sample plugin, which all of them could be downloaded from http://www.freebxml.org. 2. As said, handling of business documents is by plugin. Therefore the checking of data should also be done inside the plugin code. If you have any problem, please feel free to ask. Simon Lee Technology Officer Center for E-Commerce Infrastructure Development (CECID) Department of Computer Science and Information Systems The University of Hong Kong URL: http://www.cecid.hku.hk Room 301, Chow Yei Ching Building Pokfulam Road, Hong Kong SAR, China ----- Original Message ----- From: "Sena Munasinghe" <s.m...@ii...> To: <ebm...@li...> Sent: Monday, November 17, 2003 2:54 PM Subject: [ebmail-develop] How to validate data entered into the template I am developing a mail client to upload/download Customs documentations from a eGateway developed by Sri Lankan government agencies www.eserviceslanka.com . I do this for my dissertation. My objective is to define necessary document templates to be imported into ebMail client. Main document is what's called CUSDEC - customs declaration form. When I discussed my idea with eGateway people & my supervisor, they expressed that it would have a significant use if this could be achieved. I tried ebMail with fairly good results. I could not download mail yet but I should be able to sort it out. But the main issue is how to validate entered data (preferably within the template). I am basically a networking guy & not a Java programmer. I took this up as a challenge. Kindly advise me on the following. 1. The location of the sample template files. So that I can play with them & understand the format 2. How to incorporate checking in to the mail client Thanks in advance for your help. Keep up the good work !!! Best Regards Sena Munasinghe Lecturer Informatics Institute of Technology Sri Lanka |