Nathan Coast wrote:
Hi,
I've been digging around validation for a little while and need to be told where to look. I've been looking at the animal quiz example.
As I understand it, the bpm4struts cartridge generates the validations.xml by navigating down from the ApplicationUseCase to actions which have validationRequired = true
Am I right in thinking that a model transition relates to a struts action? As far as I can tell, if a transition has a signal trigger, which has parameters, then the validation.xml is generated for that form. Is this how it works?
Also.... I don't really understand what part the validation translation library plays in all this. Or is the translation library not really doing much in this example because very little has been defined in the way of constraints?
The validation translation library doesn't play any part in the bpm4struts validation (that's all tagged values). The validation TL generates the code the validates the constraints on the metafacade models (however I'm currently making the the spring services operations take advantage of the validation TL so that we can model preconditions that are verified before the service operations iare executed).
I'm aiming to define constraints on entity attributes in my object model and then derive form validation from these constraints. Think I need to understand a bit more about OCL and the translation library before I attempt this :)
cheers Nathan
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
