Thanks - I will go with that.

JRI

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Brian Leach
Sent: Monday, January 14, 2013 12:31 PM
To: 'U2 Users List'
Subject: Re: [U2] Redback w/o Web Page

Hi John

What I've done to test RBOs is to replace the RBO.getProperty and 
RBO.setProperty functions with my own wrappers that just map the properties to 
a name-value pair held in a common block. When you don't want to run in test 
mode the wrappers can fall back to calling the real RBO.getProperty and 
RBO.setProperty functions.

Brian

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Israel, John R.
Sent: 14 January 2013 17:15
To: 'U2 Users List'
Subject: [U2] Redback w/o Web Page

Normally, a web page will create an object, populate some properties, then 
execute a method to pass the object and its properties to a U2 program (in my 
case UniData).  No problem.

I am working on a new and complicated process and I would like to cut out the 
web part of this for the moment and make sure that I have a solid foundation in 
my basic code & data.  I have written my main program, and I have written a 
very small driver program that simply loads the properties of the object, then 
calls the main program.  The problem is, the web page usually creates the 
object.

My driver program can "set" a property (simulating what the web page would do), 
but if I "get" the property in the very next line, it is empty.  I assume this 
is because the object does not exist (though it did not give any errors).

How do I build an object from within a basic program?

Thanks

John
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users


_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to