functionality not similar on webClient as in smartClient

Forum to discuss the Web client version of Servoy.

functionality not similar on webClient as in smartClient

Postby kotinkarwak » Tue Feb 14, 2012 11:44 pm

New to servoy and using the sample solution (servoy_sample_crm)

Two queries
1). Any advice on how to resoluve these errors as shown in the screen dump. I get this error when starting up smartClient.

servoy error.jpg


2). The only item that I have added is a button to the frm_company form with the following code

onAction -> method
Code: Select all
function myFormMethod(event) {
   
   //show input dialog ,returns nothing when canceled
   var typedInput = plugins.dialogs.showInputDialog('Specify', 'Your name');
   //show dialog
   var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed', 'OK');
   
}


On smartClient, I can see the two dialogs, but the webClient button does nothing...
What am I missing. Initially it did show ok, but now nothing happens, have stopped/started servoy/ browser and still no joy?

Thanks
You do not have the required permissions to view the files attached to this post.
kotinkarwak
 
Posts: 2
Joined: Tue Feb 14, 2012 2:28 pm

Re: functionality not similar on webClient as in smartClient

Postby ngervasi » Wed Feb 15, 2012 11:03 am

Regarding (2) there are some differences between Smart and Web Client and the Dialog Plugin is one of those, please have a look at this doc to start with: http://wiki.servoy.com/display/public/DOCS/Web+Client+compatibility+overview
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: functionality not similar on webClient as in smartClient

Postby kotinkarwak » Wed Feb 15, 2012 12:23 pm

Thanks Nicola,
Still puzzled in that a brand new solution does work fine for the above.
kotinkarwak
 
Posts: 2
Joined: Tue Feb 14, 2012 2:28 pm


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 9 guests