$.extend(textInputBinding, {find: function(scope) {return $(scope).find('input[type="text"]');}...Either, this can be patched to allow "password" as a type, or you could write a passwordInputBinding, that extends textInputBindingvar passwordInputBinding = new InputBinding();$.extend(textInputBinding, {find: function(scope) {return $(scope).find('input[type="password"]');}}Best,Ramnath
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Michael,
General steps I believe can be found in many online resources (I am sure you can find some good videos on youtube); the only exposure to this topic that I had is back when I worked with ASP.NET 2.0... and many things came out of the box. I think one of the approaches you can consider is to start with designing the GUI for your Shiny page(s). It will help you to have a list of functionality (or functions) that you would need to code. It may be something simple, just a log in page for a couple of users,
or it can be more complex that includes sign in/registration form, password reset/recovery etc. In latter case you'd probably need a number of separate pages and as far
as I understand that would mean running several Shiny sites (Shiny server). After GUI part is done, you can move on to the database side, if you need to.
Again, in some complex scenario, you'd probably need some repository to keep users names/passwords/temp user's session tokens etc. Then it is easier to write up your functions related to authenticating a user and keeping the track of some sort of session token. You can assign a token to the user's session and then pass it over from one page to another by using a URL parameter and then read it by using intrinsic Shiny's session object: shinyServer(function(input, output, session) {}).
I don't think you need JavaScript to implement this functionality. R + Shiny framework should be enough for that. If you need all this for some sort of enterprise/commercial application, you might check on the current offers from RStudio folks. I have not been following them for a month or so, unfortunately, but they were planning to release some commercial server that supposedly includes authentication capabilities as well. Hope this helps.