Property :: result - Result property
There is no direct way to pass a result from a context action/function to the property handle. One may, however, set the result property in the property handle. The result area might also be changed by other property functions. For receiving context action results, the result should be read from the property handle immediately after calling executeFunction() or executeAction() context functions in order to prevent the result from being updated.
When the property handle passed is invalid, the function throws an exception.
The result string contains the result of an action or operation.
Implementation overview
- Get result string
Property :: result (  ) - Set action result
Property :: result ( sResult )
Implementation details
-
Get result string
odaba::String Property  :: result (  )
The function returns the result string from the last action or property handle function executed. The result string is available until the next action call or the next property handle call, only.
The result area is shared between the property handle and the context class, i.e. both may change ( result( sValue ) ) the action result.
When the last action or access handle call did not return a result the function returns an empty string.
ph.executeInstanceFunction("income");
//the action implemented in the InstanceContext of the property
//will set the income value
sIncome = ph.result();
to list
-
Set action result
odaba::String Property  :: result ( odaba::String &sResult )
The function is called in order to pass an action result from the context function/action to the property handle.
The function allows setting a result string for an access handle. The result is passed as string and can be retrieved with the result() function.
The function allows passing the result of any action to a client application while the action is running on the server. The result string is available until the next action call or the next property handle call, only.
- sResult
- Result string
The result string contains the result of an action or operation.
to list
- sResult
- Result string