wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

UIBuilder.setBackDestination(String formName) not working properly #1343

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Prequisites?

Have three forms, one pointing to next one (A-->B-->C). Make sure that 
back-button is enabled. Add before show events for the forms.

What steps will reproduce the problem?

1. Add setBackDestination("A") to the before show event of form C.

What is the expected output? What do you see instead?

Form A should be shown in back-button. Pressing the back-button should show the 
form A. Instead form B is shown in back-button. Pressing the back button shows 
you the form B.  

What version of the product are you using? On what operating system?
Latest. Windows 7.

Please provide any additional information below.
https://groups.google.com/forum/embed/?place=forum/codenameone-discussions&shows
earch=true&showpopout=true&hl=en&parenturl=http%3A%2F%2Fwww.codenameone.com%2Fdi
scussion-forum.html#!searchin/codenameone-discussions/manipulate/codenameone-dis
cussions/HcUTbSEAl7Y/ldSMCNbo_QQJ

Original issue reported on code.google.com by mikko.nu...@gmail.com on 9 Feb 2015 at 9:50