0
votes
0answers
6 views

Phonegap Cordova - 3.2 Custom Plugin -> undefined error - Android

Working in Phonegap / Cordova 3.2 - Android - Debugging in Eclipse I am trying to write a simple Cordova 3.2 plugin but can't get it to run. I have been able to install the plugin through the CLI but ...
1
vote
1answer
9 views

Equivalent of Line Separator in smartGWT?

Is there an equivalent or alternate for System.getProperty("line.separator"); It gives the below error The method getProperty(String, String) in the type System is not applicable for the ...
0
votes
0answers
16 views

Java Play show last value of dropdownbox when reloading page

When I hit loadtemplate_button, the page gets reloaded with the correct selection but the dropdownbox resets to the first choice. I want the dropdownbox to be displaying the last choice. Please note ...
-2
votes
0answers
25 views

How to disable option under File menubar of IE progarammetically?

I have a requirement to disable New window from File in IE. I tried to find it out in google but can find it through settings in IE but i have to hard code it in source code. I think it is possible ...
0
votes
1answer
23 views

Masonry Layout with GWT

There is this great masonry layout for JavaScript, which produces layouts like the following: Is there also an implementation for GWT? (I know I could use JSNI but I want to use a better way where ...
-1
votes
3answers
59 views

Boolean Type Conversion Systems (Java)

I am considering a type conversion system for a flexible template system. I need to map any object types to meaningful boolean values to ease flexibility and usability. There are many things to ...
1
vote
1answer
21 views

Vertical scroll bar is not visible when i moved horizant scroll bar extreme left

I am using JSF with richfaces 3.2 but i am facing problem with scrollbar in extended table when i moved horizontal scroll bar extreme left then Vertical scroll bar is not visible . When i move ...
0
votes
0answers
11 views

NO Response from Instagram Real Time Update

Im working on the Real Time Updates in the instagram API. When I hit the instagram with the call back url and hash tag. It returned me { meta: { code: 200 }- data: [0] } Here is my code for the ...
-1
votes
1answer
32 views

Ajax call response time line showing 16041.2 days

My ajax call response time shows 16041.2 days in chrome developer console under network. I have no idea , why its showing these much days. And I also want to know will this affect the page speed of ...
2
votes
1answer
38 views

Convert javascript template to pure javascript

By using java i want to convert javascript template (i try to make ) to pure javascript Here is example : Input <? function test() { return "Just a message"; } if("a"=="b") { ?> ...
0
votes
0answers
20 views

datable doesn´t work in IE

I have an app to represent a table same that this: http://datatables.net/. I have it developed and it works in firefox and chrome but in IE it doesn´t work and I don´t why! I have seen a lot of pages ...
0
votes
1answer
35 views

AES encryption in javascript and decrypting in java

I have an excisting webservice which encrypts and decrypts with AES, now i have to encrypt in the same way as java but in javascript. I have read all the topics about doing this in javascript but ...
0
votes
1answer
27 views

adding external js in gwt

I writed and checked my js code in GWT. For checking I added my js code in (projectName).html file and it is worked. But when I try added external js file I get an error: WARN] 404 - GET <path to ...
-6
votes
0answers
23 views

Is there a script that can generate native XAP apps for windows 8 phones? [on hold]

maybe someone can help by creating a visual studio plugin for it?I would be really grateful to you :) or maybe someone who can make a javascript or visual studio plugin for it? ...
0
votes
2answers
34 views

How to overcame htmlunit ScriptException?

I got a problem with a line of code that probably triggers some js function e couse an exception, how can i fix this? box.setText(link.toString()); ...
-1
votes
1answer
16 views

Use an accelerometer with Java [on hold]

