Project

General

Profile

Defect #496

Constant values are not recognized without calling a plugin function/property first

Added by Marc Boegem about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Start date:
04/19/2012
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

If you try to use the constant values like OUTPUT_FORMAT.VIEW, in Serclipse we end up with a reference error: "OUTPUT_FORMAT" is not defined.
This is solved when you first use a function of property of the plugin (ie. plugins.jasperPluginRMI.reportDirectory

History

#1

Updated by Andrei Costache about 12 years ago

  • Status changed from New to Closed
  • Assignee set to Andrei Costache
  • Client type changed from Smart client to Any

This has been fixed in Servoy 6.1.
In versions prior to 6.1, you first have to touch the plugin (for instance, just use something simple like "plugins.jasperPluginRMI;") before using the constants.
This is how the plugin loading mechanism also for Servoy 5.2.x.

Also available in: Atom PDF