Tag: eclipse

由于依赖性,无法安装IBM Worklight插件

我正在Eclipse Indigo上安装IBM Worklight 。 它要求安装以下依赖项: Cannot complete the install because one or more required items could not be found. Software being installed: IBM jQuery Mobile Tools 6.1.0.01-20140418-0637 (com.ibm.webtools.jquery.tools.feature.feature.group 6.1.0.01-20140418-0637) Missing requirement: Mobile Patterns 1.1.0.v20140418_0503 (com.ibm.etools.rpe.mobile.patterns 1.1.0.v20140418_0503) requires ‘bundle org.eclipse.core.resources [3.8.0,4.0.0)’ but it could not be found Cannot satisfy dependency: From: Rich Page Editor – jQuery […]

Eclipse显示javascript错误

我正在使用Spring-Security openId示例应用程序中的一些javascript文件,但是eclipse显示出一些红色错误。 尽管存在这些错误,javascript文件似乎仍能正常工作,但我很困惑为什么eclipse会在我的文件副本中显示错误,而不是我导入eclipse的原始项目! 错误发生在文件“jquery.query-2.1.3.js”中 第一个错误是: Syntax error on token “new”, ArrayLiteralHeader expected after this token 在文件的第一行: new function(settings) { 第二个错误是: Syntax error, insert “]” to complete NewExpression 在文件的最后一行: }(jQuery.query || {}); // Pass in jQuery.query as settings object 我是否应该想办法让eclipse忽略这些错误,或者实际上我需要解决这个问题? 对不起,我对javascript知之甚少。 谢谢!

在SWT浏览器中运行JQuery脚本

我正在开发一个带有嵌入式SWT浏览器的Java应用程序。我想在SWT浏览器上运行一个jquery脚本。我已经将jquery库文件放在项目的src文件夹中。这里是程序。 import org.eclipse.swt.SWT; import org.eclipse.swt.browser.AuthenticationEvent; import org.eclipse.swt.browser.AuthenticationListener; import org.eclipse.swt.browser.Browser; import org.eclipse.swt.browser.ProgressEvent; import org.eclipse.swt.browser.ProgressListener; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class Dummy3 { static int x=1; public static void main(String args[]) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); //static int x=1; final Browser browser = new Browser(shell, SWT.NONE); final String s= […]

Selenium Web自动化 – 将值发送到“禁用”文本框

我们正在使用Selenium测试ASPNET MVC应用程序 。 在网页中,他们使用Jquery Date控件Textbox datepicker / #icon-trigger ,该文本框处于禁用模式 我试图通过使用以下代码将值从selenium发送到网页。 Driver.findElement(By.id(“txtDOB”)).sendKeys(“10/10/1986”); 但它没有用。 它没有显示任何错误。 现在我的问题是how to send values to Disabled text box? 谁可以帮我这个事…?

IBM Worklight 6.1 – 未捕获的ReferenceErrors:未定义WLJQ,未定义WL

我正在使用Eclipse Juno中安装的IBM Worklight Developer Edition 6.1作为我的IDE和backbonejs作为我项目的主要javascript框架。 我的index.html <!– window.$ = window.jQuery = WLJQ; 我的main.js require.config({ paths: { jquery: ‘libs/jquery/jquery-min’, underscore: ‘libs/underscore/underscore-min’, backbone: ‘libs/backbone/backbone-min’, templates: ‘../templates’, bootstrap: ‘bootstrap.min’, initOptions: ‘initOptions’, biiRibMobile: ‘biiRibMobile’, messages: ‘messages’ }, }); require([‘app’, ], function(App) { App.initialize(); }); 我的app.js. // Filename: app.js define([‘jquery’, ‘underscore’, ‘backbone’, ‘router’, // Request router.js ‘bootstrap’, ‘initOptions’, ‘biiRibMobile’, […]

Eclipse的jQuery Code Assist

我正在使用Eclipse PDT Helios v3.6我尝试过使用jQueryWTP插件@ http://www.langtags.com/jquerywtp/我做了安装说明所说的。 但徒劳无功。 我仍然无法获得代码帮助。 有人有更好的运气吗? 非常感谢帮助。

是否可以将Jquery与Eclipse集成?

是否可以将Jquery与Eclipse / MyEclipse集成? 通过集成我的意思是,如果我正在处理任何JSP或HTML文件并且我包含jquery.js,那么它应该自动启动代码协助/自动完成。 编辑: 我不想使用APTANA(127 MB插件) 。 如果有其他方式请告诉我。