Hello MarK,

on LiveServer is a file rde.jar in the WEB-INF/lib directory of your
OT Delievery Server installation. This contains the class file you
mentioned.

Kind regards,
Daniel

On 7 Dez., 11:03, MarK <[email protected]> wrote:
> Hello,
>
> I'm looking for a examples or suggestion how can I extend build-in
> java classes with my own class, that I want use as an inline function
> in dynaments. I read about it in documentation, I prepared also code
> for this class, which looks like this(example e-mail validation):
>
> package mypackage;
>
> import de.reddot.xmaps.dynament.DefaultInlineFunctions;
> import java.util.regex.*;
>
> public class form_validation extends DefaultInlineFunctions{
>          public boolean email_check (String email)
>            {
>               //Set the email pattern string
>               Pattern p = Pattern.compile("....@.+\\.[a-z]+");
>
>               //Match the given string with the pattern
>               Matcher m = p.matcher(email);
>
>               //check whether match is found
>               boolean matchFound = m.matches();
>
>               return matchFound;
>            }
>
> }
>
> My problem is that when I am trying to compile this java file into a
> class file, my compiler is looking for
> de.reddot.xmaps.dynament.DefaultInlineFunctions library which is
> necessary to extend standard classes included in the reddot with my
> own classes. I couldn't find this de.reddot....  to import it with my
> package during compilation. I asked support about that, but they can't
> help with that, and they have no example code, or clue how to do that.
> I know that this package de.reddot... is build in the LiveServer, I
> tried to find it in LS catalogues but with no result. Does anyone know
> where I can find this library file
> de.reddot.xmaps.dynament.DefaultInlineFunctions so I can use it for
> compilation of my own class? I need this class to prepare a form
> validation using dynaments on Liveserver platform. And for this
> validation, I need some extra functions like e-mail validation. Maybe
> someone have an example of this kind form validation on dynaments? I
> would be very grateful for any help or suggestions.
>
> Thanks
> MarK
> infinity-group.pl

--

You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.


Reply via email to