Listing 13. Handling a zip code.
清单13.处理邮政编码。
It looks for a zip code parameter in the portlet request.
它在portlet请求中查找邮政编码参数。
After the user enters a zip code, the results are displayed, as shown in Figure 2.
用户输入一个邮政编码,就会显示出结果,如图2所示。
When you search for a zip code, the map zooms and centers on the location of the zip code.
在搜索一个邮政编码时,地图会以这个邮政编码的位置为中心放大。
The first part of the form takes the sensor ID and submits it to a Web service that returns a zip code.
表单的第一部分获得传感器ID,并将它提交到返回邮政区号的Web服务。
It has a zip code, which can be recognized and constrained as being, say, different from a United Kingdom postal code.
它包括一个邮政编码,可加以识别和约束,比方说,不同于英国的邮政编码。
For example, a zip code lookup relationship might map the phone area code "650" to the zip codes "94010," "94305," and so on.
例如,邮政编码查询关系可以将电话区号“650”映射到邮政编码“94010”、“94305”等。
When a zip code is entered into the search field, a request is passed to the Web server, which USES a PHP ODBC connection to the backend Informix database.
当向搜索字段输入某一个邮政编码后,一个请求就传向一个使用PHPODBC与后台Informix数据库连接的Web服务器。
The service interface for our example is very simple, consisting of one method that can be called by the sample portlet to retrieve the location information, based on a zip code.
我们实例的服务接口非常简单,仅由一个方法构成,以邮政编码为基础,样本portlet可以调用该方法来检索位置信息。
After setting the environment, invoke the "i4glsoademo" program that passes a zip code and retrieves the corresponding city and state from the 4gl function deployed as a Web service.
在设置环境之后,调用“i4glsoademo”程序,它把一个邮政编码传递给部署为Web服务的4gl函数,并从服务接收相应的城市和州。
The bot in this article looks for users who start messages with the word weather, followed by a ZIP code.
本文中聊天机器人(bot)查找的用户消息以weather开始,后跟邮政编码。
At this point in the process, you're in the server side of your RoR application, and you have a ZIP code with five digits.
在流程的这一阶段,您处于RoR应用程序的服务器端,并可以看到一个五位数的邮政区码。
The application's GUI presents the user with an input box for entering a ZIP code and a choice of Celsius or Fahrenheit to represent temperatures.
该应用程序的GUI向用户显示了一个用于输入ZIP代码的输入框,还显示了一个使用摄氏温度还是华氏温度来表示温度的选项。
The application's GUI presents the user with an input box for entering a ZIP code and a choice of Celsius or Fahrenheit to represent temperatures.
该应用程序的GUI向用户显示了一个用于输入ZIP代码的输入框,还显示了一个使用摄氏温度还是华氏温度来表示温度的选项。
应用推荐