|
From: Anthony K. <an...@al...> - 2003-11-18 02:47:09
|
Hi Sena, do you mean template of generated XML (as you see in "payload")? There is no XML templates in ebMail. before, I also thought it has. You could modify Java codes in sample plugin (which is a bit time consuming) to make your own XML structure and also modify the client interface - add input validation as you wish, and save/download the XML. hope that help. anthony Simon Lee wrote: > 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 > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl > _______________________________________________ > ebmail-develop mailing list > ebm...@li... > https://lists.sourceforge.net/lists/listinfo/ebmail-develop |