marionette Questions
1
Can you please suggest me some example for showing list view through marionette template system. Basically, I have a marionette template and based on the template i am creating a table list.
Noncombatant asked 28/12, 2014 at 3:3
4
I have a Layout that has several tabs. Clicking one of these tabs will show the appropriate composite view in the page's content region. After navigating back and forth between different tabs I not...
Psychognosis asked 6/3, 2013 at 20:34
2
Solved
I am reading the marionette.js docs and I don't understand the difference between vent, reqres and commands.
The only thing I clearly understood is that commands should not return anything.
Can a...
Farandole asked 15/12, 2014 at 12:11
4
Solved
I've a problem with Backbone Marionette and ItemView rendering.
I need to pass a value from the Composite View to each of its Item View.
The value is contained correctly in the options array of th...
Drapery asked 21/8, 2012 at 15:49
3
Solved
I'm building an application using backbone and marionette.js. I'm planning on using a collection view to present some items and then allow them to be filtered, sorted and grouped.
I was wondering ...
Rewarding asked 12/2, 2013 at 18:15
2
Solved
Marionette provides two components named Regions and Layouts. At first glance, they seem to provide similar functionality: A location on the page for my application to place subviews, plus some add...
Prevaricator asked 9/5, 2012 at 17:41
2
Solved
This is the first time,I am working on mobile Apps.keyUp event not firing If I press backspace button.
I made a jsFiddle for reference.
Initially user entered 23 and then user deleted 3 using bac...
Autism asked 19/3, 2014 at 10:55
4
I'm trying to include the App instance to use it's event aggregator as shown here
I get an error when I include the instance in a view.
Kicking things off in the Requirejs config file, from App....
Loriannlorianna asked 15/6, 2012 at 19:2
2
Solved
Here I am at the beginning of a project. I am using zurb-foundation and marionette. I have an element that is rendering a template that is supposed to be tabs. As it stands:
define([
"backbone",
...
Asare asked 5/7, 2013 at 0:50
2
Solved
I'm trying to use Backbone.Marionette, and I read the docs on github about wreqr.
So, whats the difference between Event Aggregator, Commands and Request/Response. And when to use one or another?
...
Ashelman asked 24/10, 2013 at 9:32
2
Solved
I need to initially set a Backbone view's template based on whether the date a user has selected is in the past or future as well as switch it later when it's collection changes pulling data from a...
Haystack asked 17/9, 2012 at 20:35
1
By referring the this link; I am reloading the handlebars partial template from marionette view within my application.
In my marionette view I have defined ui object as below
ui: {
updateCarrie...
Phan asked 9/6, 2014 at 6:53
3
How do you only use parts of API call that you want in Marionette.js
Using code below:
/messages returns JSON:
messages.foo
messages.read
messages.friend
messages.following
How can I create thr...
Peradventure asked 3/6, 2014 at 14:53
5
Solved
I'm using a composite view that has $.dialog called on it's $el.
The composite view is then listing items from a collection.
Now i've tried multiple ways to render the collection items: fetching ...
Heel asked 22/2, 2013 at 5:30
1
Solved
I've been reading the marionette docs and I can't seem to figure out when I would use a marionette.behavior.
Because, from what I understand, this is the same as extending another view that alrea...
Presuppose asked 4/6, 2014 at 21:0
3
Given something like this:
View = Backbone.Marionette.ItemView.extend({ });
myView = new View();
//region already exists
myLayout.region.show(myView)
//some time later this gets called again:
m...
Ic asked 13/8, 2013 at 11:43
4
Solved
Right now, while I am debugging backbone or marionette using the chrome dev tools, I end up setting break points and whatnot, but once the code pauses, its hard to tell what type of objects i'm wor...
Mozambique asked 14/2, 2013 at 0:48
3
I am trying to sort a collection in a Marionette.CompositeView.
I have a collection which looks like this:
[
{id: 1, name: 'bar'},
{id: 2, name: 'boo' },
{id: 3, name: 'foo' }
]
I need to so...
Dropout asked 25/7, 2012 at 21:8
3
I'm using Backbone.Marionette in Typescript. I've written my own type description of Marionette.
var ProviderSpa = new Backbone.Marionette.Application();
ProviderSpa.addRegions({
'servicesRegion'...
Adur asked 25/10, 2012 at 19:6
2
I currently in the process of concepting a large single page web application.
There will be a lot of components, so a separation of concerns is important to me. The Server is basically a REST-Serve...
Scissel asked 19/4, 2013 at 10:24
2
Solved
The following code works fine using Backbone.Marionette.ItemView but not Mustache.
Backbone.Marionette.ItemView - no Mustache
I would like to use the same code but loading the template varaible u...
Chilblain asked 18/6, 2012 at 13:33
3
Solved
The basic situation is this:
I have a Composite View and an Item View. I construct the Composite view passing it a model and a collection. The model data is used to populate the template for the C...
Cassaundra asked 10/7, 2013 at 13:53
2
Solved
I'm playing a bit with Backbone.js and Backbone.Marionette and I would like to know what's the difference between trigger and triggerMethod.
In particular, is there any rule of thumb to decide whe...
Giuseppinagiustina asked 10/1, 2014 at 18:45
2
Solved
I'm trying to access a model's method from within an .eco template using backbone/marionette.js. I have an Expense model with a day() method which, using moment.js, returns '13th'; for example:
cl...
Posterity asked 13/1, 2014 at 14:8
1
Solved
Trying to populate a Collection from a list of values, I am getting an error about the Collection's model's prototype being undefined. Looking at this question about a similar problem, I have check...
Reclamation asked 20/12, 2013 at 18:4
© 2022 - 2024 — McMap. All rights reserved.