- Code: Select all
<Field id="aButton" type="button">
<Label>A Label</Label>
<Title>A Title</Title>
<CallbackMethod>someCallbackMethod(parm1='foo', parm2='bar')</CallbackMethod>
</Field>
<Field id="aButton" type="button">
<Label>A Label</Label>
<Title>A Title</Title>
<CallbackMethod>someCallbackMethod(parm1='foo', parm2='bar')</CallbackMethod>
</Field>
kw123 wrote:Q why would you want to not use the valuesdict?
matt (support) wrote:No way to do this currently. When I've needed similar functionality I've created stub callback methods that then call through to a shared method with the constant argument added.
<Field id="aButton" type="button">
<Label>A Label</Label>
<Title>A Title</Title>
<CallbackMethod>someCallbackMethod(payload={'parm1': 1, 'parm2': 2})</CallbackMethod>
</Field>
Users browsing this forum: No registered users and 3 guests