Questions tagged [jaggery-js]

Jaggery is a framework to write webapps and HTTP-focused web services for all aspects of the application: front-end, communication, Server-side logic and persistence in pure Javascript.

54 questions
0
votes
1 answer

Timestamp Field is always returned as {} when connected to mysql through jaggery

Below is the code used config={}; var dataSource = new Database("jdbc:mysql://localhost:3306/mydb","root","root",config); result=dataSource.query("select * from testtable"); print(result); The response i received is [{ "count":3, "site":"Site…
0
votes
0 answers

jaggery apps not deployed with carbon composite applications project

What I want: We are looking to use wso2 identity server for our requirement and I wanted to setup the development/build environment for jaggery apps with auto build/ continuous integration features. I just need a way to create and deploy the jaggery…
htulsiani
  • 344
  • 1
  • 8
0
votes
1 answer

How I can use use WSO2 IS from JAGERRYJS

I have seen various documentation but I can not entneder as "WSO2 IS" is used for "Jaggeryjs". I want to do something like what he does "WSO2 AppFactory" when you enter "edit codec"
0
votes
1 answer

WSO2 ESB proxy service Escaping JSON payload when passing to jaggery js

I am POSTing to a ESB (4.6.0) proxy service with a JSON payload. This is a pass through proxy service that routes to a jaggery JS app. The jaggery app is trying to access the JSON from the payload, but it is unable to because the JSON strings are…
Chris Ridmann
  • 2,836
  • 4
  • 18
  • 19
0
votes
1 answer

WSO2 - call a data service within a jaggery app

We have data services setup, and we would like to call this data service within our jaggery app. Here is our Jaggery Code: function invokeWS() { var ws = require("ws"); var ds = ws.WSRequest(); var options = new Array(); options.useSOAP =…
Chris Ridmann
  • 2,836
  • 4
  • 18
  • 19
0
votes
1 answer

Wso2 JAGGERY Publisher

I wanted to make a little modification to my publisher info page: When I go to Browse>API info>Users I wanted to show the Usage of that api on side, something like Name - Date of Subscription - Usage user - 2012-09-06 10:05:00.085 - 12 What…
nuvio
  • 2,555
  • 4
  • 32
  • 58
-1
votes
2 answers

javascript inner function variable access from outside

Here is my code. I need to access inner function variable in outer function var json = {}, state, response; readRequestValues(); var xhr = new XMLHttpRequest(); xhr.setRequestHeader("Content-type",…
Priyan
  • 103
  • 1
  • 2
  • 7
-2
votes
1 answer

WSO2 listAdminServices - services showed in the store page

Is it possible to execute the command listAdminServices from jaggery to show the services list in the store page ?
ClaudioM
  • 1,418
  • 2
  • 16
  • 42
-4
votes
1 answer

Session Management in Jaggery.js

I am trying to get some hands on Jaggery frameworks modules and i am facing problems in managing the sessions. For eg Lets say the user is logging in and then logging out, but even after that when he presses the back button in browser in takes back…
Avnish Mehta
  • 99
  • 1
  • 8
1 2 3
4