From: Wouter Z. <wz...@br...> - 2004-09-10 21:51:54
|
That's indeed very weird, I'm looking at it now Btw, I possibly have found a way to still use a single operation instead of one per deferring action state .. stay tuned -- Wouter > -----Original Message----- > From: and...@li... [mailto:andromda-user- > ad...@li...] On Behalf Of Carlos Cuenca > Sent: Friday, September 10, 2004 6:18 PM > To: wz...@br...; andromda-user > Subject: Re: [Andromda-user] error in the implantation of Controller > Method in Bpm4Struts > > sorry, > I had a controller operation deferred within a action state. To this > action state arrives three <<FrontEndEvent>> from diferent > <<FrontEndView>>. > The operation in the action state returns "void", as now several actions > arrives to the action state, the cartridge will create diferent > operations for each one of this states. The first operation return type > works well, but in some cases the ReturnType is not "void" but "false". > > I had checked the StrutsController.vsl template, and I think it returns > false because on the line 67 > #set ($returnType = false) > and on the next operation implementation it does not get the correct type. > Also to be sure of this, I had openened the cartridge-output.zip in the > /test/expected folder and on the line 26 I had found the following > definition: > > public final false operation1(ActionMapping mapping, > > > in which the false is not correct and should be void. > > I had tried to find a solution, but I can not... > > Thanks > > Carlos > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Andromda-user mailing list > And...@li... > https://lists.sourceforge.net/lists/listinfo/andromda-user |