[Chameleon] Widgets or JSAPI

Seiple, Timothy E timothy.seiple at pnl.gov
Tue Aug 16 12:57:49 EDT 2005


I have a web application that requires the user to manually enter
coordinate information into a form.  I would like to provide a button,
whose on_click event will launch an instance of chameleon with a map
that allows the user to click on the map to get the coordinates.  The
coordinates must then be passed as variables back to the calling form.
A remote Oracle DB will provide the spatial data and store the captured
coordinate information.

Can I do this with Widgets or must I use the JSAPI?  I am confused about
where I can place scripts.  For example, my template uses the Cursorpos
Widget to dynamically display {x,y} but how do I capture these in
variables that can be passed to other pages?  I can see the Chameleon
generated JavaScripts and variables in the page source but don't know
how to interact with them.

I need some help understanding the big picture.

Thanks,
Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20050816/a9bc8ca6/attachment.html


More information about the Chameleon mailing list