Welcome onboard. And please share the kindness to any new comers
later. :-)

On Sep17, 2:53pm, Arvind <arvind.ran...@gmail.com> wrote:
> Hello,
>
> My apologies... :-) This worked like a charm.
> Just that, after searching for over 2 hrs , you tend to get brain
> dead. and thats when i turn to the mailing lists's help.
>
> Please thanks so much for being patient with me. So many times, i have
> nearly given up on web2py, only to have had such fine support and help
> from this mailing list, to pull me back.
> I dont want to go back to PHP or to rails. I like web2py and i want to
> stick to it.
>
> Thanks once again for so much help and kindness.
>
> cheers
> Arvind
>
> On Sep 16, 7:54 pm, Iceberg <iceb...@21cn.com> wrote:
>
>
>
> > Or more precisely, there are some lines like these in the default
> > layout.html:
>
> >         {{if response.flash:}}
> >         <div class="flash">{{=response.flash}}</div>
> >         {{pass}}
>
> > By the way, I think this kind of problem should be double confirmed
> > via the out-of-box "welcome" app, before being raised up. If the
> > problem doesn't exist in "welcome" app, that is "your" app's problem.
> > Fair enough? :-)
>
> > Iceberg
>
> > On Sep17, 12:27am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > Are you using the default layout.html? If not, is there anything like
> > > {{=response.falsh or 'no flash'}} in the layout?
>
> > > On Sep 16, 11:23 am, Arvind <arvind.ran...@gmail.com> wrote:
>
> > > > hello,
>
> > > > I have a sample function...... what will response.flash do ?  I do not
> > > > see any output from either the if or the else statement.
>
> > > > def newform():
> > > >     form = FORM("your name:",
> > > >                  INPUT(_name="yourname",requires=IS_NOT_EMPTY()),
> > > >                  INPUT(_type="submit"))
> > > >     if form.accepts(request.vars,session):
> > > >         response.flash = "hello " + form.vars.yourname
> > > >     else:
> > > >         response.flash = "ERROR !!!!"
> > > >     return dict(form=form)
>
> > > > I have the following style sheets and javascripts included. also,
> > > > there is a huge chunk of javascript within the page.
>
> > > >     <link href="/ehlo/static/base.css" type="text/css"
> > > > rel="stylesheet" media="screen,projection,print" />
> > > >     <link href="/ehlo/static/calendar.css" type="text/css"
> > > > rel="stylesheet" media="screen,projection,print" />
>
> > > > <link href="/ehlo/static/calendar.css" rel="stylesheet" type="text/
> > > > css" media="screen" charset="utf-8" />
> > > > <script src="/ehlo/static/jquery.js" type="text/javascript"></script>
>
> > > > <script src="/ehlo/static/calendar.js" type="text/javascript"
> > > > charset="utf-8"></script>
>
> > > > thanks
> > > > Arvind
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to