WAP开发中的一些细节及经验

  • 格式:txt
  • 大小:4.72 KB
  • 文档页数:2
<postfield name="groupcode" value="6"/>
<postfield name="mgroupname" value="$mgroupname" />
</go></do>
<p mode="wrap">**修改组**<br/>
输入新组名:<br/>
<input name="mgroupname" tabindex="1" maxlength="64"/>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=0" forua="true"/>
</go>
</do>
4)有关软连结的友好提示
<a title = "确定" href="announce.wml">网站声明</a><br/>
加入title属性,可以在手机的左键显示title里面所放置的提示语。
"<do type=\"options\" name=\"Prev\" label=\"返回\"><go href=\"index.wml\"></go></do>"+
</select>
</p>
</card>
2)wap单选框
<card>
<p>Please choice your favourite Web.<br/>
<select name="X">
<option value="S">sina</option>
<option value="Y">yahoo</option>
最好是这样:
<do type="options" name="Prev" label="返回"><go href="indexmember.wml"></go></do>
<do type="Accept" label="确定">
<go href="/wapapp/servlet_yxtwap?serviceID=0401">
<postfield name="scity" value="1"/>
<postfield name="members" value="$members"/>
</go></do>
<p mode="nowrap">**选择会议成员**
<select name="members" multiple="true">
</select>
<p>
</card>
3)有关左右软按键)(由手机浏览器自动解析为menu菜单,在手机的右键出现;)
<do type=".options." label="确认" optional="false">
<go href="/wapapp/servlet_yxtwap?serviceID=0214"/>
</do>
代表右软按键,一个“确定”按钮;
<do type=".Accept." label="返回" optional="false">
<go href="../servlet_yxtwap?serviceID=0201"/>
</do>
代表左软按键,一个“返回”按钮;
<input name="phone" format="*N" tabindex="1" maxlength="11" size = "11"/><br/>
输入密码:<br/>
<input name="passwd" format="*N" tabindex="2" maxlength="6" size = "7"/>
<do type="options" name="Prev" label="返回"><go href="index.wml"></go></do>
<do type="accept" label="确定">
<go href="/wapapp/servlet_wap" method="post">
<do type="options" name="Prev" label="返回"><go href="index.wml"></go></do>
5)ipnut输入框自动换行
<p mode="nowrap">**姓名昵称**<br/>
姓名:
<input name="name" tabindex="1" maxlength= "32" />
<!-- go href="/servlet/wap86test" -->
<postfield name="serviceID" value="0002"/>
<postfield name="phone" value="$(phone:e)"/>
<postfield name="passwd" value="$(passwd:e)"/>
<do type="accept" label="确定"><go href="/wapapp/servlet_wap?serviceID=0213" method="get" accept-charset="GB2312">
<postfield name="omgroupname" value="11不俄而dd"/>
<option value="138345657678">88(138345657678)</option>
<option value="1383456576786">88886(1383456576786)</option>
<option onpick="meeting.wml">[返回]</option>
(2) String unicgpName = WapUtil.gbk2unicode(groupName);
(3) "<go href=\"servlet_wap?serviceID=0213\" accept-charset=\"GB2312\">\n" +
"<postfield name=\"omgroupname\" value=\"" + unicgpName + "\"/>\n" +
<postfield name="name" value="$name"/>
<postfield name="nick" value="$nick"/>
<postfield name="call" value="$call"/>
</go>
</do>
返回刚才上页:
<do type="options" name="Prev" label="返回"><prev/></do>

下载文档原格式

  / 2

相关主题