marionette Questions

1

I'm using WordPress Ninja Forms and I'm trying to create a form preview which has to be accepted before the Data is sent via Ajax. That means I need to add custom JS-Code between the form validatio...
Mythify asked 4/4, 2017 at 9:28

5

I am using backbone,marionette for my Application.I used same code for both desktop and mobile but keypress not working in mobile.I made a Jsfiddle for testing. If you open this link in mobile eve...
Brott asked 18/3, 2014 at 8:30

2

Solved

I'm trying to render an item at the start of a collection (imagine if you were posting a new record on facebook) When I come to add(response, {at: 0}); into the collection, the record is correctly...
Camelot asked 25/4, 2012 at 21:43

2

Solved

I am writing project on MarionetteJS using TS and I want to use annotations to register routes. For example: @Controller class SomeController { @RouteMapping("some route") public SomeMethod() {...
Excurvate asked 15/3, 2016 at 7:0

2

Solved

I have a layout, but cannot define all of its regions in advance because they are not known. So later on an ItemView is created and I'd like to create a new region in the layout using the view's I...
Jemmie asked 28/3, 2013 at 19:39

0

I am using page object model in unittest. There is a function "screenshot" which is passing in 1 test case but failing in another. It is really strange and since it is passing in 1 test case, i am ...

2

Solved

We have statement like: {{~#if someCondition ~}} <div class="whyweneedtildehere"></div> {{~/if~}} What is the difference between simple if statement and if statement with "~" in ha...
Haya asked 26/9, 2014 at 8:38

3

Solved

Using Backbone.Marionette, I would like to render a collection of items along with a header. I'm aware that Marionette.CollectionView does not have a template, as it only renders ItemViews. I'm c...
Barbaresi asked 1/8, 2013 at 3:15

1

Solved

I'm seeing a bizarre "untrusted cert" error only on selenium-controlled firefox pop-ups. Very specific. To solve this problem, various google results suggested turning off marionette, like so: fro...
Langmuir asked 13/6, 2017 at 19:49

4

Solved

I've been using Marionette for a week now and it really made my life easier! Right now I need to be able to notify a user when a collection or model is being fetched, because some views take a sig...
Safari asked 10/8, 2012 at 14:14

4

Solved

I am new to Marionette.js and while I am refactoring my existing Backbone.js code, I noticed there are two callbacks on Marionette view (itemview) that looked to me similar, i.e. onRender and onSho...
Metabolite asked 14/6, 2013 at 17:47

2

Solved

I see that both share almost the same properties & functions so what is the main difference for these two?
Accumulate asked 2/10, 2012 at 21:16

2

Solved

In Backbone Marionette, you can do extremely similar things with triggers and events: triggers: return Marionette.Layout.extend({ triggers: { 'click .something': 'view:handleClickSomething' },...
Kwa asked 29/10, 2012 at 15:34

3

Solved

I am trying to implement a test (1) for this module (2). My purpose is to check if the collection is fetched when a particular event is triggered. As you can see from my comment in (2) I get the me...
Accumbent asked 21/8, 2012 at 11:26

2

Solved

Problem Using a Backbone.Marrionette.Layout to present some tabular data. The <tbody> portion of the table is a Backbone.Marionette.Region that is meant to display a Backbone.Marionette.Coll...
Scanner asked 20/8, 2012 at 18:37

1

Solved

As stated in the latest Marionette docs: CompositeView is deprecated. You should use the replaceElement option on Region.show and render a CollectionView into a region inside a View to achieve ...
Septuagesima asked 31/3, 2016 at 19:21

5

Solved

I'm looking at the Angry Cats Backbone/Marionette tutorial posts here http://davidsulc.com/blog/2012/04/15/a-simple-backbone-marionette-tutorial/ http://davidsulc.com/blog/2012/04/22/a-simple-bac...
Demosthenes asked 1/2, 2013 at 22:24

2

What is a good method for sending a message from a Child view to its parent Collection view in Backbone.js or Marionettejs? Normally I send the message through the collection: ChildView = Backbon...
Belloc asked 23/1, 2016 at 21:16

2

Solved

I am using the Marionette region manager to manage my views. There are three main regions: 1] Top menu region 2] Sidebar region 3] Main region ( the actual page that keeps changing ) Depending on ...
Lachance asked 8/6, 2012 at 9:37

1

Solved

Is this even possible? Keep reading conflicting reports on this. I have a Marionette app, just upgraded to 2.4.4. If I drop in lodash in place of underscore - using requireJS, map: { '*': { ...

3

Solved

I'd just like to understand the decisions behind Backbone.Marionette's view regarding UI elements. When instantiating a Marionette.View on an existing DOM element, like this: view = new Marionette...
Cherubini asked 9/3, 2013 at 14:56

1

Solved

I have the following item view: return Marionette.ItemView.extend({ template:tpl, tagName: 'div', className: 'v_itv_record_type_item', events:{ 'click @ui.item':'itemClicked' }, ui:{ item:...
Somatology asked 7/1, 2016 at 1:25

2

Solved

We are currently in the need of adding internationalization to a medium sized app using Backbone.Marionette and underscore templates. After some thorough research, two valid options are emerging :...

3

Solved

I am using Bootstrap, from Twitter for genereting modal-dialog in a Marionette Application. I would like to know what is the best way to focus the first field in modal forms without using fancy ja...
Grochow asked 26/7, 2012 at 11:16

1

Solved

I would like to know what is the difference between using url or urlRoot. I have read the documentation (backbonejs.org/#Model-url), but I still feel that I lack knowledge in this area and I would ...
Nudism asked 7/5, 2014 at 6:15

© 2022 - 2024 — McMap. All rights reserved.