Questions tagged [aura.js]

A JavaScript framework with a decoupled, event-driven architecture for developing widget-based Rich Internet Applications.

Aura takes advantage of patterns and best practices for developing maintainable applications and gives you greater control over widget-based development. Aura gives you complete control of a widget's life cycle, allowing developers to dynamically start, stop, reload and clean-up parts of their application as needed.

The project is hosted at https://github.com/aurajs.

32 questions
9
votes
2 answers

Abstracting jQuery

In these talks by Nicholas Zakas and Addy Osmani they discuss the idea of using the facade pattern as a sandbox when building large scale Javascript applications, in order to decouple the application from the underlying base libraries. This…
Brett Postin
  • 11,215
  • 10
  • 60
  • 95
5
votes
1 answer

using backbone router with Aura

Trying to build a web client application with backbone aura. Struggling to add router to the application. did anyone try adding router to backbone aura yet?
4
votes
1 answer

Html Markup Abstraction and Consistency in SPAs

I'm currently evaluating the use of Backbone.js along with Aura.js for building an enterprise scale SPA. I have a nice Javascript architecture mapped out that provides abstraction, consistency, flexibility and no dependencies on any base…
Brett Postin
  • 11,215
  • 10
  • 60
  • 95
3
votes
1 answer

Regex not working on email domain selection properly

var str = "sdhdhh@gmail.com"; // true but coming false var str1 = "sdhdhh@gmail.co.uk"; var str2 = "sdhdhh@gmail.org"; var str3 = "sdhdhh@gmail.org.uk"; var patt = new…
2
votes
2 answers

Salesforce Lightning Component will not update records via Apex call, freezes

Issue overview: Currently coding a Lightning Component to update records on a custom object. However, every time I trigger the update (via a ui:button), the page freezes and I don't see any errors in the debugger or console. Cannot for the life of…
2
votes
1 answer

backbone-aura event emmission

I have recently started learning backbone and aura and tried out a simple app using both. I have three widgets, say A, B and C. Now A and B publish events (using sandbox.emit) and C subscribes to them (using sandbox.on). 'A' publishes "A.eventA" and…
Nachiket
  • 23
  • 3
1
vote
2 answers

how to replace all accented characters with English equivalents

Hi in my aura component below code is used to replace all accented characters with English equivalents but I have update aura component version after which String.prototype function is no longer supported please help with its alternative how to…
priya dhawan
  • 13
  • 1
  • 3
1
vote
0 answers

how does aurajs sandbox.on() and sandbox.emit() works?

I am new to auraJS and have gone through documentation but did not understand what is the role of sandbox in application. According to docs sandbox.on() is subscriber(listener) and sandbox.emit is publisher. but what are the argument passed in these…
Sandeep vashisth
  • 1,040
  • 7
  • 20
  • 40
1
vote
1 answer

Creating Object Python 3 From File

Okay, I'm stuck. I have been trying to load a file with a serialized string from Aura's save feature and get into an object to work with it. The file looks like this: PkgState {timeOf = SimpleTime {yearOf = 2013, monthOf = February, dayOf = 13,…
flamusdiu
  • 1,722
  • 2
  • 14
  • 31
1
vote
1 answer

Backbone collection fetch not firing

I'm new to backbone and I'm trying to send and receive data from the server in Json format. It just won't work. Here's my code (BTW, I'm using backbone aura): Collection define(['sandbox', '../models/message'], function(sandbox, Message) { 'use…
user1966211
  • 873
  • 3
  • 11
  • 22
0
votes
0 answers

What is the problem with this code snippet?

I wrote this code as JS controller of a component to invoke a VF Page but here it is showing that This error This page has an error. You might just need to refresh it. Action failed: c:DataProcessor$controller$downloadDocument [sendDataProc is not…
0
votes
0 answers

How to replace time part of DATETIME input by value from TIME input

I've tried to find an algorithm (Salesforce, aura) but without success. Probably, you have any ideas! I have: attribute datetime input:
0
votes
0 answers

How to create Contact record using existing Account record id I have tried but the code is not working properly?

I want to create contact record using existing account Id in Aura lightning table ? and I want save a row separately in on submit button it perform bulk insert ? the component look like this Component Code:-
0
votes
1 answer
0
votes
0 answers

Dropdown list returning to none and not displaying the selected value after reload

I am filtering my data table with the help of different dropdowns I've created using lightning:select. I am storing the selected value using window.localStorge so that even after reload I can get the selected value in the dropdown and data table is…
1
2 3