[Lift] Lift Shopping Cart?

2009-06-12 Thread David Persons
is the status of this project? Is there a shopping cart example / project available which I can use / look at? Same question for a user Forum in Lift, is there a Lift Forum module? regards, David Persons --~--~-~--~~~---~--~~ You received this message because you

[Lift] 3 question Lift quiz

2009-06-13 Thread David Persons
) val Video = Value(video) } I use mysql for storage, how to map to a mysql enum ('text','image','video') field instead of the bigint(20) field it maps to right now? Thanks a lot! David Persons *** C O D E *** object currentStoryBoardVar extends RequestVar[Box[StoryBoard]](Empty

[Lift] Re: 3 question Lift quiz

2009-06-15 Thread David Persons
Anyone can help me on this one? Still stuck.. regards, David On Jun 14, 1:56 am, David Persons dhwpers...@gmail.com wrote: Hello heavy lifters, After a couple of late night Lift play-around sessions I thought this time I might as well ask the questions to you guys and get some sleep :-) I

[Lift] JPA and auto generation of id

2009-06-22 Thread David Persons
Hello guys, I switched from the Mapper Framework to JPA. Example of one of the entities: @Entity class Scene { @Id @GeneratedValue(){val strategy = GenerationType.AUTO} var id : Long = _ @Column{val unique = true, val nullable = false} var ordering : Int = _ @Column{val unique =

[Lift] JPA and auto generation of id

2009-06-22 Thread David Persons
nullable = false} var ordering : Int = _ @Column{val unique = true, val nullable = false} var name : String = @ManyToOne{val optional = false} var storyBoard : StoryBoard = _ } What am I doing wrong?? grtz, David Persons --~--~-~--~~~---~--~~ You received

[Lift] Re: JPA and auto generation of id

2009-06-22 Thread David Persons
or PostgreSQL, for instance, you need a sequence set up for the auto identity model. What database are you using? Derek On Mon, Jun 22, 2009 at 8:54 AM, Eric Bowman ebow...@boboco.ie wrote: David Persons wrote: Hello guys, I get a org.hibernate.exception.SQLGrammarException: could not get

[Lift] Re: JPA and auto generation of id

2009-06-24 Thread David Persons
the instance? A merge should interpret a null ID as a fresh instance, and a persist should just save it. Derek On Mon, Jun 22, 2009 at 1:50 PM, David Persons dhwpers...@gmail.comwrote: I am using MySql (5). After setting the hibernate.dialect to org.hibernate.dialect.MySQLDialect in my

[Lift] customizing my SiteMap

2009-06-28 Thread David Persons
href=#links/a/li lia href=#contact/a/li /ul /div How can I retrieve this 'current page item' and generate the html shown above? Can somebody try to give a code example? regards, David Persons --~--~-~--~~~---~--~~ You received

[Lift] Re: customizing my SiteMap

2009-06-29 Thread David Persons
? Can somebody try to give a code example? regards, David Persons --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from

[Lift] Re: how to serve html fragments

2009-06-29 Thread David Persons
The problem seems to be a known stupid bug in IE6.. see: http://www.webdeveloper.com/forum/showthread.php?t=1658 On 29 jun, 02:39, David Persons dhwpers...@gmail.com wrote: I spend a lot of time today on (close to) the same problem.. IE 6 was not showing my site in strict mode

[Lift] javascript error in embed.js

2009-08-11 Thread David Persons
: http://wave-api.appspot.com/public/embed.js Line: 2] Anyone has seen this error before and/or any tips anyone? kind regards, David Persons --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post

[Lift] Re: javascript error in embed.js

2009-08-12 Thread David Persons
: LiftRules.useXhtmlMimeType = false Thanks, David On Tue, Aug 11, 2009 at 4:45 PM, David Persons dhwpers...@gmail.com wrote: Hello everybody, I got stuck trying to embed a Wave on an already existing website.. My guess is there is a conflict with another js file used on the page: Error