Can your server output set that variable either as an attribute on your element or in js. For example, this GAE app fills js properties, server-side:
https://github.com/GoogleChrome/chromium-dashboard/blob/master/templates/features.html#L146:L148 On Fri, Oct 31, 2014 at 3:23 AM, <[email protected]> wrote: > Hi Guys, > > Here I am using polymer with my project, and I have a login page and a > landing page. so, if user is able to login sucessfully than he/she is > thrown to the landing page, > > Now, here on landing page I want to display some thing like: welcome > 'username', e.g. welcome Jaydatt or welcome Mark. So, this username I am > putting into session so that I can use it through out my application. > I am using Node.js express with polymer. > > So, my question here that how can I do that. I know about this <temlate> > tag with polymer where using {{userame}} I can bind the data. But what if I > want to take this username for session and display on html page. > If through any rendering engine than which? > > In brief: my question is I want to display *welcome username *on the > landing page.... so how can I do that using polymer and Node.js > approach....? > > Follow Polymer on Google+: plus.google.com/107187849809354688692 > --- > You received this message because you are subscribed to the Google Groups > "Polymer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/1df78ea4-2a45-4563-8619-84a7a423087a%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/1df78ea4-2a45-4563-8619-84a7a423087a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CACGqRCB8XMCVgqDZ7J2yQnBhmi6wfLfhw5ZTeXZu%2BS_Wsmm9mQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
