[Wap]command和selectionList冲突的分析

<iframe align="center" marginwidth="0" marginheight="0" src="http://www.zealware.com/csdnblog336280.html" frameborder="0" width="336" scrolling="no" height="280"></iframe>

[Wap]commandselectionList冲突的分析

编写者

日期

关键词

郑昀@ultrapower

2005-7-14

Wap ASP.NET Opera Openwave M3Gate MME3.0

现象

我们的Wap页面由dotNET 编写而成,一个页面上使用了mobile:commandmobile:selectionlist控件。

当使用OperaMicrosoft Mobile Explorer 3.0M3Gate模拟器浏览页面,都没有问题

当使用OpenwaveSDK6.2.2的模拟器浏览时,却发现command控件下面出现了一个“确定”的按钮。如下图所示:

<shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"></shapetype><stroke joinstyle="miter"></stroke><formulas></formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f><lock v:ext="edit" aspectratio="t"></lock><shape id="_x0000_i1025" style="WIDTH: 147pt; HEIGHT: 296.25pt" type="#_x0000_t75"></shape><imagedata src="file:///C:%5CDOCUME~1%5CVICTOR~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.png" o:title=""></imagedata>

1 出现一个确定Command

点击“确定”后,却来到了selectionList控件以及它下方的内容,如下所示:

<shape id="_x0000_i1026" style="WIDTH: 141pt; HEIGHT: 295.5pt" type="#_x0000_t75"></shape><imagedata src="file:///C:%5CDOCUME~1%5CVICTOR~1%5CLOCALS~1%5CTemp%5Cmsohtml1%5C01%5Cclip_image003.png" o:title=""></imagedata>

2 点击确定之后

不单单是Openwave浏览器如此,在手机上,我们试验发现,两种手机型号也会出现同样的问题,UserAgent为:

l MOT-FE/07.07 UP.Browser/5.0.2.4”;

l Alcatel-BH4/1.0 UP.Browser/6.2.ALCATEL MMP/1.0

我们通过修改页面代码发现,如果将mobile:command控件删掉,或者将mobile:selectionlist控件删掉,都可以使这几种微浏览器正常显示。

解决办法

原先是mobile:command控件在mobile:selectionlist控件之前,我们把command调整到selectionList之后,各种微浏览器就显示正常了。

编写者

日期

关键词

郑昀@ultrapower

2005-7-14

Wap ASP.NET Opera Openwave M3Gate MME3.0




你可能感兴趣的:(F#,Opera,asp.net,mobile,WAP)