What is your browser? What web2py version? On Friday, 16 November 2012 13:35:56 UTC-6, Daniele wrote: > > I cannot get response.flash to display for the life of me...I'm using a > vanilla version of the latest twitter bootstrap and have the following in > my style.css (which I took verbatim from web2py's css file) > > div.flash { > font-weight:bold; > display:none; > position:fixed; > padding:10px; > top:48px; > right:50px; > min-width:280px; > opacity:0.95; > margin:0px 0px 10px 10px; > vertical-align:middle; > cursor:pointer; > color:#fff; > background-color:#000; > border:2px solid #fff; > border-radius:8px; > -o-border-radius: 8px; > -moz-border-radius:8px; > -webkit-border-radius:8px; > background-image: -webkit-linear-gradient(top,#222,#000); > background-image: -o-linear-gradient(top,#222,#000); > background-image: -moz-linear-gradient(90deg, #222, #000); > background-image: linear-gradient(top,#222,#000); > background-repeat: repeat-x; > font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; > -webkit-font-smoothing: antialiased; > z-index:2000; > } > > div.flash:hover { opacity:0.25; } > div.flash.flash-center{left:25%;right:25%;} > div.flash.flash-top,div.flash.flash-top:hover{ > position:relative; > display:block; > margin:0; > padding:1em; > top:0; > left:0; > width:100%; > text-align:center; > text-shadow:0 1px 0 rgba(255, 255, 255, 0.5); > color:#865100; > background:#feea9a; > border:1px solid; > border-top:0px; > border-left:0px; > border-right:0px; > border-radius:0; > opacity:1; > } > > However, when I put something like response.flash = "Hello" in my > controller, nothing shows up. What the heck I don't even know how to start > debugging this problem....Nothing is being printed when I view page source > either, so something on web2py's part seems to not be functioning > correctly. Anyone have some insight about this?? >
--