Hi,
I have an HTML area on a standard Servoy 7.2 form. The dataprovider for the form is a form variable.
I have a photo, whose binary data is stored in a text field (UDM.contact_notes) and not a media field (mobile client 7.2 does not support blobs currently).
The mobile solution displays the photos fine (in a bean).
The back end solution, running the Web Client also display the photos fine in an HTML area. However, if I switch to the Smart Client then the photo is not displayed.
Is this a bug in the Smart Client or am I missing something?
Here is the code below (all 3 lines of it) :-
/**
- @properties={typeid:35,uuid:“25F4E69B-758D-4AC9-A35A-2D221E3E0D4D”,variableType:-4}
*/
var mynewimage = null;
/**
- @properties={typeid:35,uuid:“1C0952D6-1A4A-4A78-B322-6FBF2B26D23E”,variableType:-4}
*/
/**
- Perform the element default action.
- @param {JSEvent} event the event that triggered the action
- @private
- @properties={typeid:24,uuid:“04645217-9C2E-429D-B2CD-F68FCBCF2C1D”}
*/
function onActionPreview(event)
{
forms.contacts.mynewimage = ’’
elements.myimage.requestFocus();
}
I have attached a pdf with the screenshots from both the Web and the Smart Client.
[attachment=0]Web Client Ok Smart Client Bad.pdf[/attachment]
Thanks
Web Client Ok Smart Client Bad.pdf (234 KB)