|
You need to set the name of the variable
of the outbound parameter. It doesn't assume the name of the parameter (as that
might conflict with your application's naming conventions) In your method call (the Key) under
Parameters you can see five columns: Name | Type | Format | Value | Incl. Empty In the Value column of the outbound
parameter you see the word "Local", click just to the right of the
word local and there is a little text box. Type in the name of the variable
that you want to bind that outbound parameter to. You may also change the scope
if you so desire. Then you just use the name that you give it from then on. I'd send a picture of it, but the JPEG
police might hunt me down ;-) Peter Dobbs Football Fanatics Inc. www.footballfanatics.com Moveable Inc. www.moveable.com From: Robert Garcia
[mailto:[EMAIL PROTECTED] try <@setparam name="nameOfOutParameter"> I know you can set method$returnValue, and I think if a method variable
matches the name of an out var, it should work, but <@setparam> should
def work. -- Robert Garcia President - BigHead Technology VP Application Development - eventpix.com Magalia, Ca 95954 ph: 530.645.4040 x222 fax: 530.645.4040 On Jul 20, 2005, at 6:26 AM, Fogelson, Steve wrote:
I have set up a tcf with a method that I
want to use the “Out Parameters” to pass variable back to the application file.
Within the Method, I assign the Out Parameters with the “method” scope. In the application file,
I create the object and call the method. The Out Parameters “Value” is
automatically set to “Request”. The method doesn’t pass anything out to the
application. The only way I can get it to pass the parameters is to assign the
parameters within the method using the “request” scope. Doesn’t seem quite
right to me. I have looked at the documentation and can’t figure it out. Do I have to set the
parameter variables within the method using the “request” scope or is there
something that I am missing about the “Value” within the application when
referencing the method? What is the “Value” used
for? Can I assign a variable here that the method parameter passes back to? Thanks for your help. Steve Fogelson Internet Commerce
Solutions ________________________________________________________________________TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- RE: Witango-Talk: In/Out Parametes in a class file Peter Dobbs
- RE: Witango-Talk: In/Out Parametes in a class file Fogelson, Steve
