![]() | ![]() |
|
In today's world of icons controlling flow, illustrating a concept, etc. it would be useful to be able to use pictures to control elements on the form/process.
To do this we would need to have something like "When user clicks picture" control, both Visual scripting and also Client side scripting would be handy.
One easy way to accomplish this in the meantime is to use a Status field type. You can select any image that you'd like, and it is very easy to configure drill down to URL, open a folder, etc...and you have client side scripting as well. The only thing it doesn't have is server-side visual scripting.
hope that helps.
Thanks Ari, that's a reasonable work around. I was using a label and the html image tag with OnClick javascript to accomplish this, at least that removes the pure html in labels element to it.
If you put your desired server side and/or client side code on a command button and hide it, you can programmatically "click" said command button by attaching a javascript function inline on your handled OnClick() event (or Blur or Changed or whatever...). For example, you can use a calculated label field and set it up to render a literal HTML <IMG> tag and attach a function to the OnClick() that does this:
document.getElementById("MyCommandButton").click()
Now when you click the IMG, you will be programmatically clicking the invisible command button with whatever server side or client side code you choose. You just need to think about your events as buttons and tie your interface to those buttons.
But I agree, having the events exposed as properties on the Image control would be more convenient... or even better yet... extend the Command Button control to have a property that accepts images (button states hover, pressed, etc..) like the Asp.Net ImageButton control class.
You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
How to Be Notified of New Releases
How to Suggest Product Enhancements
Metastorm BPM 7.6.4 Hotfix 2 (7.6.4.2) is now available for download in the 'Patches' section of the Knowledge Center here.
Metastorm BPM Widgets Release 2 for OpenText Smart Business Workspace Version 9.1 and Metastorm BPM 9.1.3 is now available for download in the 'Patches' section of the Knowledge Center here. For more information see this post.
Metastorm BPM 9.1 SR3 (9.1.3) is now available for download in the 'Patches' section of the Knowledge Center here. For more information see this post.
Metastorm BPM 9.1.2 Hotfix 2 (9.1.2.2) is now available for download in the 'Patches' section of the Knowledge Center here.
Note: Software and documentation are now in the Knowledge Center (KC) located here.
Have a question about the Community Site? Contact Us
![]() |
![]() |
![]() |
|
|
![]() |
![]() |
![]() |
