I have been trying to get Java(I'm using Eclipse) to read and display data from an accelerometer. Between the accelerometer and my computer I am using an arduino uno board. What do I need to put in my ...
0
votes
1answer
14 views

Inline spell checker for web forms [on hold]

I am looking for a spell checking tool for my web forms, I need an inline spell checking tool that shows spelling errors in text and text area fields, I found JSpell Evolution which is not a freeware, ...
0
votes
1answer
17 views

Clicking a javascript button with HtmlUnit

I'm trying to click a Html button using HTMLUnit. Button code: <input class="Submit" value="I Accept." type="submit" name="ButtonSubmit" id="button" onclick="/*some looong js code*/" ...
0
votes
0answers
20 views

A Javascript code embedded in java based webrowser application to organize the content of the web pages

i'm creating a web browser using java "netbeans IDE", so far i managed to do the easy part but each time i open a website it comes disordered, weird colors and backgrounds and not in English, i was ...
0
votes
0answers
13 views

MGWT Event Prevent Event Propagation

For standard GWT Events you can do the following: @UiHandler("panel") void onPanelClick(ClickEvent event) { event.stopPropagation(); } The event.stopPropagation() prevents the event from ...
0
votes
1answer
34 views

GWT: take screenshot of widget

For a training project I have to use the Google Web Toolkit to create a small app. The app visualizes a dataset either in a table or a map, both can be loaded into a VerticalPanel (which I called ...
1
vote
1answer
44 views

Calling javascript function from Java in Play Framework 2

I'm making a little messaging aggregation app in Play Framework 2, and basically what it does is : A python script gets data from the web, basically just text. It send the data to a route in the ...
0
votes
0answers
17 views

Is there a way to NOT refresh the page in JSF with commandButton?

I have a js that changes the style of a link, it works, but when the command button is pressed and the value is changed, the whole page refreshes and the changes from the js dosent save. Is there a ...
0
votes
1answer
40 views

play framework redirect not working

I'm developing an Application that harvests information from Twitter. I want the user to be able to indicate which parts of their profile I should use (for example they may not want their tweets to be ...
1
vote
2answers
29 views

How to store a string to file in android java code and call it for parsing in javascript

I am trying to implement a jQuery Mobile application in which I am parsing an HTML code of a page to find only content of a div using div-id (in example main-content-inner). I am doing so in ...
0
votes
1answer
37 views

Uploading Files trough GWT-RPC?

Uploading files with GWT is usually done with a FileUpload inside a FormPanel like this: // Create a FormPanel and point it at a service. final FormPanel form = new FormPanel(); ...
-3
votes
0answers
20 views

Websocket unexpected responce code 404 [on hold]

there. Did you resolve your problem about Unexpected responce code: 404 ? I'm at this moment browsing the internet in order to resolve the same feature.
1
vote
1answer
23 views

the JSONArray is empty when I get it in js function from struts2 action,I cannot figure out why

this is my struts.xml <package name="ajax" namespace="/" extends="json-default"> <action name="checkMembers" class="com.mytest.action.InfoCheck"> <result name="success" ...
0
votes
1answer
51 views

Text to JSON formating

I've read a lot of discutions and got some answers..but I'm still wondering can I have text like this: ps:mandatory' child of Input command functions Properties ps:Source: f47437 ps:Created: ...
0
votes
1answer
53 views

Convert var javascript to java variable

i am using jsp format eclipse 3.2 tomcat server 5.5. I have a problem to convert var variable (javascript) to int variable(java). what is the correct way to do this? In html body, i use this method ...
0
votes
2answers
42 views

Jquery date validator not receiving value

I need to make a validation for two dates: start_date and end_date, after I write them in the inputs. The validation is working fine but I would like to have the option of giving the end_date the ...
0
votes
0answers
18 views

Weird exception when using Rhino and Mozilla JavaScript api

I am using Mozilla Rhino for a project and I'm trying to convert a String to a JSON object. The piece of code that does this is: public class RhinoJsonObjectCreator implements IJsonObjectCreator { ...
-2
votes
0answers
19 views

What shall be the backend for the event scheduler app [on hold]

I am working on a project which has two user interfaces and I have to schedule an event. 1st user provides 'city' and 'date' and 'subjects' 2nd user also provides 'prefered city' and 'date' and 'area ...
-2
votes
0answers
20 views

getting web-services and phone gap working under android emulator [on hold]

I have soap web-services by using factorial program so that program i need to develop client side i.e phone gap and web-services working under android emulator. so will insert client(i.e phone gap) ...
0
votes
1answer
53 views

NodeJS programming model for a Java developer [on hold]

I m very well versed with Web application developing using Java/Java EE, etc and multi-threading concepts. But recently, NodeJS is getting lot of traction. Being a Java developer, how do I think ...
-5
votes
0answers
37 views

Guidance needed to get started with the project [on hold]

I have to do a university project wherein i need to get inputs from colleges and professors of various colleges. The inputs from colleges that are to be taken are ...
0
votes
0answers
23 views

Ajax call for typeahead feature

I am trying to implement typeahead feature in my search engine using solr. For that purpose I have defined my custom response class as shown below: public class TypeAheadResponseWriter implements ...
2
votes
5answers
62 views

JavaScript on Netbeans Scarce Code Support Features

I have difficulties coding in JavaScript with Netbeans. I can't see beforehand: my mistypes, relations between classes, functions and variables (dependency, parents-children etc.), javadocs ...
0
votes
1answer
38 views
+50

Fetch Local Storage Items before Android Native App

HTML5 app (Cordova Supported) is running on Google Play and i do hold lot of local storage items of user . Now i am going to release Android pure native app so i don't want user to register again for ...
0
votes
1answer
35 views

When converting from Java, can gwt generate .js instead of .html files?

I find that GWT will generate multiples HTMLS and use frame injection to invoke the JS logic in the caller HTML. But most of the browsers will not allow you to do frame injection on a local file ...
0
votes
1answer
33 views

String replace doesn't work when pass string through android webView JavascriptInterface

I got a string replace issue when I pass Java String into android webView through JavaScriptInterface. Below is the HTML (utf-8 file) inside the webView: <html> <head> <script ...
1
vote
2answers
49 views

How can one implement in Java the same as JavaScript String.replace(RegEx, function)?

I would like to do some simple String replace with a regular expression in Java, but the replace value is not static and I would like it to be dynamic like it happens on JavaScript. I know I can ...
0
votes
1answer
65 views

AngularJS service with Java (REST)?

I generated a simple java REST service with netbeans and it is working and now I need to make a AngularJS controller and service to get some data (nothing special). I never used angularjs before and I ...
0
votes
1answer
41 views

AJAX - ok on server side, returns error on client side

I have a problem with an AJAX: In server side I get a result but in client side (javascript) it returns an error. Server side: @RequestMapping(value = "/nrConturi", method = RequestMethod.GET, ...
0
votes
0answers
13 views

Simulate browser using RingoJs

I create a server that accessing a site as if the site is accessed by a browser. Some sites that my server need to access is required the execution of javascript, my question regarding RingoJs is: can ...
0
votes
1answer
20 views

closure-compiler wouldn't switch off suspicious code warning

I use the closure compiler to compile different js files into one short file. Admittedly this is not very effective for an already compiled file but never the less it should work. I got the command ...
-4
votes
0answers
27 views

Web Site Content Crawler Tool [on hold]

Generally i want to discuses with you about my current project, i want to make a Web Site Content Crawler that can fetch information like shopping cart websites what a shopping website contains ...
1
vote
2answers
35 views

How to access and extract emails from a SMTP server using APIs

How can I extract extract emails and attachments using an API from a SMTP (Mail) server? I was trying to figure out how Posterous worked. I found this open source project but it had no source code. ...
0
votes
1answer
35 views

Countdown Timer in J2EE

I am working on an Online Examination project in J2EE and I want to put a countdown timer which allows a user to see the Time remaining before the exam gets submitted.. What is the most efficient way ...
0
votes
2answers
43 views

How to disable / Enable plugins?

We are creating a web application. In there, we would like to disable some plugins installed in the user's browser when the user visit out site, such as video downloaders. Is there anyway we can do ...

15 30 50 per page