Search Discussions
-
Handlebar Template for HTML: <div id="contentarea" <div class="news" <div {{ModelItem.text}} </div <span Number of likes: {{ModelItem.likes}} </span <span Number of dislikes: {{ModelItem.dislikes}} ...
Amit k
May 17, 2014 at 6:03 pm
May 18, 2014 at 5:54 pm -
Hi, I have a few list item <li elements on my page like this: * <li class="admin-categories"" <span <a href="#" Events</a </span </li * * <li class="admin-categories" <span <a href="#" Roles</a ...
Janusz Dalecki
May 15, 2014 at 11:02 am
May 16, 2014 at 5:03 am -
Hello all, tempc.without function () { var args = slice.call(arguments); args.unshift(this.models); return _[method].apply(*_*, args); } i dont understand at apply first argument . what it does ...
Siddharth Maiden
May 15, 2014 at 11:00 am
May 15, 2014 at 11:06 am -
I am completely new to backbonejs but I am working on a project which the UI component is written using backbonejs. My problem is as follows I have a area for users to login to the application. This ...
Nativecoder
May 11, 2014 at 7:48 pm
May 12, 2014 at 8:26 pm -
Here's my situation. Part of my app is a list of employees. The interface allows the user to constrain the list by alpha category, name or unit. This is accomplished by creating a form on the list ...
Garey Mills
May 9, 2014 at 9:28 pm
May 10, 2014 at 10:12 pm -
howdy, i'm finishing up a component of an audio player that acts as a queue for tracks. I additionally have a route that lists playable tracks. when a track is clicked, it passes that individual ...
Michael Scott Hertzberg
May 5, 2014 at 7:43 pm
May 5, 2014 at 7:57 pm -
Hi at all, im using templates with backbone and i want to colorize a number based on its value. I was wondering whats best practice here: 1) in template: <script type="template" <% if ( value < 0) { ...
Lucas Meier
May 4, 2014 at 8:47 am
May 4, 2014 at 9:15 am -
I'm try to find a simple demo were backbone is used in server side along with nodejs, which makes api calls and fetching data. Any pointers would be helpful -- -- The Unofficial Backbone.js Group --- ...
Thomas alexander
May 3, 2014 at 9:33 pm
May 3, 2014 at 10:11 pm -
Hi whenever change occurs in collections, i need to call a method, how can i do that ? i tried these three following methods, but its not working. can anyone have better solution or how i can proceed ...
Rakesh Makam
May 3, 2014 at 7:30 am
May 3, 2014 at 3:44 pm -
Can someone plese help me i am trying to fix this issue almost 2 days and still no success. i am quite new to backbone and i am trying to develop a mobile app, with main page index.html and other ...
Damir Cosic
Apr 30, 2014 at 1:23 pm
May 4, 2014 at 6:38 pm -
Hi, thanks for reading. I have been messing about with a front end MVC idea extending backbone.js. Recently i happened to notice that the cid of the views I have been creating seem to be incrementing ...
Simon Harper
Apr 29, 2014 at 8:25 pm
Apr 29, 2014 at 8:41 pm -
I'm new to backbone and was wondering why my following code did not work: http://paste2.org/f6fkOsvO I just want to toggle a class on a panel-heading click -- -- The Unofficial Backbone.js Group --- ...
Rob
Apr 28, 2014 at 8:24 am
Apr 28, 2014 at 8:51 am -
Thanks I spent 3 hours trying to figure out why, now I get it gah! -- -- The Unofficial Backbone.js Group --- You received this message because you are subscribed to the Google Groups "backbonejs" ...
Dominic tobias
Apr 27, 2014 at 10:25 pm
Apr 27, 2014 at 10:25 pm -
I've got a BackBone view containing tabs as described in http://getbootstrap.com/javascript/#tabs The tabs are put on the page like this: <ul class="nav nav-tabs" id="someObjectEditTabs" Whenever I ...
Davy De Waele
Apr 26, 2014 at 7:12 pm
Apr 26, 2014 at 7:49 pm -
As you know with fetch A GET request is made to the server In the server I have a PHP script with a conditional which says something like this: Nonetheless there is the case where the GET request ...
Dimitris Papageorgiou
Apr 24, 2014 at 7:53 am
Apr 24, 2014 at 9:58 am -
Since the upgrade to backbone 1.0, I'm having the following issue. I need access to the jQuery ajax context (I need it for replaying ajax requests after failed auth) and I'm not sure of a good way to ...
Josh Runge
Apr 22, 2014 at 6:15 pm
Apr 23, 2014 at 2:32 am -
Is the model.get method involves at all the HTTP GET method.Is the latter called at all when using model.get? -- -- The Unofficial Backbone.js Group --- You received this message because you are ...
Dimitris Papageorgiou
Apr 22, 2014 at 5:29 pm
Apr 23, 2014 at 4:47 am -
I'm building a multi-page application using RequireJS and BackboneJS. The client side JavaScript code would be minimized and combined using r.js optimizer. Instead of combining all the dependencies ...
Sagar Ganatra
Apr 21, 2014 at 7:43 am
May 9, 2014 at 8:05 pm -
Hi all, At this stage all I am trying to do is get a json response from the server add it to a collection an iterate over it so I can add it to the view. but when I try and display the collection in ...
John Cullen
Apr 21, 2014 at 4:23 am
Apr 21, 2014 at 9:29 pm -
I've got a Backbone view that renders some content based on an AJAX call . render: function(){ var that = this; $.ajax({ url:"/user", success:function(result){ that.$el.html(that.template(result)); } ...
Davy De Waele
Apr 16, 2014 at 9:54 am
Apr 21, 2014 at 3:35 pm -
Not sure why when I submit getQuote in /public/views/homebase.js a post is not made. Instead a get request is made and it looks like the $.post(....) request is never sent ...
Sean Luke
Apr 15, 2014 at 8:31 pm
Apr 16, 2014 at 4:02 pm -
Hello all, this is my first post here. I need to use the Masonry plugin to work with Backbone. Masonry works just fine when I generate the HTML statically but not with Backbone- so I'm guessing I'm ...
Alexander Laszlo Ross
Apr 15, 2014 at 12:01 am
Apr 22, 2014 at 12:51 am -
If a timeout value is set on the fetch call and the duration of the fetch exceeds the timeout value, the following error occurs: ClientAbortException: java.net.SocketException: Software caused ...
Anagnost68
Apr 14, 2014 at 4:03 pm
Apr 14, 2014 at 4:15 pm -
am trying to get a Collection to render in a Backbone View, but it won't populate out the HTML. It will console log after the fetch, but does not console log inside of the _.each. Any clues? I am new ...
Kelly Rusk
Apr 10, 2014 at 8:57 pm
Apr 14, 2014 at 9:23 pm -
Hi, I am putting the examples for my book online, but came across an odd behavior here: http://pipefishbook.com/ch_4/ If you select a movie, and then click back on 'home' - there are two views ...
Patrick Mulder
Apr 9, 2014 at 7:12 pm
Apr 10, 2014 at 7:15 am -
I posted an issue at Backbone issue list: https://github.com/jashkenas/backbone/issues/3112 The problem is Chrome disabled APIs like `location.replace` and `history.go` ...
Jiyin Yiyong
Apr 8, 2014 at 3:42 am
Apr 10, 2014 at 9:17 am -
Hi, in some cases it makes sense to have "View models", or models that store attributes just for views, e.g. a "Selection" model might be an example. If I understand right, these models are different ...
Patrick Mulder
Apr 6, 2014 at 8:32 am
Apr 7, 2014 at 7:37 pm -
Hi, for an app, I want to keep a "static" layout view, that just fills in sub-views as needed. Since this layout is build in the router, I wonder what would be better: var layout; Layout.getInstance ...
Patrick Mulder
Apr 6, 2014 at 8:26 am
Apr 8, 2014 at 9:32 am -
You probably want "alert(msg)" instead of "alert(Response.ErrorMessage)" in your success handler. You might also try removing the "dataType: "json"" to see if the problem has to do with the server ...
Peter Rust
Apr 5, 2014 at 1:54 pm
Apr 5, 2014 at 1:58 pm -
0
[backbonejs] Cross Domain call , getting response from Webservice but unable to catch in Success ,
While calling MVC webservice from my html page it was always going to error; please help me, i even used JSONP and Callback ,i am using Backbone.js $.ajax({ type: "GET", url: url, contentType ...Osmosysemail
Apr 4, 2014 at 11:37 am
Apr 4, 2014 at 11:37 am -
Hello - In my backend database, I have addresses, persons and phones. One or more phones are associated with a person/address relationship. If I send my server /personaddresses?id=x, my server will ...
Garey Mills
Apr 3, 2014 at 8:36 pm
Apr 3, 2014 at 8:36 pm -
Greetings, One of the most common patterns when using Backbone is the following: - make a function that depends on several things in a Backbone model - extract values from the model into local ...
Curran Kelleher
Apr 1, 2014 at 5:38 pm
Apr 2, 2014 at 5:33 am -
Hi - My view looks like this (at least in part) : var WorkerView = Backbone.View.extend({ el: $('#myclass'), addresses: null, units: null, initialize: function() { units = new UC.units() ...
Garey Mills
Mar 31, 2014 at 3:46 am
Apr 3, 2014 at 8:21 pm -
I have a Unit model. Associated with a unit are an address and phone number, both of which can be chosen from a list held in a database on the server, so I have created Backbone collections for ...
Garey Mills
Mar 28, 2014 at 3:50 pm
Mar 28, 2014 at 7:29 pm -
Hey, new to backbone... Wondering what the best pattern is for getting cache of data in models. If I want to cache elements should I do as so... app.ModelName = Backbone.Model.extend({ elements: { ...
Justin Dobbs
Mar 27, 2014 at 8:36 pm
Mar 30, 2014 at 4:19 pm -
Sorry if this is a silly question, but I have a button on a form and I would like to field the event generated when it is clicked in my Backbone view. I've tried 'onclick' but that doesn't work. What ...
Garey Mills
Mar 27, 2014 at 5:05 pm
Mar 27, 2014 at 7:38 pm -
Hi, When I call “router.navigate(fragment, [options])” - is there any way of passing some data to the route function. Regards, Janusz -- -- The Unofficial Backbone.js Group --- You received this ...
Janusz Dalecki
Mar 27, 2014 at 3:13 am
Apr 12, 2014 at 5:51 pm -
Hi, In my Backbone Router derived class *initialize* method I call *Backbone.history.start(); *function. That somehow calls my method *logoff* which is defined in my Router as: *routes: {* * ...
Janusz Dalecki
Mar 26, 2014 at 10:03 am
Apr 2, 2014 at 9:40 am -
According to backbone manual the backbone.sync function is used to make requests to the server(to save a model in the database for example). If the request is successful a "sync" event is ...
Dimitris Papageorgiou
Mar 25, 2014 at 6:11 am
Apr 1, 2014 at 4:02 pm -
Hi, I have created some sample code, to fetch the JSON data and on updating the data in collection. I just want to render the view. It is not throwing any error. But the code to render is not firing ...
Sarvasubha sarasubha
Mar 24, 2014 at 10:27 am
Mar 25, 2014 at 7:16 pm -
I am using requirejs and backbone together along with bootstrap for an app that i am making and i am struggling to figure out the best way to template dynamic tabs. should i have two separate views ...
Sagar Singh
Mar 19, 2014 at 7:29 pm
Mar 19, 2014 at 7:29 pm -
Hi, I am looking at the legacy code which makes no sense to me: Is that even valid? - does Collection have an event like 'change' - I can't find it in the Backbone docs! Regards, Janusz -- -- The ...
Janusz Dalecki
Mar 19, 2014 at 10:26 am
Mar 19, 2014 at 11:59 pm -
It's a common backbone pattern to have a single, global "app" model for this sort of thing... there are also patterns around the web (I believe Derick Bailey has written about them) for ...
Peter Rust
Mar 18, 2014 at 1:26 pm
Mar 18, 2014 at 1:26 pm -
I am currently working on a large Backbone.js/Require.js app. The app is very modular and consists of many small views, models and collections. The app resembles a fully featured desktop app. It ...
Vilis Lācis
Mar 17, 2014 at 1:49 pm
Mar 22, 2014 at 7:13 pm -
Links I click on in my app, which trigger a new route, don't appear visited in IE. They do appear visited if I remove the event binding in their respective views, so that the links trigger a page ...
Jeremy Ball
Mar 14, 2014 at 1:56 pm
Mar 14, 2014 at 1:56 pm -
Hi everyone, In case it's useful, I thought about sharing another approach to defining routes in Backbone: http://mariusa.github.io/writings/handling-backbone-routes.html It's not necessarily better, ...
Marius
Mar 13, 2014 at 5:53 am
Mar 13, 2014 at 5:53 am -
The data you send to the module: { "nodes" : [ { "node" : { "nid" : "229", "title" : "Makaron z koprem włoskim i rukolą", "field_image" ...
Meska Kuchnia
Mar 9, 2014 at 5:26 pm
Mar 9, 2014 at 6:59 pm -
Running into zombies in my backbone view this is code snippet initialize: function() { this.remove(); this.unbind(); this.model = .. this.model.UID = this.options.UID; }, doLaunchUI:function(){ ...
Jigijunk
Mar 8, 2014 at 4:20 am
Mar 8, 2014 at 4:20 am -
Hi, I am trying to convert a JQuery Mobile app over to Backbone. I am using the HTML5/Backbone/Jquery Mobile template that comes with Netbeans. Everything is going fine except 'pageshow' event is not ...
Paul Coady
Mar 7, 2014 at 2:04 pm
Mar 7, 2014 at 2:04 pm -
Hello - I am working on developing a Backbone + require app. Things are working somewhat, but after updating a model on the server, though the server is returning a 200, the 'error' function in the ...
Garey Mills
Mar 6, 2014 at 7:43 pm
Mar 6, 2014 at 7:43 pm
Group Overview
group | backbonejs |
categories | javascript |
discussions | 499 |
posts | 1,545 |
users | 428 |
website | backbonejs.org |
Top users
Archives
- May 2014 (40)
- April 2014 (115)
- March 2014 (67)
- February 2014 (62)
- January 2014 (42)
- December 2013 (70)
- November 2013 (77)
- October 2013 (64)
- September 2013 (45)
- August 2013 (88)
- July 2013 (75)
- June 2013 (66)
- May 2013 (98)
- April 2013 (70)
- March 2013 (87)
- February 2013 (54)
- January 2013 (95)
- December 2012 (90)
- November 2012 (51)
- October 2012 (103)
- September 2012 (86)