Take my input or vote of confidence with a grain of salt...
I had to use java.util.Calendar recently and noticed some of the
issues with it that you mention. For my case, I created a light
wrapper for my use of java.util.Calendar that redefined the relevant
statics (Monday, Tuesday, etc) as
Hello everyone,
I have the following code...
case class item(name : String)
class demo {
def exampleFour(xhtml : NodeSeq) : NodeSeq = {
val map = Map(Test - List(item(1), item(2), item(3)),
Vehicles - List(item(Bike), item(Automobile))
)
val articles = List(
to your wiki page:
http://wiki.github.com/dpp/liftweb/how-to-unit-test-lift-snippets-wit...
Eric you may want to add a specs version.
Bill
On Thu, Oct 1, 2009 at 3:03 PM, rstradling ryanstradl...@gmail.com wrote:
Awesome!!! Thanks guys for the help. It now works.
I put a how-to wiki
I have a class called
class Trainer {
def showPeople(xhtml : Group) : NodeSeq = {
val user : User = User.currentUser.open_!
...
}
}
I then want to write a unit test to test that returns proper xml.
The test is written as so
def testValue() = {
val xml =
xml:group
in {
... do testing here
}
}
}
Hope this helps.
On Thu, Oct 1, 2009 at 8:55 AM, rstradling ryanstradl...@gmail.com
wrote:
I have a class called
class Trainer {
def showPeople(xhtml : Group) : NodeSeq = {
val user : User = User.currentUser.open_
I am trying to do what is mentioned below but am struggling with the
object side of things for my particular case. This all relates back
to trying to auto-generate some classes that I posted back a while ago
on. I would love to generate 1 file that has the trait and the object
in it that I then
I am using Lift 1.0 with the Mapper ORM module from Lift. I am a
newbie to Scala and Lift. I have auto-generated my ORM classes from
a .sql file. Given that these classes are auto-generated I would
prefer not to edit them directly and provide additional functionality
via inheritance.
Say I
to the full grammar (at least that was my
intent :)..
On Aug 27, 1:09 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
How do you auto-generate them?
On Thu, Aug 27, 2009 at 1:03 PM, rstradling ryanstradl...@gmail.com wrote:
I am using Lift 1.0 with the Mapper ORM module from Lift. I am a
newbie
to
this thread with the location.
On Aug 27, 1:35 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Thu, Aug 27, 2009 at 10:26 AM, rstradling ryanstradl...@gmail.comwrote:
With a parser combinator I wrote to parse .sql and it outputs scala
orm files.
Care to share? That'd be a pretty
git clone git://github.com/rstradling/DDLtoLiftORM.git is the
location of the git code.
http://github.com/rstradling/DDLtoLiftORM is the web address
I hope this is helpful to others.
On Aug 27, 3:13 pm, rstradling ryanstradl...@gmail.com wrote:
Thanks for the answers everyone. What David
10 matches
Mail list logo