0
votes
0answers
9 views

static variables lost values in JSP primefaces remoteCommand

I implemented lazy loading data of freedays. When i use remoteCommand in moment when I need to load more data, my variable still haves init value. I even print the data in load func, it prints ...
0
votes
0answers
9 views

SMS / JavaScript Loop - Android

I had an issue when I tried to send SMS' programatically, but only a handful actually got sent, so I tried to change tactic, so javascript loops through each number, and does a certain amount of ...
0
votes
0answers
36 views

Using ajax with my JavaScript to store a value while handling events?

I have a jsp, that contains a <button> with an onclick event and a list of <input type="checkbox"/>s that are being handled with my AjaxScript.js (also mentioned in the next paragraph). I ...
0
votes
0answers
13 views

How to reload the whole page in Liferay

I am using Liferay 5.2.3. In my view.jsp file I have a hidden form that after it is populated, it is sent to the processAction(request, response) method of my portlet like this: ...
-1
votes
0answers
27 views

how to translate this hash encryption code from java to node.js

I need help translating this bit of encryption hash code from java to node/javascript using node.js crypto library. Below is the relavent java code: Mac localMac = getValidMac(); ...
-1
votes
2answers
47 views

javascript: String to Byte[] to String [on hold]

I coded my application in java in a first time and I should now coded it in javascript and I have some problems in the handling of string and arraybytes in javascript and recoding methods of ...
0
votes
1answer
25 views

How to resolve session timeout error from client side?

I am stuck in a situation related to session timeout()While user is still active on web page. What is happening that on clicking a particular link on webpage user is redirected towards a popup page. ...
0
votes
0answers
6 views

How to design and incorporate a Kish Grid on KoboForm Builder?

How to design and incorporate a Kish Grid on KoboForm Builder? KoboForm helps in Designing questionnaires online for use on android platforms. i still haven't been able to incorporate a Kish Grid into ...
0
votes
0answers
12 views

How can i call Java web service method in blackberry web works/HTML5 app?

I am developing blackberry web works/HTML5 application for blackberry OS 7 environment and testing it with ripple emulator. I have developed java web service which retrieves data from database and ...
-1
votes
2answers
76 views

Inline Conditional Negation [on hold]

Is there an inline way to conditionally negate a value or expression without having to use a conditional evaluation such as the following?: result = (condition) ? value : -value; result = value * ...
0
votes
0answers
37 views

How to access List of List of Beans in Javascript

I'm using Raphael charts with JSF 2.1. I'm trying to draw a linechart which takes input for x-axis is an array of arrays and so is y-axis. My x-axis should contain timestamps(xvals in xhtml) and ...
0
votes
1answer
44 views

How do I implement this java pattern in JavaScript (using inheritance)?

Here is the working java code to provide a base engine class which handles the balance listener registration, for a number of engine implementations used by various games. e.g. there would be a demo ...
1
vote
1answer
54 views

Pass variables from java to javascript

I'm new to JavaScript programming, and I have a question that I could not find an answer to anywhere. I have some code in Java that does some stuff with two double arrays double[] arrX = new ...
0
votes
1answer
38 views

How to mention URL while submitting ajax form?

I am using HTML/JQuery/AJax to call a servlet. I am submitting a form to servlet. But it always gives 404 saying resource not found. i have maven project. I have Servlet in src/main/java package is : ...
0
votes
0answers
20 views

Android Javascript Interface Fail

I am using Javascript Interface in my application. When i run Debug on my device(Galaxy 3) it run perfectly without any problem,but when i make a release apk file the JavaScript is probably not ...
0
votes
1answer
17 views

How to pass String collection from controller to view in Spring MVC

I'm trying to use "Tag-it" jQuery UI plugin with Spring MVC My controller gets list of available tags from DAL and add it to model as attribute: @RequestMapping(value = "/", method = ...
0
votes
1answer
25 views

How to get Selected option value from html:options collections

I am having an Drop down in my Jsp. How to get selected value from tag in Jsp. <html:select property="temp_Id" > <html:options collection="listmap" property="key"/> ...
0
votes
1answer
9 views

