Questions tagged [hottowel]

Hot Towel is a Visual Studio Template for creating a Single Page Application (SPA).

Hot Towel is a Visual Studio Template for creating a Single Page Application (SPA). It is built using the following components:

Hot Towel is delivered in three different forms:

The Hot Towel template was authored by John Papa, and is described in detail on his site.

333 questions
4
votes
3 answers

How do I create a "loading screen" for first time SPA visit caching

I have created a Single Page Application using Hot Towel. When I started I had this "first time loading screen" when it was caching. I deleted it but I can't figure out how to reimplement it. I have also added a lot of other frameworks, and my…
Totty
  • 267
  • 3
  • 11
4
votes
1 answer

durandal : best way to pass data between ViewModels

Durandal: What is the correct way to pass data (parameters) between Viewmodels if possible (without dealing with the backend ). let say i have 2 views overview and details i want that went the user klick on a list element from overview it takes the…
Gildas.Tambo
  • 22,173
  • 7
  • 50
  • 78
4
votes
1 answer

How to spread javascript and cshtml files into separate projects

Currently I'm working on a big project which tends to have about 10000 javascript and cshtml files. It's a good idea to have a shell project, and lots of business projects like: MyCompany.Shell MyCompany.BusinessDomain1 MyCompany.BusinessDomain2 in…
mehrandvd
  • 8,806
  • 12
  • 64
  • 111
4
votes
1 answer

Chrome//kendoUI/jQuery: Maximum call stack size exceeded

I am working hottowell template to create spa application and I am getting a nice error from jquery. Basically my problem start at the moment to try bind my view from viewModelBinder.js (from durandal library). viewModelBinder.beforeBind(obj,…
Rolando
  • 752
  • 1
  • 14
  • 41
4
votes
4 answers

How to bind google maps using HotTowel?

I am trying to show a simple map in HotTowel. In home.html page I have that:
In home.js I have that: define(['services/logger'], function (logger) { var vm = { activate:…
Mariusz
  • 442
  • 5
  • 16
4
votes
3 answers

KO Grid Display Isseues, On resize Gird shows one row. Images also included

Using the following. 1) Visual Studio 2012. 2) Hot towel template. 3) downloaded ko grid and and its css. home.html
bhushanvinay
  • 449
  • 1
  • 5
  • 21
4
votes
2 answers

How to implement multilingualism in SPA

I'm currently struggling with the problem of multilingualism in an SPA. I've come up with several solutions, like building a wrapper for the resources resx files, or saving all labels in the database, but I am wondering if any of you have found some…
Peter R
  • 364
  • 2
  • 11
4
votes
3 answers

How to get the WebAPI HelpPage package to work with the HotTowel template?

I am trying out the new Hot Towel template from John Papa. It is really slick, but I'm having some difficulties getting it to cooperate with what I'm used to for Web API. I was able to work around a routing issue, but I still can't get the…
Matt Johnson-Pint
  • 230,703
  • 74
  • 448
  • 575
3
votes
1 answer

Can i use breeze.js with SQLite or local database?

I am using HotTowel for developing for an offline online scenario for application i am working with . I would like to know if I can use existing HotTowel stack along with Breeze for querying my offline database. Please let us know if anyone has…
parth1729
  • 125
  • 11
3
votes
5 answers

jQuery AJAX Call to PHP Script with String Return

My aim here is to replicate the Hot Towel SPA framework from ASP.NET in PHP. I have two files in my project: show.js and displaystring.php. What I basically want to do is return whatever is present in the displayString() function. But due to a…
Razor
  • 2,581
  • 6
  • 21
  • 27
3
votes
1 answer

Navigation Issue with Durandal

I'm using the hot towel template, and I'm trying to understand how to navigate to a different view via a javascript call. When my page loads, it looks like this: Then, if I click any other button, then click the apps button again, I wrote some test…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
3
votes
2 answers

Hottowel converting to Durandal 2 issue

I was working on a Hottowel project and I updated to Durandal 2.0. I have followed the Converting from 1.x to 2.0 guide, but I still have some problems: 1. Loading router plugin always times out, except if I load it like…
Sljux
  • 534
  • 10
  • 28
3
votes
1 answer

Hot Towel SPA - trigger browser to save login details on form submit

Just wondering if anyone knows of a trick to getting a Single Page App using Hot Towel (knockout, durandal & breeze) to trigger the event (assuming it's submit) that browser's hook into to prompt to save a username and password on a login form. I…
Rob
  • 10,004
  • 5
  • 61
  • 91
3
votes
1 answer

HotTowel/Durandal view compose limitations

I'm trying to implement SPA with HotTowel Template by John Papa. Is there a limitation on how many levels of ko compose I can do? In the shell.html it calls Within my active view, I…
Michael Pang
  • 366
  • 1
  • 2
  • 10
3
votes
2 answers

Ignore an anchor in DurandalJS app

I have an SPA app using DurandalJS that works great. Links are routed, view models are activated, etc. The problem is, I have an anchor that points to a page that actually lives on the server. I need the browser to actually query this page (it's an…
Christian Droulers
  • 853
  • 1
  • 8
  • 21
1 2
3
22 23