javax.faces.component.UIComponent
两种方法获得WebMap
//方法一
MapControl mapControl = (MapControl) component;
WebMap webMap = mapControl.getWebMap();
//方法二
WebContext wctx = WebUtil.getWebContext(component);
WebMap webMap = wctx.getWebMap();
转载于:http://leo43.blog.hexun.com/p9/default.aspx