Yeah that what happens when you're coding late in the night ... the
null monster bites you.
Marius
On Jul 2, 7:47 pm, Kris Nuttycombe kris.nuttyco...@gmail.com wrote:
Marius, that fix appears to work fine, thank you!
Bloody nulls. :)
Kris
On Thu, Jul 2, 2009 at 7:17 AM, marius
Thanks Dave, but still getting this error:
/home/wacky/NetBeansProjects/virtualMarket/src/main/scala/org/tobster/model/Order.scala:51:
error: value lotValue is not a member of Long
override def _toForm = Full(p{Order.this.lots *
Order.this.marketPlace.lotValue}/p)
What is the
I wonder if anyone would care to advise of the most appropriate
solution for not rendering sitemap menu items with additional redirect
to a login page. I have read a couple of solutions in this list but
here is what I have done cobbled together from the liftbook.
I have an If LocParam for
I vote for this! Personally I do not completely understand all the
possibilities Failure gives and how to achieve these. BTW, I found
recently the appendix about Boxes disappeared from the printed Lift
book :(
On Jul 2, 5:55 pm, Timothy Perrett timo...@getintheloop.eu wrote:
We really ought to
Awesome! That's a nice way to bypass the issues I was running into. I
suppose that if someone wanted to control it on a per-form basis then they
could do it themselves via their own field mappings.
Derek
On Wed, Jul 1, 2009 at 12:20 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
I would take a look at Scala's XML facilities. In particular, I think that
you can use matching on the elements to filter and substitute the input.
Derek
On Thu, Jul 2, 2009 at 7:48 AM, Nolan Darilek no...@thewordnerd.infowrote:
I'm working on an app that allows users to enter their own form
Send me the file and I'll debug it.
On Fri, Jul 3, 2009 at 3:06 AM, Tobias Daub hannes.flo...@gmx.li wrote:
Thanks Dave, but still getting this error:
/home/wacky/NetBeansProjects/virtualMarket/src/main/scala/org/tobster/model/Order.scala:51:
error: value lotValue is not a member of Long
Jeppe,
Once I check in some code (in about 20 minutes), if you run Lift in Test
mode (-Drun.mode=test), forms, etc. will have stable names which makes
testing easier.
Thanks,
David
On Thu, Jul 2, 2009 at 1:13 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Hi,
Having taken the first baby
On Thu, Jul 2, 2009 at 6:48 AM, Nolan Darilek no...@thewordnerd.infowrote:
I'm working on an app that allows users to enter their own form
templates, which are rendered to HTML forms and filled out. The results
are then captured and encoded for later rendering. So the user might
input
Hi, David,
Thanks for taking some time to look at this problem. I'm a little
concerned about the approach, though - should Lift really behave
significantly differently in test mode than it does in production
mode? This seems like it would lend to the possibility of subtle bugs
that don't show up
Is there a way to write (statefulSnippet/SHtml) .link( currentPage,
()=onReloadFunc, ns) ?In other words, link to whatever page the link is
appearing on --- a reload link.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Okay. What about two fields in a unique constraint, e.g. first+last?Also, my
H2 databased generated by schemifying allowed me to insert rows that had
duplicate primary keys (or at least they're supposed to be primary keys).
I'm using LongKeyedMapper ... with IdPK. Am I missing something?
Anyone
Yes, it's available on the APress website. It was omitted due to an issue
with the APress workflow :(
http://www.apress.com/book/view/1430224215
Derek
On Fri, Jul 3, 2009 at 8:22 AM, Alexander Azarov alaz...@gmail.com wrote:
I vote for this! Personally I do not completely understand all the
H2 has a great console servlet that you can use to connect to any jdbc
compliant database and I just figured out how to configure it to work with
lift.
Assuming you already have H2 as a dependency, just add a mapping to the
servlet in your web.xml. Mine looks like this:
web-app
filter
The console is basically a text box for executing SQL. But how can I tell if my
IDs are PKs? I inserted some rows exported from MySQL containing ids and ended
up with a duplicate id of something I already had. So what went wrong? Lift
generated the tables from my Mapper.
I've searched this group and combed through the lift book for an
answer, but found none - how to use file-based storage for data within
Lift.
For example, how would I call something like:
def xml = XML.loadFile(fileName)
without getting a java.io.FileNotFoundException?
I tried storing the
I heard some good vibes about Lift and then I saw this gem in the
Getting Started documentation for creating a project:
From a command prompt, type:
mvn archetype:generate -U \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-basic \
-DarchetypeVersion=1.0 \
I'm trying to do something like:
override def afterSave = addAfterSave _ :: Nil
private def addAfterSave(c: Content) {
}
}
and assume afterSave automatically gets called after saving a mapper
entity. But it never does.
What could I be missing or doing wrong?
I have been working on a project for a while, so I haven't needed to
use it, but I found this in my collection of .bat files:
cd C:\Liftweb
mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/
... that way, you get a bunch of choices during the creation process,
as I recall.
Yes,
19 matches
Mail list logo