Tacos AjaxEventSubmit doesn't attach necessary javascript for Tapestry Palette component after refresh?

I've got two tacos radio buttons which I use for hiding (1st value) and showing (2nd value) palette. I am using Tapestry 4.0. In updateComponents, I use "mainForm" which is the standard Form, where ...
1
vote
0answers
60 views

Detecting if multiple bent lines intersect

I'm in the process of making a swimlane diagram but can't come up with a good algorithm to automatically lay out the lines that connect the nodes in the diagram. What I essentially want is this. ...
0
votes
0answers
8 views

Edge Animate using JS to change out a composition?

I'm trying to cycle between 8 compositions using edge animate and the edge commons library. So i have one button and one container which is a symbol, when they tap the btn i want it to load in a comp. ...
-7
votes
2answers
60 views

How can I connect JavaScript to PHP? [on hold]

I need to create a HTTP request from JavaScript to PHP and send a big string to the server as a file. I can make this in Java, but I need it in JavaScript. What I have in Java: private static String ...
0
votes
0answers
16 views

Embed java applet into chrome extension

I have been researching this topic for quite a while now. I know that there is a know bug for applets in chrome extensions but I found this old thread stating that there is a workaround: Mozzilazine ...
1
vote
0answers
16 views

CkEditor does not update content when used in production mode

I am facing an issue using gwt-ckeditor in my app, in production mode when deployed on a webserver (tomcat). I am loading content from database and displaying these content on to the ckeditor using - ...
0
votes
2answers
59 views

Is it possible to ask user to close the session before closing the browser? [on hold]

Is it possible to ask user to close the session before closing the browser? If user want to close the browser then need to ask whether wants close session or not.If clicks yes needs to in the same ...
-1
votes
1answer
35 views

Is the $ sign not recognized by Rhino Script Engine?

I'm trying to call a javascript from my java class. Please find below my java code: File file = new File(".....js"); ScriptEngineManager factory = new ScriptEngineManager(); // create a ...
3
votes
1answer
34 views

Run JavaScript method and return parameter

I want to run JavaScript function on my android app,this is how i create the webview: m_FullJSWebView = new WebView(m_VideoView.getContext()); m_FullJSWebView.loadData(htmltmp, "text/html", "UTF-8"); ...
0
votes
1answer
14 views

Converting XMLDocument object to String in Javascript

I want to convert XMLDocument object that I'm getting as a response from an ajax request, to a string. I tried using new XMLSerializer()).serializeToString(xmlObject) and I get the following ...
0
votes
0answers
9 views

Rhino: Fetch javascript function arguments in java

