Spellcheck Plugin problem

Questions, tips and tricks and techniques for scripting in Servoy

Spellcheck Plugin problem

Postby Harry Catharell » Wed Aug 31, 2011 12:26 pm

Servoy v4.1.7

Customer asked for a spellcheck option to be added to to a text column
The simple one line method is:
Code: Select all
plugins.spellcheck.checkTextComponent(forms.item_list_tab.elements.item_spec);


This works in developer but fails when uploaded to server with following error:
TypeError: Cannot call method 'checkTextComponent' of undefined (item_spellcheck#3


Anybody identify why this should happen ?

Cheers
Harry
Harry Catharell
 
Posts: 812
Joined: Fri Sep 26, 2003 10:23 am
Location: Milton Keynes, England

Re: Spellcheck Plugin problem

Postby Joas » Wed Aug 31, 2011 12:56 pm

It looks like the plugin is not installed on the server.

Did you copy it to the plugins folder? If yes, do you have any other errors in the log?
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Spellcheck Plugin problem

Postby Harry Catharell » Wed Aug 31, 2011 1:26 pm

Missing plugin was my first thought but there is a spellcheck plugin on the server

Cheers
Harry
Harry Catharell
 
Posts: 812
Joined: Fri Sep 26, 2003 10:23 am
Location: Milton Keynes, England

Re: Spellcheck Plugin problem

Postby Harry Catharell » Wed Aug 31, 2011 1:33 pm

There is a folder on my development machine which is not on the server as per screenshots attached called 'Spellcheck'

Is this a problem I wonder ?

Cheers
Harry
developer plugins.png
developer plugins.png (56.48 KiB) Viewed 3564 times

server plugins.png
server plugins.png (61.22 KiB) Viewed 3564 times
Harry Catharell
 
Posts: 812
Joined: Fri Sep 26, 2003 10:23 am
Location: Milton Keynes, England

Re: Spellcheck Plugin problem

Postby jcompagner » Wed Aug 31, 2011 1:51 pm

some how the spellcheck plugins is not transfered to the client.
is it a public server? Can i try to download the client?
(we talk here about the smart client right?)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Spellcheck Plugin problem

Postby Harry Catharell » Wed Aug 31, 2011 1:56 pm

Hi Johan

I've sent the IP as a PM to you

Cheers
Harry
Harry Catharell
 
Posts: 812
Joined: Fri Sep 26, 2003 10:23 am
Location: Milton Keynes, England


Return to Methods

Who is online

Users browsing this forum: No registered users and 13 guests

cron