08-09-2007 11:32 AM
08-14-2007 10:11 AM
Alejandro,
I am not sure what you are trying to accomplish.
Why do you want the user to select a specific property?
Could you describe your use case better?
Be aware that the expression browser returns an expression. The user could enter whatever expression he wants.
For your specific example if you select the "test" local variable, the lookup string would be "Locals.test".
Since you are checking if the property exists under Locals, it would return false all the time. If you want to check if the property exists under Locals your lookup string should be "test".
If you want to use "Locals.test" as the lookup string you will have to call 'Exists' on the sequence context.
SequenceContext.AsPropertyObject().Exists("Locals.test")
In order to verify the type of a property object you can use
PropertyObject.GetType() method.
Hope it helps
Antonio Lie.