From: Anthony E. <me...@an...> - 2001-11-20 02:01:56
|
> Anthony, > > I've written a bunch of rules, but they are for my own framework. > My desire > is to see if we can write some kind of bridge that will allow my > rules to be > plugged into your framework without me having to develop in the FormProc > tree. Can we agree this is a worthy goal? If not, you could always cut and > paste, and I would be fine with that, but that means we miss out on long > term cohesiveness and maintainability. As long as your rules implement the org.formproc.validation.Rule interface then you should be able to use them in FormProc. You could also create a wrapper Rule which just executes your rules through some interface you design. Two things make this possible: 1.) Rule implementations are specified in the XML file and 2.) you can pass any XML configuration data to you rule through the configure(Element element) method of the Rule interface. If this is not sufficient then tell me what you have in mind. Sincerely, Anthony Eden |