marionette Questions
2
Solved
I'm using jquery-ui Tabs and I'm having a problem that occurs when a tab has been removed. The tab appears to be removed, along with its content div but when you take a look at the heap in Chrome D...
Hazelhazelnut asked 29/8, 2013 at 21:27
1
Solved
I am using marionette version 1.2.3 and backbone version 1.1.0
Here is my UI and events hash:
ui:{
title : '#modelTypeTitle'
},
events:
{
'change @ui.title' : 'validateTitle'
},
This seems to...
Corrosion asked 18/12, 2013 at 14:30
1
Solved
My goal
I need to create a custom layout (a flow layout) that can receive a variable numbers of views and based on them, it creates regions as necessary and within those regions it shows the views ...
Melissiamelita asked 13/12, 2013 at 15:37
2
Solved
Have this weird error while using Marionette's CompositeView:
Marionette CompositeView: Uncaught ItemViewContainerMissingError: The specified `itemViewContainer` was not found: tbody
The element...
Sulfide asked 26/11, 2013 at 20:13
2
Solved
According to Derick Bailey in one of his posts , Template Cache Built In To Backbone.Marionette
So when i specify a template like this
Backbone.Marionette.ItemView.extend({template : '#template...
Decortication asked 20/11, 2013 at 7:15
1
Solved
I'm having some trouble understanding how event dispatching and binding to events between children parents work in the awesomeness that is Marionette.
Is it correct that I can trigger a custom eve...
Heartily asked 18/11, 2013 at 11:54
1
Solved
I'm using Marionette with requirejs and I would also like to use precompiled handlebars templates.
How does this work?
Here my current setup:
require_main.js:
requirejs.config({
baseUrl: "/",
...
Legal asked 8/11, 2013 at 15:56
2
Solved
Let's say that I have this JavaScript all nicely written out for Backbone.js, with Marionette.backbone.js):
(function () {
var Application;
$(function () {
Application = new Backbone.Marionet...
Moir asked 13/11, 2013 at 17:19
3
Solved
Is there a way to get a parameter in to a marionette composite view template? I figured that whatever parameters I initialized the view with would be available in the template, but it doesn't seem ...
Perdu asked 18/1, 2013 at 18:48
1
Solved
As my application grows I feel the need for a more structured router/controller setup. The Marionette docs mention the following:
It is recommended that you divide your controller objects into s...
Condominium asked 5/11, 2013 at 9:30
2
I have a collection that is populated using from an external API, the API returns a number of objects + paging details for further objects, then I would like to show probably only a subset of these...
Quaky asked 17/7, 2012 at 8:51
2
Solved
What are the main benefits backbone.wreqr has over a js object, both cases having access to marionette's Event aggregator.
Wouldn't assigning/calling methods from an object work the same way as Com...
Plyler asked 29/9, 2013 at 0:0
1
Solved
I just got started using Marionette and I'm reading and following along Marionette - A Gentle Introduction by David Sulc. It's a really good read and it's easy to follow along building the sample a...
Uniformize asked 13/9, 2013 at 10:29
1
Solved
I have a marionette layout that has a region with a view inside. How can I get a reference to that view?
For example:
var layoutView = Backbone.Marionette.Layout.extend({
regions: {
myRegion: '...
Ninth asked 12/9, 2013 at 20:38
1
Solved
Is it possible to get the last ItemView from a Backbone CompositeView? I've found a lot of documentation for getting the last model in a Collection, but not that last View in a Collection of Views....
Ermeena asked 1/9, 2013 at 5:18
1
Solved
I load values for select2 like the following way.
Declare the Type
var AdjustmentType = Backbone.Model.extend({
url : Hexgen.getContextPath("/referencedata/adjustmenttype")
});
create instan...
Nga asked 8/7, 2013 at 9:29
1
Solved
Our application uses Mustache templates in the index.mustache and makes the initial API call with Symfony instead of using Backbone. This is so the user won't be staring at a blank screen on initia...
Prevot asked 22/8, 2013 at 9:39
1
Solved
First time posting here... looking forward to see how it all works, but have really appreciated reading other's questions & answers.
I am using backbone for a small app and have found it helpf...
Mumford asked 20/8, 2013 at 22:53
1
Solved
I'm new to this world and I need to understand some of the concepts of Backbone and Marionette. Here I'm trying to explain some of the concepts I'm learning. It would be great to having some feedba...
Farce asked 9/8, 2013 at 9:36
1
Solved
Say I have these two Backbone.Marionette views:
var FooView = Backbone.Marionette.ItemView.extend({
tagName: p,
id: 'foo',
template: this.templates.summary
});
var BarView = Backbone.Marionett...
Velites asked 8/8, 2013 at 2:40
1
Solved
I'm wondering if/how a CompositeView can pass data down into its defined itemView. Example (reduced) code:
var TableView = Backbone.Marionette.CompositeView.extend({
template: '#table-template',
...
Yellowlegs asked 2/8, 2013 at 0:31
2
Solved
This is a 2 part question. 1) Is there a better way to render a model to a view asynchronously? I'm currently making the ajax request using the fetch method in the model (though I'm calling it expl...
Adrianadriana asked 17/5, 2012 at 21:2
1
I'm writing a javascript web app using Backbone and Marionette, and my templates are created using Handlebars.
I have a view with three sections: a progress indicator, results list, and footer. Ea...
Velour asked 3/7, 2013 at 17:33
2
Solved
The project uses marionette-rails, backbone-on-rails, select2-rails and this port to BackboneForms to provide a multiselect form field. The select options are available to the user. They are retrie...
Fiord asked 13/7, 2013 at 21:11
2
Solved
I have a composite view:
var resultView = Marionette.CompositeView.extend({
template : ResultPanel,
itemView : ResultItemView,
initialize : function() {
...
},
itemViewOptions : {
app : thi...
Authorize asked 24/7, 2013 at 7:16
© 2022 - 2024 — McMap. All rights reserved.