在SAPUI5中的SplitApp中从一个列表导航到另一个列表

时间:2017-03-09 04:29:58

标签: sapui5

我正在尝试在//************************************************************ // Grade.java Lawrence Maizon-Taylor // Gives response based on inputed grade //************************************************************ import javax.swing.JOptionPane; public class Grade { public static void main (String[] args) { String name, gradeString; int grade; //variable JOptionPane.showMessageDialog (null, "This program asks for your name and number based on a pass or fail grade of a course"); //makes statement name = JOptionPane.showInputDialog (null, "Enter your first name: "); //asks for name gradeString = JOptionPane.showInputDialog (null, "Enter a number 1 if you passed the course or a number 2 if you failed the course: ");//asks for number based on grade if (grade == 1) JOptionPane.showInputDialog (null, name + " congratulations on passing the course!"); else JOptionPane.showInputDialog (null, name + " sorry you didn't pass. Next time study!"); grade = Integer.parseInt(gradeString); System.exit (0); } } 中制作购物猫应用程序。它位于SAPUI5的演示工具包中。

我希望通过单击list1的Item来从一个List1移动到另一个List1。我的代码如下 -

SAPUI5.hanaondemand.com

请告诉我此代码中的错误...

1 个答案:

答案 0 :(得分:0)

我认为需要更多细节。你能发一个SSCCE吗? http://sscce.org/

另外 - 请在相关浏览器控制台中包含错误,以便明确可能出现的问题。

感谢。