Scott Klement wrote:Unfortunately, "user defined data" is not considered a "response property" (i.e., it's output-only), so variables bound to it will not be returned to your RPG program. If you would like this to be changed (sounds like you would) I could discuss this with the team, let me know.
I haven't had a problem with the "user defined data" property as long as I am setting the bound field from RPG -- then I get the same value back. This is the first time I have tried setting the "user defined data" property from the client side. So, yes, I would like it changed so that client-side changes to the value of the "user defined data" property are passed along to the bound field for RPG consumption. Thanks.
While you're at it, I'd like to request that "user defined data" be added to the "screen"-level properties list and to the properties list for the grid widget. Thanks.
Further, since you brought up the issue regarding what is considered to be a "response property," I get the idea that other widget properties (besides the "user defined data" property) would have the same "problem" with being able to transfer client-side changes to those properties through to the RPG program -- e.g., the top, left, and width properties.
If this is so, then I see it as valuable if Profound Logic would "throw away" the concept of what is considered to be a "response property" and make it so that any bindable widget property be able to pass client-side changes to those properties through to the RPG program. I also see this as a consistency and flexibility issue which speaks to whether the PUI interface is more intuitive, or less so, to use from a customer standpoint.
Scott Klement wrote:On some widgets, setting pui.properties["prop name"] directly may work. But, it depends on the type of widget, and although it may work today, it could break in a future release of Profound UI. Please use the applyProperty() API instead, this should always work.
Will do.