02-17-2009 10:26 AM
I just received two new BlackBerry devices with 4.5 and 4.6 OS to test out a wireless application
I noticed that certain javascript that worked on the 4.2 and the 4.3 devices no longer work on the 4.5 and 4.6 ones. Here is the code that is on the handheld.
<input type = "radio" name ="pageChoice" VALUE="V" onClick="document.intro.submit()">View<br/>
What used to happen is that the page would be submitted when one of the (many) radio button on the menu screen were selected. It would be redirected to a struts action where the following code would be executed:
String choice = (String)req.getParameter("pageChoice");
System.out.println("choice>" + choice + "<");
On the 4.2 & 4.3 devices, the ‘pageChoice’ variable returns V if ‘View' is selected. However on 4.5 and 4.6 devices, null is being displayed. The page is being redirected, but the request value is empty.
Any thoughts on this?
Thanks
02-17-2009 09:47 PM