On Wed, Dec 2, 2009 at 2:23 AM, Jeppe Nejsum Madsen <[email protected]>wrote:
> David Pollak <[email protected]> writes: > > > Folks (especially Jeppe), > > > > I've added a second rewrite phase to Lift. The second phase takes place > > within S scope, so you get SessionVars, etc. The review board posting is > at > > http://reviewboard.liftweb.net/r/132/ > > Cool stuff. > It's checked into master > > > Anyone who cares about what is accessible during this rewrite phase > should > > pull the dpp_issue_197 branch from GitHub and do a build to make sure > it's > > suiting their needs. > > It solves at least one of my issues: I can now go to a CRUDify page such > as http://localhost:8080/procurement/edit/173 and be redirected to the > login in page if I'm not signed in. > > This didn't work before since I used the signed in user id during > rewrite to locate the item to edit. Nice! > > The other issues I've worked around for now (mostly using sessionsvars > during rewrite when no session exist), so can't easily comment atm > You might want to look into the RequestMemoize and SessionMemoize stuff I added... they may help you (especially related to RDBMS access and pattern matching) > > /Jeppe > > -- > > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<liftweb%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
