我对Eclipse有个问题,它抱怨jsp文件中的javascript代码中缺少分号。对于下面的两行,Eclipse会抱怨第一行,并指出在结束大括号之前缺少分号。它对第二行没有任何抱怨。我宁愿使用第一种方式,但我对这些警告感到厌烦。我是否应该使用不同的语法?我也在使用JQuery,所以我不知道这是否导致了Eclipse中的解析错误。
var isFoo = ${actionBean.isFoo}; // javascript type is boolean
var isFoo = '${actionBean.isFoo}'; // javascript type is st
我需要做一个这样的屏幕:
我唯一需要添加到代码中的就是将背景图片放在这些按钮后面的东西。
这就是我到目前为止所知道的:
public class PruebaScreen extends MainScreen{
public PruebaScreen(){
LabelField title = new LabelField("Screen Title");
title.setPadding(40, 0, 20, 60);
BitmapField btn1 = new BitmapField(Bitmap.getB