[Lift] http://wiki.liftweb.net request

2009-07-11 Thread DFectuoso
How can people get editing power on the wiki? Is it intended to be used as a (real) wiki? Who is responsable right now for hosting that and keeping it up? I was fizzling around today with mySql and lift following the advice there and decided I would like to expand the article with some problems

[Lift] Re: Mapper or Record

2009-07-11 Thread czerwonka
It'd be nice not to have to port. I'd hat to have to port my mapper code as soon after I write it. Maybe JPA is the answer then. On Jul 10, 7:24 am, marius d. marius.dan...@gmail.com wrote: Mapper as Record is not yet complete. Br's, Marius On Jul 10, 4:21 pm, czerwonka

[Lift] toForm on a MappedLongForeignKey

2009-07-11 Thread Josh Suereth
Hey all, This is my first venture into lift's ORM and I'm upgrading an existing codebase, so I'm not sure how all the pieces fit together, but I've figured out enough to patch in my features. I was wondering if someone can help me out with this issue: The code is using the toForm method on the

[Lift] Re: toForm on a MappedLongForeignKey

2009-07-11 Thread Josh Suereth
Exactly! Thanks On Sat, Jul 11, 2009 at 11:54 AM, TylerWeir tyler.w...@gmail.com wrote: Something like this? object reportsTo extends MappedLongForeignKey(this, User) { override def displayName = Reports To override def asHtml = { span{User.find(By(User.id,

[Lift] Re: http://wiki.liftweb.net request

2009-07-11 Thread Jorge Ortiz
All you have to do is register for an account. Anonymous edits aren't allowed. --j On Fri, Jul 10, 2009 at 11:09 PM, DFectuoso santiago1...@gmail.com wrote: How can people get editing power on the wiki? Is it intended to be used as a (real) wiki? Who is responsable right now for hosting that

[Lift] Re: toForm on a MappedLongForeignKey

2009-07-11 Thread Josh Suereth
actually, do you need the _toForm in there? If I remove it, it makes a nice combo box. I think I was just missing the validSelectValues override. Thanks again. - Josh On Sat, Jul 11, 2009 at 11:54 AM, TylerWeir tyler.w...@gmail.com wrote: Something like this? object reportsTo extends

[Lift] Standardizing widget APIs

2009-07-11 Thread Timothy Perrett
Hey guys, Just looking at the lift-widgets before making a widget for upload progress using the new streaming upload stuff DPP added. I cant help but think that our widget packages could benefit from some trait standardization? Ok, right now its not a *huge* issue - most of the widgets follow a

[Lift] Re: http://wiki.liftweb.net request

2009-07-11 Thread David Pollak
On Fri, Jul 10, 2009 at 11:09 PM, DFectuoso santiago1...@gmail.com wrote: How can people get editing power on the wiki? There are a couple of wiki admins who grant write privileges. We had a huge wiki spam issue and we have no wiki gardener so we needed to restrict access. I've created an

[Lift] Re: Standardizing widget APIs

2009-07-11 Thread Timothy Perrett
Any technical feedback Viktor? Suggestions for possible ways to enforce a structure / life-cycle? Cheers, Tim I like it --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

[Lift] Re: Standardizing widget APIs

2009-07-11 Thread Viktor Klang
On Sat, Jul 11, 2009 at 10:15 PM, Timothy Perrett timo...@getintheloop.euwrote: Any technical feedback Viktor? Suggestions for possible ways to enforce a structure / life-cycle? I'm not sure, depends I guess. Just a simple onLoad/onUnload callback could be enough... (The unload is to make

[Lift] Re: Sitemap, restricted menus and skinning a cat

2009-07-11 Thread Ben James
It seems that the best way to set the redirect location is using the LiftRules object, for example: LiftRules.siteMapFailRedirectLocation = user_mgt :: login :: Nil I hope this helps, Ben On Jul 3, 11:39 am, Ewan ehar...@gmail.com wrote: I wonder if anyone would care to advise of the most

[Lift] Re: Standardizing widget APIs

2009-07-11 Thread Timothy Perrett
I'm not sure, depends I guess. Just a simple onLoad/onUnload callback could be enough... (The unload is to make sure not to leak mem if you're just reloading the webapp without restarting the server) That was my thinking - right now the pattern appears to be def init for booting the widget,

[Lift] Re: Mapper or Record

2009-07-11 Thread Derek Chen-Becker
Mapper will be maintained for quite a while after Record comes out, and the two (at present) have similar architectures. JPA is certainly an option, but don't toss Mapper out as an option simply because Record will be in place in the near future. Derek On Sat, Jul 11, 2009 at 7:41 AM, czerwonka