Hi Paul, A happy new year to you and all other MB users too! In addition to what Cameron wrote, I noticed you have a typo in the following tag in your html:
<div id="aoiHtmlNode"</div> should be: <div id="aoiHtmlNode"></div> Not sure if it makes a difference. Kind regards, Roald Cameron Shorter wrote: > Hi Paul, > Any offer to write documentation is very attractive and worthy of a > response. :) > > You seem to have a problem in your massgis_mbconfig.xml file. > A widget determines which model it should render from the tree structure > in the config file. > In your case, <SetAoi> should be inside <Context id="mainMap">. > Ie > <models> > <Context id="mainMap"> > <widgets> > .. > <SetAoi> > </widget> > </Context> > </models> > > Cote, Paul wrote: > >> Hi Folks, >> >> Sorry if this is posted twice. I was not subscriobed to the list the >> first time, & so have no way of knowing if my previous attempt was >> posted. Happy new year everyone! >> >> The post: >> >> I am new to MapBuilder but was amazed at how easy it was to make a web >> page pointing to resources at my favorite GIS agency. >> >> Now I have spent about a week trying to add the aoiform widget and >> have been reading all of the code and bootstrapping myself on >> Javascript, XSLT, sarrissa and all the rest (which is certainly good >> for me!) but I can’t make the dad-gummed Aoi Form work!! My dream is >> to have a nice web page where a user can drag a box on a map and I can >> capture the bbox into a metadata form that they are filling out. It >> will be so cool! >> >> I have successfully created a page with a model and added the SetAoi >> button and a AoiForm widget, but I can’t for the life of me cause the >> aoi parameters to update in the form! I have a feeling I am missing >> something that is easy and fundamental to someone who know what they >> are doing. >> >> Here is the page http://www.gsd.harvard.edu/gis/mapbuilder/massgis.html >> >> you will see links to my config file and context documents at the >> bottom of the page. >> >> If you can help me with this, I promise to help to improve the newbie >> documentation for MapBuilder! >> >> Thanks >> >> Paul Cote >> >> Harvard Graduate School of Design >> >> Geographic Information Systems Specialist >> >> Lecturer in Urban Planning and Landscape Architecture >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Mapbuilder-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users >> >> > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
