[fusion-users] Database Entry Form
mooman
moo at ci.garden-grove.ca.us
Wed Jun 20 15:14:25 PDT 2012
Hi James,
Well here's the funny part. InvokeURL is only good for sending you to a PHP
script that is able to access session data of what you're doing (like
selecting an existing feature). Seems like you'll have to write your own
widget. Which can be a combination of the Select and Invoke tools.
Basically, you'll want something like activate and deactivate and a handler
for click like Select. Once user clicks, you'll be able to run your code
getting the lat/lon and pass it to a script by opening a window like Invoke
does.
It may make more sense to have 2 buttons: one for creating a new point and
another for editing existing points (which you can use what you already
have).
I think it should be pretty simple to look at those 2 widgets and kindda
combine them. But, again, feel free to ask more detailed coding questions
also!
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Database-Entry-Form-tp4980592p4982825.html
Sent from the Fusion Users mailing list archive at Nabble.com.
More information about the fusion-users
mailing list