Imagine you have a DIV element in your application. In order to save screen real estate, you might want to only show the DIV if the user clicked a button. That’s what this module does. The button will open a dialog containing the element specified in the target column. In the example, a button will open the print form in a new dialog.
INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('<appId>','printButton',1,1,'', 'Print','img','../img/button_blue_red/print_off.png','',NULL ,NULL ,24,24, NULL ,'','','','../plugins/mb_button.js','','printPDF','',''); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<appId>', 'printButton', 'position', '[600,100]', '' ,'var');
http://www.mapbender.org/User:Christoph_Baudson
Copyright © 2009, Open Source Geospatial Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license. http://svn.osgeo.org- /mapbender- /trunk- /mapbender- /license- /license.txt