private SnippetParam[] getSnippetParams(WbdGenerator generator, WbdWidget instance, UimData ud)
     throws WbdException {
   //		String myProperty = instance.getProperty("myProperty", null);
   String informationPage = instance.getProperty("targetPage", null); // ttDemo-17
   String titlePage = instance.getProperty("titlePage", null);
   informationPage =
       RoutingUIM.navpointUrl(
           ud,
           informationPage,
           AutomaticUrlParametersMode.NO_AUTOMATIC_URL_PARAMETERS); // ttsvr/n/ttDemo-17
   SnippetParam[] params = {
     new SnippetParam("informationPage", informationPage), new SnippetParam("titlePage", titlePage)
     //			new SnippetParam("myNavpoint", myNavpoint)
   };
   return params;
 }
Example #2
0
 private SnippetParam[] getSnippetParams(WbdGenerator generator, WbdWidget instance, UimData ud)
     throws WbdException {
   String longtitude = instance.getProperty("longtitude", null);
   String latitude = instance.getProperty("latitude", null);
   String zoom = instance.getProperty("zoom", null);
   String width = instance.getProperty("width", null);
   String height = instance.getProperty("height", null);
   String typeid = instance.getProperty("typeid", null);
   SnippetParam[] params = {
     new SnippetParam("myLongtitude", longtitude),
     new SnippetParam("myLatitude", latitude),
     new SnippetParam("myZoom", zoom),
     new SnippetParam("myWidth", width),
     new SnippetParam("myHeight", height),
     new SnippetParam("myTypeid", typeid)
   };
   return params;
 }
Example #3
0
 @Override
 protected void init(WbdWidget instance) throws WbdException {
   instance.defineProperty(new WbdStringProperty("elementId", null, "Id", ""));
   instance.defineProperty(new WbdStringProperty("latitude", null, "My Latitude", ""));
   instance.defineProperty(new WbdStringProperty("longtitude", null, "My Longtitude", ""));
   instance.defineProperty(new WbdStringProperty("zoom", null, "My Zoom", ""));
   instance.defineProperty(new WbdStringProperty("width", null, "My width", ""));
   instance.defineProperty(new WbdStringProperty("height", null, "My height", ""));
   instance.defineProperty(
       new WbdRadioTextProperty("typeid", null, "My Type Id", "ROADMAP,HYBRID,SATELLITE", ""));
 }
 @Override
 protected void init(WbdWidget instance) throws WbdException {
   instance.defineProperty(new WbdStringProperty("elementId", null, "Id", ""));
   instance.defineProperty(new WbdStringProperty("titlePage", null, "Title", ""));
   instance.defineProperty(new WbdNavPointProperty("targetPage", null, "Target Page", ""));
 }
 @Override
 protected void init(WbdWidget instance) throws WbdException {
   instance.defineProperty(new WbdStringProperty("elementId", null, "Id", ""));
   //		instance.defineProperty(new WbdStringProperty("myProperty", null, "My Property", ""));
   instance.defineProperty(new WbdNavPointProperty("backPage", null, "Back Page", ""));
 }