[Cartoweb-users] help:timeout_async _toolTips
MUTOTA
s9911197 at students.polytechnic.edu.na
Tue Apr 24 06:51:48 EDT 2007
Hi List!
I am working on timeout_async _toolTips.
All the connections and loading to data source seemed to be OK.
Problems in hand:
(1) When my apallication loads up ,js TRACE DEBUGGER comes up with
highlighted worning as follows:
Updating GUI for plugin ToolTips
Warning: AjaxHandler.handlePluginReponse(): object AjaxPlugins.ToolTips not
found. AJAX response processing will be ignored for this plugin.
=====================files===========================================
toolTips.ini 's codes
; "psql://postgres:oracle@localhost:5432/Trumpet"
timeout_async.towns.label = "Towns"
timeout_async.towns.dsn = "psql://postgres:oracle@localhost:5432/Trumpet"
timeout_async.towns.dbTableName = Town
timeout_async.towns.attributes = "gid,name"
timeout_async.towns.tolerance = 6
timeout_async.towns.template = "layerResult.tpl"
;for rivers
timeout_async.rivers.label = "Rivers"
timeout_async.rivers.dsn = "psql://postgres:oracle@localhost:5432/Trumpet"
timeout_async.rivers.dbTableName = rivers
timeout_async.rivers.attributes = "id,t4a_name"
timeout_async.rivers.tolerance = 6
timeout_async.rivers.template = "layerResult.tpl"
mapFile 's code:
LAYER
NAME Rivers
# DATA rivers.shp
LABELCACHE OFF
CONNECTIONTYPE POSTGIS
CONNECTION 'dbname=Trumpet user=postgres password=oracle host=localhost'
DATA "the_geom from (SELECT the_geom, gid,t4a_name from rivers) as foo
using unique gid using srid=-1"
TEMPLATE "ttt"
LABELITEM "NAME"
LABELMAXSCALE 1e+006
LABELMINSCALE 8000
METADATA
"id_attribute_string" "gid|string"
"id_attribute_string" "id,t4a_name"
END
POSTLABELCACHE TRUE
SIZEUNITS PIXELS
STATUS ON
TOLERANCEUNITS PIXELS
TYPE LINE
UNITS METERS
CLASS
NAME "rivers"
LABEL
ANGLE AUTO
ANTIALIAS TRUE
FONT "vera"
MAXSIZE 256
MINSIZE 4
SIZE 7
TYPE TRUETYPE
BUFFER 0
COLOR 0 0 255
FORCE FALSE
MINDISTANCE 100000
MINFEATURESIZE AUTO
OFFSET 0 0
PARTIALS TRUE
POSITION AUTO
END
METADATA
"id_attribute_string" "gid|string"
"id_attribute_string" "tid,t4a_name"
END
STYLE
ANGLE 360
COLOR 0 0 255
SIZE 1
SYMBOL 'circle'
END
END
END
(2) The codes in the toolTips are not recognised anywhere in the application.
Any one has successfully done similar toolTips , help please!
Best regards,
Andreas Mtota
More information about the Cartoweb-users
mailing list