these examples:
http://wiki.github.com/opyate/yauser
Good luck,
Juan
On Nov 26, 6:48 am, jack jack.wid...@gmail.com wrote:
Could somebody point me to a quickstart or tutorial about how to use
Derby with Lift?
--
You received this message because you are subscribed to the Google Groups
Lift group
, opyate opy...@gmail.com wrote:
Hello Lifters,
I overrode newSuperConnection like so:
--START--
object DBVendor extends ConnectionManager {
def newConnection(name: ConnectionIdentifier): Box[Connection]
= {
try {
Class.forName(dbDriver
PS reproducible issue created here:
http://github.com/dpp/liftweb/issues/#issue/199
On Nov 13, 11:43 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Thu, Nov 12, 2009 at 9:08 PM, Jim McBeath goo...@j.jimmc.org wrote:
Assuming I prune it down to an example that requires only a few
Hello Lifters,
I'm overriding my model's primary key like so, because the id field
is non-autoincrement:
(taken from Derek's suggestion on
http://groups.google.com/group/liftweb/browse_thread/thread/41650fc1eb0098bd/cd93612309878979?lnk=gstq=primary+key#)
--START--
override def primaryKeyField
, there is no easy way to see what the SQL
is that is causing the problem.
--
Jim
On Wed, Nov 18, 2009 at 05:37:46AM -0800, opyate wrote:
Date: Wed, 18 Nov 2009 05:37:46 -0800 (PST)
From: opyate opy...@gmail.com
To: Lift liftweb@googlegroups.com
Subject: [Lift]MetaMappertrying to open Empty
Issue created:
http://github.com/dpp/liftweb/issues/#issue/199
The markdown went ballistic, and I don't know how to edit, but I'm
sure the gist is communicated.
Thanks guys!
On Nov 18, 3:04 pm, opyate opy...@gmail.com wrote:
I'll create the test app momentarily.
Thanks Mr. Pollak - you're
Hello Lifters,
Could someone please point out which part of the Lift code takes care
of generating unique names for form elements? (I'll delve in in the
interim)
I'm bleeding edge at the moment (1.1-SNAPSHOT and mvn -U clean
always) and since about an hour ago my login form doesn't render with
On Nov 12, 1:55 pm, Ferdinand Chan unique...@gmail.com wrote:
Opyate,
Thanks for the example. But my scala knowledge seems not good enough
to understand it.
Here's an excerpt from Box's Javadoc (http://scala-tools.org/scaladocs/
liftweb/1.0/net/liftweb/util/Box.html - this is v1.0 so I
in net/liftweb/http/S.scala (lift-webkit).
Cheers, Indrajit
On 17/11/09 5:25 PM, opyate wrote:
Hello Lifters,
Could someone please point out which part of the Lift code takes care
of generating unique names for form elements? (I'll delve in in the
interim)
I'm bleeding edge
Ah, thanks Jeppe :-)
I'll pop over to 1.1-SNAPSHOT later this week, then.
On Nov 17, 1:45 pm, opyate opy...@gmail.com wrote:
Thanks Indrajit.
It could have very well been a code change introduced in the past day
or so, because I reverted my POM to 1.1-M7 (from 1.1-SNAPSHOT) and all
is fine
Hello Lifters,
I overrode newSuperConnection like so:
--START--
object DBVendor extends ConnectionManager {
def newConnection(name: ConnectionIdentifier): Box[Connection]
= {
try {
Class.forName(dbDriver)
val dm =
Hey Ferdinand,
Here are a couple of examples:
import _root_.net.liftweb.common._
val boxExample: Box[Int] = Int = {
case Full(x) = x
case Empty = 0
}
def boxExample2(boxedInt: Box[Int]): Int = {
boxedInt.map({i =
i
}) openOr 0
}
On Nov 12, 12:28 am, Naftoli
Hello guys,
I thought the purpose of loginRedirect was to be able to override
where the newly logged-in user gets redirected to.
I'm doing it like so, in model/User:
loginRedirect(Full(/loadPrivateKey))
..but it just goes to the page I accessed before I clicked on /
user_mgt/login
Is there
Hello Lift committers,
I have a quick question about defining a datasource. I usually do it
like this:
DefaultConnectionIdentifier.jndiName = jdbc/myApp
// use default internal Derby DB if there's not already a JNDI
connection defined
if (!DB.jndiJdbcConnAvailable_?) { // looks at
will automatically handle retrieving the data source via JNDI if you
specify a ConnectionIdentifier and you don't have a connection manager
defined.
Derek
On Wed, Oct 21, 2009 at 10:38 AM, opyate opy...@gmail.com wrote:
Hello Lift committers,
I have a quick question about defining
Hi Neil,
Lift as a web framework is agnostic of the underlying database type.
That allows you, the developer, to choose which database type to use,
e.g. PostgresQL (far superior ;-) or even Oracle, MSSQL.
Thanks,
Juan
On Oct 19, 9:10 am, Neil.Lv anim...@gmail.com wrote:
Hi all,
Why the
Hello Lifters,
Related:
http://groups.google.com/group/liftweb/browse_thread/thread/20051762b58f0083/b3329f33e8f3dc73?lnk=gstq=existing+database#b3329f33e8f3dc73
I would like to generate (at run-time) BaseMapper instances of a
schema. I know I can generate the JPA beans from a schema (using
, in a nutshell: learn the Scala basics, and get your hands dirty.
Open a console and faff about, then start writing apps! :-)
What I've done so far can be found here:
http://github.com/opyate/Ken
http://github.com/opyate/yauser
Happy coding!
Juan
On Oct 15, 6:07 am, ngocdaothanh ngocdaoth...@gmail.com
Hi Tweek,
Have a look at the pocketchangeapp example:
http://github.com/tjweir/pocketchangeapp/
Regards,
Juan
On Oct 8, 11:43 am, Tweek d.sztwio...@gmail.com wrote:
Hi.
I'm totally beginer in Lift and i've never used JQuery. Can Anybody
tell me how to add DatePicker to my DateTime field in
Hey guys,
I managed to build in callback support, and I draw your attention to
the implementation here:
http://github.com/opyate/Ken/blob/master/ken-server/src/main/scala/com/opyate/ken/lib/API.scala
Excerpt:
snip
override def dispatch: LiftRules.DispatchPF = {
// modify the returned
Sorry - APIResponse code not borrowed from skittr, but ESME (http://
incubator.apache.org/esme/)
Thus, depending on your call's extension (.json or .xml) you can serve
the response in the required format.
Anyhoo, back to the question... :-)
Thanks,
Juan
On Oct 6, 5:48 pm, Juan M Uys
I have a bad habit of posting before investigating.
net.liftweb.http.auth.AuthRole
...does exactly what I need.
Thanks guys!
On Sep 25, 5:12 pm, Juan M Uys opy...@gmail.com wrote:
Hello,
I'm implementing a Role in my model to ultimately replace the
functionality provided by
22 matches
Mail list logo