marionette Questions
2
Solved
I would like to use the approach described by Derick Bailey in "A Generic Problem Solution" in this thread to render a view after a model is fetched. I will report his solution here:
MyView = Bac...
Obligee asked 19/3, 2013 at 11:6
1
Solved
i have developed editable grid using backgrid and it looks good also. following is my output :
when i select the check box and click on delete icon, then the selected rows are deleted.
now i also...
Brandenbrandenburg asked 3/7, 2013 at 9:30
1
Solved
I'm reading up in choosing the correct client-side framework to segment/modularize my frontend code in Widgets.
Basically what I have/want is:
a complex website with multiple pagetypes, so no ...
Overstock asked 26/2, 2013 at 9:40
3
Solved
I'm trying to manipulate itemViews dynamically in a Marionette CollectionView. The collections have the same models, but i defined templateName argument inside the models.
The question is, can i m...
Welby asked 20/3, 2013 at 22:37
2
Solved
I have model:
[
{
"ID": 5,
"email": "[email protected]"
},
{
"ID": 6495,
"email": "[email protected]"
}
]
Code for iterating in handlebars:
{{#each xxx}}
<p>{{email}}&...
Castaneda asked 27/7, 2012 at 3:51
1
Solved
I have the following situation:
app.js: Singleton Marionette.Application() where I define a nav, a footer, and a main region. In the initializer I construct Marionette.Contoller's and attach them ...
Trisect asked 4/2, 2013 at 2:17
2
Solved
I know I can override all regions to add a fade transition by using the following.
Marionette.Region.prototype.open = function(view){
this.$el.hide();
this.$el.html(view.el);
this.$el.fadeIn()
...
Brunabrunch asked 9/8, 2012 at 19:11
1
Solved
I've got a problem with the JQuery events in one of my Backbone.Marionette Views. I have defined some click and keyboard events. But some of them are not working. For example I want that the fetch-...
Antineutrino asked 10/6, 2013 at 12:14
2
Solved
If I have a JavaScript front end application, what is the best/common practice to handle permissions/ACL. For example, I want to show/hide some elements etc. Of course, its not secure, but still on...
Peephole asked 15/6, 2013 at 3:14
2
Solved
I'm using Handlebars template engine.
so, I have Model:
Backbone.Model.extend({
urlRoot: Config.urls.getClient,
defaults: {
contract:"",
contractDate:"",
companyTitle:"",
contacts:[],
tari...
Unrealizable asked 1/6, 2013 at 20:30
0
Already a couple of hours struggle trying to solve this...
Although the model gets fetched correctly and I can verify it as the view gets informed of the model's 'change' event, it just does not re...
Biggers asked 28/5, 2013 at 13:31
1
Solved
I have a CompositeView for a table. I have triggers set in the child ItemView for each row...
var TableRow = Marionette.ItemView.extend({
tagName: "tr",
template: _.template($(TableTemplates).fi...
Maryjanemaryjo asked 24/5, 2013 at 17:46
2
So we are working on a project using marionette and we have made a good progress so far, but we struggling with a part of the marionette nested view model,
so lets assume that we have an apartmen...
Frump asked 13/5, 2013 at 12:45
2
Solved
From my understanding, the differences is the callback functions to events on an AppRouter should exist in the Controller, instead of the same Router object. Also there is a one-to-one relationship...
Unsnap asked 16/5, 2013 at 7:16
4
Solved
In my backbone.Marionette application I have a Model that requires an Id attribute to construct it's url. I therefore create the model by passing it an Id, add it to a view and then fetch the model...
Bromidic asked 26/11, 2012 at 14:53
1
Here i want to access a variable or a list of variables which is passed when initalizing a new view from its corresponding template.
Code example
Creating a list view
@Taskit.module "Tasks.List"...
Sapiential asked 5/5, 2013 at 21:14
2
Solved
I have the following backbone structure:
- collection[order_items]
- collection[menu_items]
- price
- quantity
and I want to listen for any changes in the quantity attribute, I got it working...
Auscultate asked 27/4, 2013 at 10:7
2
Solved
So I am stuck. I got the great Backbone.Marionette to handle my nested childs/parents relationships and rendering(doing it with the bare backbone was a nightmare), but now i'm facing problems with ...
Bigamous asked 26/4, 2013 at 11:32
1
Solved
So, I'm not sure I quite understand how this callback is supposed to be triggered. If you take a barebones model,collection and views:
PatchModel = Backbone.Model.extend({});
PatchCollection = Ba...
Dab asked 23/4, 2013 at 22:20
3
Currently I'm playing around with Backbone/Marionette (though question is more general), and I have a lot of code that "sending messages" all over the application. Just as an example, somethi...
Nary asked 5/4, 2013 at 3:17
2
Solved
I'm trying to use two models in one view, and template using both of them. I'm working with Marionette. Here is me initialization of the view:
main_app_layout.header.show(new APP.Views.HeaderView(...
Sickly asked 28/3, 2013 at 13:55
1
Solved
I'm a big fan of ICanHaz, and I'm trying to directly intregrate it into a new Marionette application I'm building. However, going off this post, I have written this that reaches into the render met...
Dingle asked 26/3, 2013 at 14:53
1
Solved
I have a working solution in regard to rendering layouts with views in regions in a Marionette application I'm working on, but something doesn't feel right about it. Do you have to append anything ...
Desmarais asked 27/3, 2013 at 12:7
1
Solved
I'm starting a fairly large Backbone project, and I'm deciding all of the key components now. I've been looking around a lot and have ran into Marionette many times. My question is, when is the rig...
Rubricate asked 26/3, 2013 at 13:24
4
Solved
Using Backbone and Marionette, I've created a new layout that goes into the main content div on my page. The layout looks like this:
<div id='dash-sidebar'>
<div id='dash-profile'><...
Wedged asked 25/6, 2012 at 18:36
© 2022 - 2024 — McMap. All rights reserved.