Questions tagged [javascriptmvc]

JavaScriptMVC is an open source jQuery-based JavaScript framework for developing JavaScript application using traditional MVC architecture.

JavaScriptMVC is an open-source Rich Internet Application framework based on and OpenAjax. It extends those libraries with a model–view–controller architecture and tools for testing and deployment. As it does not depend on server components, it can be combined with any web service interface and server-side language.

It consists of the following standalone components:

JavaScriptMVC is MIT licensed with the following exceptions:

  • Rhino - JS command line (MPL 1.1) Selenium
  • Browser Automation (Apache 2)

More Information

191 questions
0
votes
1 answer

Javascript MVC view issue

using JMVC i have this issue: this line NOT work : this.element.append('hello'); here my controller: steal('jquery/controller', 'jquery/dom/form_params', 'jquery/view/ejs', 'jquery/controller/view') .then( './home.css', …
Ste
  • 1,497
  • 8
  • 33
  • 63
0
votes
2 answers

How to handle a simple click event in Backbone.js?

I am having difficulty with something very simple in Backbone. I want to wire up the

in my page so that when the user clicks on it, it returns seamlessly to the homepage, without a postback. This is the HTML:

Richard
  • 62,943
  • 126
  • 334
  • 542

0
votes
0 answers

Debugging a custom Javascript MVC project

I have this huge project in my lap, that has been done in a custom Javascript MVC framework style. Each view is triggered via events through Javascript. It's the first time I am dealing with an application like this. In particular I am keen on…
Parijat Kalia
  • 4,929
  • 10
  • 50
  • 77
0
votes
1 answer

Canjs model returns undefined after resolved

I cannot find a way to retrieve data from the server and convert them to model instance. I folloed the instructions here but it's still doesn't work. Here is my setup: url for the service: services/foo/barOne. The response is :…
Geekingfrog
  • 191
  • 1
  • 8
0
votes
1 answer

jsmvc stealjs process issue

When using the buildjs to generate production javascript for jsmvc module, the command process exits without any information, this behavior is sporadic, some times (without any changes) it generates production javascript, the observation we made is…
Chandu
  • 376
  • 5
  • 9
0
votes
1 answer

attaching a jquery validation engine on a keyup event

I am using jquery validation engine in my project on the input fields. The code structure is like this
and i validate the fields in keyUp. Now how do i show the prompt only on the input that has a focus. or in…
user1299972
0
votes
2 answers

Is it possible to implement an undo/redo engine with JavascriptMVC?

Is it possible to implement an undo/redo engine with JavascriptMVC?
Johan Carlsson
  • 743
  • 3
  • 11
  • 24
0
votes
1 answer

Calling undelegate inside a delegate

I listen to $.route.delegate('someparam', ...) on the main of jsmvc, when it gets fired i decide which controller to load, and delete the old controller (if available), the problem i also use $.route.delegate('some-other-param') in the controllers,…
Josejulio
  • 1,286
  • 1
  • 16
  • 30
0
votes
1 answer

JSP page with JavascriptMVC tomcat 7 error

I am working on a webapp..i am using SpringMVC for Server side and JavascriptMVC for Client side...now the problem is in javascriptmvc i worked with html pages but now i want to incorporate javascriptmvc with my jsp page...when i open the page…
Fahad Rauf
  • 705
  • 2
  • 8
  • 17
0
votes
2 answers

Cannot access web application resources in Tomcat 7

I am working on making a sample web application using SpringMVC and JavascriptMVC, deployed Tomcat 7. I have incorporated Spring security and Spring MVC in my application i got help from this article by…
0
votes
1 answer

Backbone Boilerplate + Handlebars view not working

I am trying to learn Backbone, but I have a problem with how Handlebars. I want to build a modular app, where there are separate files for views and templates. Here is my app.js: define([ // Application. "app", "views/home", ], function(app,…
0
votes
1 answer

jmvc 3.2.2 - Controller Inheritance and steal load order

I have a base Controller in folder [app]/main/create_parent/create_parent.js defined as $.Controller('Impress.Main.CreateParent', I have have several child controllers extending CreateParent e.g [app]/contact/create/create.js defined as …
dezalze
  • 1
  • 1
0
votes
1 answer

How to set up CakePHP 2.x to behave like a RESTful webservices (for using it together with JavascriptMVC)

I am trying to set up cakephp to work with the very nice javascriptMVC (http://forum.javascriptmvc.com). JavaScriptMVC requires the JSON-Output in the following format: [{ 'id': 1, 'name' : 'Justin Meyer', 'birthday': '1982-10-20' }, { …
hugo der hungrige
  • 12,382
  • 9
  • 57
  • 84
0
votes
1 answer

How can I load a script in a JavascriptMVC controller

I know how to load scripts using steal however I want to load it before the code in my controller's init method is executed. I need the methods from a script file to be defined before the controller initialization. How can I do that? EDIT: Some…
ene.andrei
  • 187
  • 1
  • 2
  • 9
0
votes
1 answer

Java Script MVC steal/buildjs - remove empty .js files

When I try to do build with steal/buildjs of Javascript MVC, envJS silently fail to compress and check JavaScript files for errors. I read documentation for envJS and found there that if in some case you try to build empty .js files envJS will…
user576700
  • 591
  • 1
  • 6
  • 15
1 2 3
12
13