[Lift] about QueryParams

2009-08-27 Thread XiaomingZheng
there are two kinds of QueryParams in Lift, one uses raw sql clauses and the other not. My question is, when using the raw sql clauses, the security must be checked by programmer self, and declare safety by IHaveValidatedThisSQL, but when using the now raw methods, does Lift framework checks

[Lift] Re: about QueryParams

2009-08-30 Thread XiaomingZheng
thanks a lot, David On Aug 27, 9:11 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Aug 27, 2009 at 2:12 AM, XiaomingZheng xiaomingzhen...@gmail.comwrote: there are two kinds of QueryParams in Lift, one uses raw sql clauses and the other not. My question is, when using

[Lift] what is the functionality of fmapFunc

2009-09-02 Thread XiaomingZheng
when i use the SHtml.link, i found lift framework add a magic string after the url, and this string is generated by fmapFunc. What exactly fmapFunc used for and why add this strange string after the url? thanks~~ --~--~-~--~~~---~--~~ You received this message

[Lift] Re: snippet invoke

2009-09-09 Thread XiaomingZheng
 So, if you're doing a session-less RESTful service, you could register to service a given URL.  If you're doing a session-oriented REST or SOAP service or generating a unique PDF file or some other thing that you're sending over HTTP, you can register to service the URL and generate a

[Lift] Re: snippet invoke

2009-09-09 Thread XiaomingZheng
thanks Pollak, it really helps On Sep 10, 12:00 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Sep 9, 2009 at 7:22 PM, XiaomingZheng xiaomingzhen...@gmail.comwrote: So, if you're doing a session-less RESTful service, you could register to service a given URL

[Lift] CRUDify trait in 1.1-SNAPSHOT

2009-09-10 Thread XiaomingZheng
when i knew the 1.1 M5 has been published, i updated the pom.xml of my liftapp project and recomplie it. And i got an error about CRUDify: self-type com.thesamegoal.simpleforum.model.Forum does not conform to net.liftweb.mapper.CRUDify [Long,com.thesamegoal.simpleforum.model.Forum]'s selftype

[Lift] CRUDify trait in 1.1-SNAPSHOT

2009-09-10 Thread XiaomingZheng
when i knew the 1.1 M5 has been published, i updated the pom.xml of my liftapp project and recomplie it. And i got an error about CRUDify: self-type com.thesamegoal.simpleforum.model.Forum does not conform to net.liftweb.mapper.CRUDify [Long,com.thesamegoal.simpleforum.model.Forum]'s selftype

[Lift] Re: CRUDify trait in 1.1-SNAPSHOT

2009-09-10 Thread XiaomingZheng
really~~~ On Sep 10, 2:21 pm, Naftoli Gugenheim naftoli...@gmail.com wrote: You're supposed to mix CRUDify in to your singleton object, not the class. - XiaomingZhengxiaomingzhen...@gmail.com wrote: when i knew the 1.1 M5 has been published, i updated

[Lift] where should i put the props file?

2009-09-15 Thread XiaomingZheng
i wanted to use a property file and put a file named default.props in myapp/props/ dir, but i found the property is not set correctly. Where should i put the property file? my os is windows vista. Thanks~~ --~--~-~--~~~---~--~~ You received this message because you

[Lift] Re: where should i put the props file?

2009-09-15 Thread XiaomingZheng
it works~~~thank u! but i read the lift source code, the framework searches /props/ and / dirs, how can this framework find props files in resource dir? On Sep 15, 6:20 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: XiaomingZheng xiaomingzhen...@gmail.com writes: i wanted to use a property

[Lift] Re: where should i put the props file?

2009-09-16 Thread XiaomingZheng
thanks! On Sep 16, 2:35 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: XiaomingZheng xiaomingzhen...@gmail.com writes: it works~~~thank u! but i read the lift source code, the framework searches /props/ and / dirs, how can this framework find props files in resource dir? The /props

[Lift] Lift app memory cost

2010-01-13 Thread XiaomingZheng
Hello everyone: I have a questions confused me right now. today i try to publish my lift website by using mvn package, and got a war package sized more than 10M, the lib folder is the largest. i put this package in a jetty server found out it takes considerable memory cost. if there are lots lift

[Lift] Re: Lift app memory cost

2010-01-13 Thread XiaomingZheng
app must have its stuffs like LiftRules obj and S obj, can we shall them in different apps for saving memory? could you give me some advice? On Jan 14, 5:01 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Jan 13, 2010 at 8:00 PM, XiaomingZheng xiaomingzhen...@gmail.comwrote

[Lift] Re: Lift app memory cost

2010-01-13 Thread XiaomingZheng
got it, thanks David On Jan 14, 6:00 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Jan 13, 2010 at 9:52 PM, XiaomingZheng xiaomingzhen...@gmail.comwrote: my colleagues and i develop portals and other web apps for lots of small companies. One portal is low-traffic, so we

[Lift] what's S.addAround(DB.buildLoanWrapper) used for?

2010-01-20 Thread XiaomingZheng
a silly question, S.addAround(BS.buildLoadWrapper) seems to be new in lift web application. What's this clouse used for? thanks -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe

[Lift] Re: Lift 2.0 on Scala 2.8 update

2010-01-26 Thread XiaomingZheng
i download the 280_port_refresh version code, and excuted mvn install got a sucess. but when i tried to run the examples/hellolift using jetty:run, i visited the localhost:8080 and got a 404 error. can somebody tell me how can make 280_port_refresh version work correct? On Jan 25, 7:17 pm, David

[Lift] MYSQL TEXT field

2010-02-01 Thread XiaomingZheng
hi guys: my app needs to use one field of mysql text type, but in Lift mapper package, and i don't find any MappedField is suitable. any ideas? thanks -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Re: MYSQL TEXT field

2010-02-02 Thread XiaomingZheng
thanks On Feb 2, 9:58 am, Indrajit Raychaudhuri indraj...@gmail.com wrote: Look for MappedText. That maps to DriverType.clobColumnType (LONGTEXT for MySQL). Cheers, Indrajit On 02/02/10 11:27 AM, XiaomingZheng wrote: hi guys: my app needs to use one field of mysql text type