I am using Rhino for my work in which I intend to have a java wrapper interface on top of native javascript functions. Something like this: public interface WrapperFunction { public void ...
0
votes
0answers
15 views

Javascript functions calls logging in Java's Rhino

I have a couple of Javascript functions that I'm executing in Java using Rhino's Context/Scope. I need to register all JS-functions calls (detect how many times each function was called and what ...
-7
votes
0answers
28 views

a scr changer js script not work on blogger [on hold]

http://lx5.in/SEO-Protection-Cloud/anonymize.js] <script type="text/javascript"><!-- protected_links = ""; auto_anonymize(); //--></script> its not work on blogger pleas help
0
votes
1answer
57 views

Convert javascript array to java object

I want to convert javascript multidimensional array to some java object. I have this array stored in string. Here is the example of array in my string String array = ...
0
votes
1answer
27 views

GWT: How to make sure a javascript is run after the GWT page is constructed

I have a javascript file main.js. The main.js contains something like this: $(document).ready(function() { Cufon.replace('#myform p.head', { fontFamily: 'HelveticaNeueLT Std Thin' }); ...
-4
votes
0answers
48 views

Add Two Numbers to console.write [on hold]

I would like add numbers for a calculations program, but nothing is happening. Also, I can't find where console is. I've tried: console.show(var g = 1+=2) and console.in.writeout("testing") but I ...
0
votes
1answer
25 views

How to send values from inputs to AutoLogin class in Liferay

I am developing a LinkedIn login hook following this example but I got stuck at passing parameters from my .jsp file to the .java class implementing AutoLogin. If I write a portlet, the values are ...
0
votes
1answer
52 views

Verify data from a HTML cell and display a message according to an interval

Basically I'm working on a HTML form that will validate some numbers (soil pollutants concentrations inserted manually) and give a message in a cell at the end, according to where on a scale those ...
0
votes
3answers
48 views

Retrieving the Selected multiple select values

I need to have multiple values selected when i call that LoadDropDown Funtion. But its not working.... Please suggest how to get multiple options selected.TY <td>Select Profession:</td> ...
0
votes
0answers
39 views

Simple live comment example with custom login using livefyre framework

For few days I'm looking for a sample code in which I want to comment on the page through Livefyre framework using javascript. Before allowing a user to comment, a login authentication will be ...
1
vote
0answers
41 views

Strange behavior passing a String (java.lang.String) to WebView.loadUrl()

I'm trying to pass a string to a JS function (with no luck) like so:- m_WebView.loadUrl("javascript:myFx('" + myStringArg + "')"); Inside the JS function, i have console.log("received param = "+ ...
0
votes
0answers
26 views

get bean data in javascript array

I am making the image slider where I want to pull the image name from server. For dynamic, below is what I have. <script type="text/javascript"> var firstreel=new reelslideshow({ ...
0
votes
2answers
52 views

Is it possible to pass a JavaScript Variable to Java code inside a Scriptlet [duplicate]

I have a Scriptlet inside a function , which gets data from a Session and checks for a value inside the Map Can i pass the User Selected Option which is a javascript variable to a Map ?? function ...
0
votes
0answers
55 views

How can I connect my code of the URL reffering to a file with the other part of the code?

I am working on an Android app, that connects to a .crl file on the Internet and gets some data from it. I need to be able to decode this file (for example with ASN.1 JavaScript decoder - ...
0
votes
1answer
17 views

Obtaining elements from javascript pop up window using HtmlUnit

The problem: When I click on an image of a product on a website, a window pops up above the website page and displays the product's description. It also contains a form. I want to know how to get this ...
-2
votes
0answers
35 views

How do i get parameter from JSP pages? [closed]

I have following link http://myhome.com:8080/Guide_1/configuration.jsp I want to return value only configuration page? Could anybody help me regarding this matter?
0
votes
0answers
80 views

Is there a Java library for JavaScript code generation? [closed]

I need to generate JavaScript code in Java, typically a few lines of code that go on things like onclick or onload events. I'd like to know if there's a Java library that ideally has these ...
2
votes
1answer
69 views

How does the ClojureScript compiler transform cljs to Javascript

I am having a little difficulty seeing how this is done. How is it able to convert it to JS without writing any JS (everything is in Clojure or CS). Can someone give a simple example of how the ...
0
votes
0answers
57 views

How can I access the decoded text from my Android app?

I'm working on an Android app, that connects to a .crl file on the Internet and gets some data from it. I need to be able to decode this file (for example with ASN.1 JavaScript decoder - ...
0
votes
0answers
48 views

get data from java into java script

I am trying to plot a graph using a java script library, I am getting data into java as List of string(List). List contain a string followed by 3 floats, a string and 3 floats and so on.. How can I ...
1
vote
0answers
35 views

Initialization of Jmol applet

I have a java applet that I need to embed in a web page. And I have a local host set up to view the web page. When I open the web page from the server using localhost:8080 , the applet gives an error ...
-1
votes
1answer
20 views

How to download user friends on twitter? [closed]

I want to download all the users listed on https://twitter.com/verified/following account to get a list of all verified twitter users. As this page is very big it takes ages to load and most of time ...
0
votes
1answer
26 views

Response message on ajax file upload in java

I need to upload multiple files from jsp. I am using $ajaxFileUPload.js to take the file to server side. I am doing my file size validation in server side for each file. I need a message on validating ...

1 2 3 4 5 109
15 30 50 per page