bugs.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <html xmlns="http://www.w3.org/1999/xhtml"
  2. xmlns:xf="http://www.w3.org/2002/xforms"
  3. xmlns:ev="http://www.w3.org/2001/xml-events"
  4. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  5. <head>
  6. <title>J2ME Polish Bugs</title>
  7. <xf:model>
  8. <xf:instance xmlns="" id="document">
  9. <data>
  10. <page>intro</page>
  11. <test1>John</test1>
  12. <test2>John</test2>
  13. <test3>John</test3>
  14. </data>
  15. </xf:instance>
  16. </xf:model>
  17. </head>
  18. <body>
  19. <xf:select1 ref="/data/page" appearance="minimal">
  20. <xf:label>Page</xf:label>
  21. <xf:choices>
  22. <xf:item>
  23. <xf:label>Introduction</xf:label>
  24. <xf:value>intro</xf:value>
  25. <xf:toggle ev:event="xforms-select" case="intro"/>
  26. </xf:item>
  27. <xf:item>
  28. <xf:label>ChoiceTextField1</xf:label>
  29. <xf:value>ChoiceTextField1</xf:value>
  30. <xf:toggle ev:event="xforms-select" case="ChoiceTextField1"/>
  31. </xf:item>
  32. <xf:item>
  33. <xf:label>ChoiceTextField2</xf:label>
  34. <xf:value>ChoiceTextField2</xf:value>
  35. <xf:toggle ev:event="xforms-select" case="ChoiceTextField2"/>
  36. </xf:item>
  37. <xf:item>
  38. <xf:label>ChoiceTextField3</xf:label>
  39. <xf:value>ChoiceTextField3</xf:value>
  40. <xf:toggle ev:event="xforms-select" case="ChoiceTextField3"/>
  41. </xf:item>
  42. </xf:choices>
  43. </xf:select1>
  44. <xf:switch>
  45. <xf:case id="intro">
  46. <p>This form is used for demonstrating and testing various bugs in J2ME Polish UI.</p>
  47. <p>Please select test case.</p>
  48. </xf:case>
  49. <xf:case id="ChoiceTextField1">
  50. <p>Phone: S60 3rd ed. (E50, E70, E90 tested)</p>
  51. <p>Add the Surname "Smith" to text below (using number pad, not qwerty).</p>
  52. <xf:select1 ref="/data/test1" appearance="minimal" selection="open">
  53. <xf:label>Contact</xf:label>
  54. <xf:choices>
  55. <xf:item>
  56. <xf:label>John</xf:label>
  57. <xf:value>John</xf:value>
  58. </xf:item>
  59. <xf:item>
  60. <xf:label>Jane</xf:label>
  61. <xf:value>Jane</xf:value>
  62. </xf:item>
  63. <xf:item>
  64. <xf:label>Dilbert</xf:label>
  65. <xf:value>Dilbert</xf:value>
  66. </xf:item>
  67. </xf:choices>
  68. </xf:select1>
  69. <p>Result: Application hangs.</p>
  70. </xf:case>
  71. <xf:case id="ChoiceTextField2">
  72. <p>Phone: S60 3rd edition qwerty (E61i, E90 tested)</p>
  73. <p>Press "f" (lower case) in the form control (use qwerty)</p>
  74. <xf:select1 ref="/data/test2" appearance="minimal" selection="open">
  75. <xf:label>Contact</xf:label>
  76. <xf:choices>
  77. <xf:item>
  78. <xf:label>John</xf:label>
  79. <xf:value>John</xf:value>
  80. </xf:item>
  81. <xf:item>
  82. <xf:label>Jane</xf:label>
  83. <xf:value>Jane</xf:value>
  84. </xf:item>
  85. <xf:item>
  86. <xf:label>Dilbert</xf:label>
  87. <xf:value>Dilbert</xf:value>
  88. </xf:item>
  89. </xf:choices>
  90. </xf:select1>
  91. <p>Result: Selection list opens, letter is not added</p>
  92. </xf:case>
  93. <xf:case id="ChoiceTextField3">
  94. <p>Phone: S60 3rd edition (E50 tested)</p>
  95. <p>Press fire in the form control to open list and scroll down.</p>
  96. <xf:select1 ref="/data/test3" appearance="minimal" selection="open">
  97. <xf:label>Contact</xf:label>
  98. <xf:choices>
  99. <xf:item>
  100. <xf:label>John</xf:label>
  101. <xf:value>John</xf:value>
  102. </xf:item>
  103. <xf:item>
  104. <xf:label>Jane</xf:label>
  105. <xf:value>Jane</xf:value>
  106. </xf:item>
  107. <xf:item>
  108. <xf:label>Dilbert</xf:label>
  109. <xf:value>Dilbert</xf:value>
  110. </xf:item>
  111. <xf:item>
  112. <xf:label>Dick</xf:label>
  113. <xf:value>Dick</xf:value>
  114. </xf:item>
  115. <xf:item>
  116. <xf:label>Matt</xf:label>
  117. <xf:value>Matt</xf:value>
  118. </xf:item>
  119. <xf:item>
  120. <xf:label>Stephen</xf:label>
  121. <xf:value>Stephen</xf:value>
  122. </xf:item>
  123. <xf:item>
  124. <xf:label>Gabriel</xf:label>
  125. <xf:value>Gabriel</xf:value>
  126. </xf:item>
  127. <xf:item>
  128. <xf:label>Martin</xf:label>
  129. <xf:value>Martin</xf:value>
  130. </xf:item>
  131. <xf:item>
  132. <xf:label>Jim</xf:label>
  133. <xf:value>Jim</xf:value>
  134. </xf:item>
  135. <xf:item>
  136. <xf:label>Mary</xf:label>
  137. <xf:value>Mary</xf:value>
  138. </xf:item>
  139. <xf:item>
  140. <xf:label>Sue</xf:label>
  141. <xf:value>Sue</xf:value>
  142. </xf:item>
  143. </xf:choices>
  144. </xf:select1>
  145. <p>Result: Focus disappears "below the screen" (likely because form control is nested within a container).</p>
  146. </xf:case>
  147. </xf:switch>
  148. </body>
  149. </html>