javax.faces.component.UIComponent
兩種方法獲得WebMap
//方法一
MapControl mapControl = (MapControl) component;
WebMap webMap = mapControl.getWebMap();
//方法二
WebContext wctx = WebUtil.getWebContext(component);
WebMap webMap = wctx.getWebMap();
轉(zhuǎn)載于:http://leo43.blog.hexun.com/p9/default.aspx
兩種方法獲得WebMap
//方法一
MapControl mapControl = (MapControl) component;
WebMap webMap = mapControl.getWebMap();
//方法二
WebContext wctx = WebUtil.getWebContext(component);
WebMap webMap = wctx.getWebMap();
轉(zhuǎn)載于:http://leo43.blog.hexun.com/p9/default.aspx