Hi,
 (please also reply to the list...)

Seraffetin Sentürk wrote:
  Ok, thank you very much. I thought that I could call the method of the
session bean inside one operation of my controller class. Then I define the
return value of my operation as the values coming from the service method.
And then, How can I get these return values and reflect them as parameters
on my trigger of the transition?
  
I think that your problem then will be modifing the way that the cartridge detects the parameters of the trigger in order to pass it all the parameters of the service... but again you should then add the tagged value
  In addition you say:

  You say : "You could add a taggged value to specify which method of the
bean should
be called and then use the dependency from the controller to the service
to find him and add the code."

 I really do not know how to do this. I mean, How can I add a taggged value
to specify which method of the bean should
be called and then use the dependency from the controller to the service
to find him and add the code?
actually you have several ways:
-the best one is to add a attribute on the StrutsControllerOperation and recompile the cartridge in order to implement it. Then you will have the attribute ready to work in the templates.
-another one is to ask for the tagged value directly on the templates with element.findTaggedValue("your tagged value") and use it. You should also recompile the cartridge.

Carlos

  Regards,
 Serafettin







-----Original Message-----
From: Carlos Cuenca [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 19. November 2004 12:19
To: [EMAIL PROTECTED]; andromda-user
Subject: Re: [Andromda-user] BPM4Struts-Trigger Parameters


Hi
Seraffetin ,

actually I think that going so far and get rid of the parameters could
not be very simple, since you still need to add the parameter tagged values.
What it can be made easily is to model the calls to the service methods.
You could add a taggged value to specify which method of the bean should
be called and then use the dependency from the controller to the service
to find him and add the code.

Carlos

Seraffetin Sentürk wrote:

  
 Hello,

Normally in Bpm4Struts cartridge, the widgets like editfield, combobox are
represented on the basis of parameters that are included on the triggers of
transitions. But I want to get these parameters not from these parameters
    
in
  
my activity diagram but from somewhere else as return values of the methods
in a Session Bean. I mean can I direct the source where i get this
parameters from activity diagram to that session bean by making some
modifications in the template files? How far is this possible?

 Regards,
Serafettin






-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user




    




  

Reply via email to