On Mon, Apr 20, 2009 at 2:53 PM, Sean Reque wrote:
[...]
>
> I am inlining the buildr buildfile I created for Lift's hello world
> example below.
>
[..]
I recently did the same for Gradle (it does require building Gradle from
source to get the Scala plugin). This is the result:
usePlugin('sc
Hello,
I've been lurking on this list for a while and trying out small things with
Lift/Scala but thought I would ask the more experienced people around here
before digging much deeper. First some background:
I've been writing webapps for well over a decade using all kind of
tools/languages rangi
Thanks for the swift reponse. A few comments inline
On Tue, Apr 21, 2009 at 7:51 PM, David Pollak wrote:
[...]
> I don't know Lift/Scala either but I've always liked the clean, simple
>> syntax of SML (did a fair share of SML programming back in the CS classes
>> :-), so FP is not uncommon to
On Tue, Apr 21, 2009 at 9:01 PM, Charles F. Munat wrote:
>
> Yeah, it's always "nice to get some"... :-)
>
> As a former Rails developer, I'll say this: I don't think I'm yet quite
> as fast in Lift as I was in Rails, but I'm getting there. A lot of this
> has had to do with switching mindset fro
Hi,
A newbie running 1-1-SNAPSHOT with a few questions:
1) The entire app should be protected, so any unauthenticated access
should show the login page. But I don't want the login page to use the
same template as the other user pages. I guess I could override
loginMenuLoc, but it would be nice i
Thanks for the rapid feedback. A few comments below
On Fri, May 22, 2009 at 6:12 PM, David Pollak
wrote:
[...]
> def onLoginPage: Boolean = S.request.flatMap(_.location.map(_.name ==
> "Login)) openOr false
>
> override def screenWrap: Box[NodeSeq] = Full(if (onLoginPage)
> />
>
On Sat, May 23, 2009 at 4:52 PM, David Pollak
wrote:
[...]
>> > def onLoginPage: Boolean = S.request.flatMap(_.location.map(_.name ==
>> > "Login)) openOr false
>> >
>> > override def screenWrap: Box[NodeSeq] = Full(if (onLoginPage)
>> > > > />
>> > else > > />)
>>
>> Ahh di
Hi.
I want to protect all pages in the app (except login :-) so if you try
to access a page, you get to the login page and after successful
login, you get redirected back to the requested page. I'm combining
the ideas from
http://groups.google.com/group/liftweb/browse_thread/thread/5d724fa1ab66a
On Sat, May 23, 2009 at 6:22 PM, Jeppe Nejsum Madsen wrote:
> Hi.
>
> I want to protect all pages in the app (except login :-) so if you try
> to access a page, you get to the login page and after successful
> login, you get redirected back to the requested page. I'm combin
On Sat, May 23, 2009 at 5:54 PM, Jeppe Nejsum Madsen wrote:
> On Sat, May 23, 2009 at 4:52 PM, David Pollak
> wrote:
>>>
>>> > Getting the secondary menu items:
>>> > def secondaryMenuItems: Seq[MenuItem] =
>>> > for {
>>> >
On Sun, May 24, 2009 at 12:45 AM, Jeppe Nejsum Madsen wrote:
> On Sat, May 23, 2009 at 5:54 PM, Jeppe Nejsum Madsen wrote:
>> On Sat, May 23, 2009 at 4:52 PM, David Pollak
>> wrote:
>>>>
>>>> > Getting the secondary menu items:
>>>> &g
Running 1.1-SNAPSHOT, the following construct
Seems to results in an exception when Lift processes the template.
The error seems related to the fact that both li_path & li_item tries to
set the class. If I change one to e.g. li_path:style, everything works.
Is this a bug or is there a good
On 2 Jun 2009, David Pollak wrote:
> Please post the exception
The code is just the basic archetype with the above template changes and
a new menu item as child of Home to show the path style.
No exception on the console, but I get this in the browser:
Exception occured while processing /
M
On 2 Jun 2009, David Pollak wrote:
> This is an XML parsing error. Something in your XML is non-parsable.
> It's not Lift, but the underlying XML parsing library.
Yes, it would seem so. It looks like a bug/non-implemented feature that
the parser is unable to read two attributes with the same n
On 3 Jun 2009, marius d. wrote:
> attribute with the same name but different prefixes should be ok as
> long as the prefixes are bound to namespace URL's.
But the problem here is that the attributes are in an inner template,
which, I presume, will be read before the outer template (with the
na
I'm curious: Am I the only one getting rather useless error messages in
the browser when Lift fails to parse the templates? Something a long
these lines:
Exception occured while processing /
Message: java.lang.IllegalArgumentException: line 15 does not exist
scala.io.Source.getLine(Sourc
On 3 Jun 2009, David Pollak wrote:
> I've pushed up a fix
Excellent, thanks! When I finally figured out how to use the li_*
attributes I thought it was a very nice way to make the snippets
configurable. Great was the dismay when I found it didn't work :-(
/Jeppe
--~--~-~--~~--
On 3 Jun 2009, Derek Chen-Becker wrote:
> Improving error messages is something we're working on. I'll have to
> look at the source, but if there's a more meaningful exception that's
> somehow getting swallowed then I'd say that that's a bug. Let me dig
> and see what's going on.
If my analysis
Hi,
I'm trying to remove the "Notice", "Error" lead in text that is
displayed when using the Msgs snippet, like this:
Looking at the code, it seems the default text is used if the specified
text is empty, so I tried putting a in there but this also seems
On Fri, Jun 5, 2009 at 6:05 PM, marius d. wrote:
>
> Committed. Let me know if that works for you.
>
Works perfectly. Thanks
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this grou
Hi
I'm about to start on the data layer of our project, using 1.1-SNAPSHOT
Seeing that record is supposed to be the new ORM technology in 1.1, is
it ready to start using it for real work (production timeframe within a
month or 2)? If yes, any pointers to getting started? Seems most of the
doc is
On 16 Jun 2009, marius d. wrote:
> Lift Record currently is not implemented for DB interaction but it's
> targeted for 1.1 release.
That probably explains why I couldn't find much when looking through the
source :-)
>
> I'd say to start development using the Mapper and when Record is ready
> m
On 16 Jun 2009, ph wrote:
> I've created a test "hello-world" lift project and it runs fine.
> http://wiki.liftweb.net/index.php/HowTo_start_a_new_liftwebapp
>
> also I've imported this project to Eclipse (mvn eclipse:eclipse) and
> import from Eclipse. I'm currently using m2eclipse (http://
>
On 16 Jun 2009, Philippe Kirsanov wrote:
> Thank you for the reply, however I don't think this is the issue (I
> tried and that didn't work).Seems like issue in which version of Jetty
> is used. Maven generates pom file with jetty version "[6.1.16,)" and
> this works from command line, in Eclips
Hi,
Using mapper I have this:
object FuelTypes extends Enumeration {
val Diesel = new Val(1, "Diesel")
val Petrol = new Val(2, "Benzin")
}
object fuelType extends MappedEnum(this, FuelTypes)
This works, but the database value then becomes a meaningless number
What is the bes
On 19 Jun 2009, Nolan Darilek wrote:
> And I can't for the life of me figure out whether Tomcat is an app
> server or something else entirely. This seems so much more complicated
> than just throwing up a few Mongrels and a load balancer, or reading
> through the nicely-written Passenger manual a
Hi,
Our app is private, which means only the signin and related pages are
visible without authentication. I've made this Loc to protect menu
items,
val loggedIn = Loc.EarlyResponse(() =>
Full(RedirectResponse("/profile/login?returnTo="+S.uri)).filter(ignore =>
!User.loggedIn_?))
and while
On 23 Jun 2009, David Pollak wrote:
> I'll enhance sitemap to support global additions of parameters.
Cool. Looking forward to this :-)
Just out of curiosity: Is it possible to "fall through" in a DispatchPF,
ie. do the default processing, even if the function is defined at the request?
/Jeppe
On 23 Jun 2009, Naftoli Gugenhem wrote:
> What's the difference between an application server and a servlet
> container?
Depends on who you ask :-) Application server usually means a J2EE
implementation which support things such as EJBs, message services,
transaction monitors, database pools (a
On 23 Jun 2009, David Pollak wrote:
> Jeppe, I just checked in code (it'll take 45 minutes to hit the Maven
> repo) that has global LocParams for each SiteMap. The SiteMap
> constructor is now:
>
> SiteMap(globalParamFuncs: List[PartialFunction[Box[Req],
> Loc.LocParam]], kids: Menu*)
>
> You
Hi,
We need to do quite a lot of charting in our app and after evaluating
several libraries we've settled on Flot (for now at least :-)
So I was happy to discover there was already some Flot integrations in
Lift. After having looked a bit at this, it seems there are some things
missing that we w
On 24 Jun 2009, Timothy Perrett wrote:
> I've not spoken with Francois for some time, but I'll ask him next
> time he's online if he's able to make changes to the flot stuff. He's
> based in Chilli so should be online later on.
Thanks. I'm more than willing to spend some time on this (and shar
On Wed, Jun 24, 2009 at 3:25 PM, David Pollak
wrote:
>
> Oh... I get why you did the Hidden thing... I'd do the following:
> case Full(Req(path, _, _)) if !User.loggedIn_? && path != List("profile",
> "login") && path != path != List("profile", "lost_password") =>
> Loc.EarlyResponse(() =>
>
On 24 Jun 2009, Peter Robinett wrote:
> Hi all,
>
> I'm using CRUDify on one of my models and I'd like to display some
> additional data on the view template. I believe that I need to
> override one of the model definitions with some sort of reference to
> my own XHTML file. Which one? _viewTem
Hi,
A while ago, I asked if it was possible to use something like MappedEnum
and have some sensible values inserted into the database instead of
integers.
I got the feeling this was not the case, so I've created MappedEnumString
(attached) which maps Enumerations into string values.
Example:
On 25 Jun 2009, Francois Bertrand wrote:
> Hi Jeppe
>
> Great to see you are interested in the flot widget.
>
> My current to-do list for the flot widget, is:
>
> - create more Lift JsExp and JsCmd to modify a already displayed flot
> graph. They should be used in AJAX and Comet applications
On Thu, Jun 25, 2009 at 1:12 AM, Oliver Lambert wrote:
>
> Looks very nice.
>
> One thing I'm wondering, what if I wanted the displayed value outside of the
> mapper, such as TestTypes.Item1.displayValue. Would you use an implicit
> conversion to provide this or is the
> display value conceptua
On 26 Jun 2009, Peter Robinett wrote:
> Hi flot users,
>
> I am trying to copy the basic Flot example into my own code. I have no
> compile errors but the graph isn't rendered because /classpath/flot/
> jquery.flot.js isn't found. Since I get no errors with the flot
> methods in my snippet, I a
On 26 Jun 2009, fbettag wrote:
> Hey guys,
>
> i was wondering how (and where) i have to put jars in my liftweb
> project to get them included. i know it's a beginners question, but
> i've been playing around all night and i couldn't get it to work.
Normally, you would put jars in the WEB-INF/
Oliver Lambert writes:
[...]
> No this isn't what I'm suggesting, I don't think MappedEnum should be made
> flexible.
I know this wasn't your suggestion, but any reason not to make
MappedEnum flexible (if possible and backwards compatibility could be
maintained) ?
> I was thinking perhaps y
Peter Robinett writes:
> Thanks, Jeppe, that's what I was missing.
>
> To continue to hijack this thread with my own questions, I'm having a
> problem creating the data List[(Double, Double)] that FlotSerie wants.
> I have:
> override val data = MyModel.findAll(By(MyMode.id, myId), OrderBy
> (My
dflemstr writes:
> Hello everyone involved,
> I am having a very annoying problem with the Flot widget: The
> automatically generated legend's auto-sizing feature is broken (it
> grows horizontally to the max allowed space while still adhering to
> the margin values specified, and it's not possi
On Sat, Jun 27, 2009 at 11:10 AM, dflemstr wrote:
> As can be seen here: http://bit.ly/13EEnw , the bug isn't present in
> the vanilla Flot library.
Make sure you're trying to plot the same data with the same plot options.
> I am at a loss to find the bug causing all this. The whole Flot wid
On Sat, Jun 27, 2009 at 5:46 PM, Timothy Perrett wrote:
>
>
> Guys,
>
> If you want changes made to the flot widgets, please let us know what
> exactly needs changing and we'll get it done. By all means, please don't
> feel you are out in the cold!
Hi Tim,
Personally, I don't feel left out in th
Derek Chen-Becker writes:
> Well, as usual something that seemed simple at first glance is now looking
> somewhat complex. I'm thinking of reworking the fileUpload handling to allow
> a user to register either a (String, String, Array[Byte]) ⇒ Any or (String,
> String, InputStream) ⇒ Any functio
Hi,
Having taken the first baby steps and gotten a Lift app running, it's
time to bring back some of the old engineering practices to make sure
things keep running when new features are added at a rapid pace :-)
I'm interested in how people are testing their Lift apps, both at the
unit test leve
On Fri, Jul 3, 2009 at 6:43 PM, David
Pollak wrote:
> 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. I just tried this, and it seem something is not correct.
Her
Hi,
What is the best way to copy values from one mapped object to another
(of the same type). The code below seems to work but I was wondering if
there's a better way?
def insertOrUpdate(v:Vehicle) = Vehicle.find(By(vin, v.vin.is)) match {
case Full(existing) => {
existing.getSin
Hi,
I'm currently doing
find(By(brand, b),BySql[VehicleType]("upper(series)=? and upper(model)=?",
IHaveValidatedThisSQL("JNM", "090706"), s.toUpperCase, m.toUpperCase))
since series & model should be compared case insensitively.
But it would seem nicer if I could somehow do
find(By
On Mon, Jul 6, 2009 at 12:23 PM, Jeppe Nejsum Madsen wrote:
> Hi,
>
> What is the best way to copy values from one mapped object to another
> (of the same type). The code below seems to work but I was wondering if
> there's a better way?
And just for future reference, the pre
Hi,
I seem to get errors when trying to read a MappedDecimal that is NULL in the
db:
Message: java.lang.NullPointerException
net.liftweb.mapper.MappedDecimal$$anonfun$buildSetActualValue$1$$anonfun$apply$4.apply(MappedDecimal.scala:152)
net.liftweb.mapper.MappedDecimal$$anonfun
On Mon, Jul 6, 2009 at 6:03 PM, David
Pollak wrote:
>
>
> On Mon, Jul 6, 2009 at 1:34 AM, Jeppe Nejsum Madsen
> wrote:
>>
>> On Fri, Jul 3, 2009 at 6:43 PM, David
>> Pollak wrote:
>> > Jeppe,
>> >
>> > Once I check in some code (in about 2
Hi,
I get an Empty box when using the value of User.current when trying to
populate the valid select values for use in a CRUDify edit form:
I have this mapped object which I'm trying to edit using CRUDify:
class Vehicle extends LongKeyedMapper[Vehicle] with IdPK {
[...]
object customC
On Tue, Jul 7, 2009 at 3:30 PM, David
Pollak wrote:
[...]
>> Well, it wasn't :-) I checked my templates and it wasn't there. I can
>> see that the lastet templates generated by the basic archetype does
>> have the namespace decl, so I've just added it and everything is fine.
>>
>> My templates w
2009 at 5:53 AM, Jeppe Nejsum Madsen
> wrote:
>
> Hi,
>
> I get an Empty box when using the value of User.current when trying to
> populate the valid select values for use in a CRUDify edit form:
>
> I have this mapped object which I'm trying to edit using CRUDify:
ind call. The currentUserId is actually a
> SessionVar, so I'm wondering if you could confirm that the User
> actually exists in the database. That's the only thing I can think
> of...
>
> Derek
>
> On Tue, Jul 7, 2009 at 6:53 AM, Jeppe Nejsum Madsen
> wrote:
>
&g
Derek Chen-Becker writes:
> Done. Hudson should build it and have it in the repo soon.
Thanks!
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to liftweb@go
David Pollak writes:
> Okay... I see the code path that could cause this issue.
>
> Are you doing any re-writing? Are you accessing User.currentUser in your
> re-writes?
As far as I can tell, I'm not doing any rewriting directly. But I'm
using CRUDify and it seems to do some rewriting under th
Ellis writes:
> Hi Dan,
>
> I don't have an answer to your question, but maybe a suggestion.
> Eclipse does not work well with maven/scala/lift, and I really doubt
> it will anytime soon.
I don't know about the Maven part, but Eclipse works with Scala &
Lift. It's not nearly as functional as wi
Miles Sabin writes:
> On Thu, Jul 9, 2009 at 5:45 PM, David
> Pollak wrote:
>> But, until Martin's magic brain has yielded code for us, I would recommend
>> avoiding Eclipse for Scala and Lift related development.
>
> Unsurprisingly I disagree.
>
> Bug reports and more contributions to documenta
Hi,
Has anyone made a typesafe JSON builder?
Many Javascript libraries provides support for extensive customization,
usually via a JSON object
(eg. http://www.jqplot.com/docs/files/optionsTutorial-txt.html#Options_Tutorial
It would be nice to generate this from Scala which would then give you
Naftoli Gugenhem writes:
> Completion works for me, when there are no basic syntax errors in the file
> (mismatched bracketd etc.).
> Also, I use lift without running maven from the command line. I create the
> project with m2eclipse, and I don't recall having to set M2_REPO.
>
The M2_REPO va
On Thu, Jul 9, 2009 at 11:44 PM, David
Pollak wrote:
>
> If it's still a problem, a reproducible example would be great!
It's not a showstopper, since I can workaround it by reading the User again:
def findMap[T](f: CustomCategory => Box[T]) : List[T] = {
Log.info("User %s, id=%s".format(Us
"marius d." writes:
> Please take a look on JsObj.
That's what I'm using now and it's a pain:
def generateOptions = JsObj(
("title", "My title"),
("series", JsArray(JsObj(("Label","MyLabel",
("seriesColors", JsArray("#00","#cc")),
("axes", JsObj(
DFectuoso writes:
> I dont know how liftAjax.js is generated, or if it changes or not,
> also I have no idea (if it regenerated) how it could be minified, and
> I know that minification seem like a micro-optimization but...
>
[...]
> So, analyzing a couple of lift apps with YSlow I find a coup
On Fri, Jul 10, 2009 at 10:35 AM, Jeppe Nejsum Madsen wrote:
> On Thu, Jul 9, 2009 at 11:44 PM, David
> Pollak wrote:
>>
>> If it's still a problem, a reproducible example would be great!
I've added some logging statements at various places. The statements
below
"marius d." writes:
> On Jul 10, 6:32 pm, David Pollak
> wrote:
>> On Fri, Jul 10, 2009 at 1:44 AM, Jeppe Nejsum Madsen wrote:
[...]
>> In all seriousness, one of the pieces of Goat Rodeo
>> (http://goatrodeo.organdGoat Rodeo will become part of Lift onc
Hi,
I understand (I think :-) the use of Option/Box to avoid the common
NPE. Also that map/for gives a nice way to conditionally do stuff with
something that can be Empty.
But sometimes the Box just have to be full and if it isn't, this is a
logic error that is better handled than silently ignor
TakeTheStage writes:
[...]
> Anyone have any experience with EC2 and Lift?
Yes. Works fine :-) But EC2 is just a virtual server, so you have to do
all system configuration yourself. You may want to look here for a
(albeit very simple) automated setup of a Lift helloworld app:
http://jeppenej
On Fri, Jul 10, 2009 at 8:12 PM, David
Pollak wrote:
> Okay... I just checked in a change to Lift that allows RequestVars to be
> reset once the session is known.
>
> Please do a build with the latest (if you're not building locally, please
> wait until Hudson finishes spinning the build) and let
Hi,
Just figured out that while JsObj generates valid javascript
expressions, it doesn't generate valid JSON objects since it uses
single quotes instead of double quotes for strings.
Is there another way in Lift to generate JSON?
/Jeppe
--~--~-~--~~~---~--~~
Yo
Jeppe Nejsum Madsen writes:
> Hi,
>
> Just figured out that while JsObj generates valid javascript
> expressions, it doesn't generate valid JSON objects since it uses
> single quotes instead of double quotes for strings.
>
> Is there another way in Lift to generate JS
David Pollak writes:
[...]
> So, there needed to be a mechanism for flushing cached RequestVars that are
> dependent on SessionVars when the session identifier changes. Thus, the
> new trait that signals to the RequestVar mechanism that a RequestVar is
> dependent on a SessionVar and needs to
Naftoli Gugenhem writes:
> Not speaking for anyone else, but currently what I would like most is
> information on lift's internals.
Me too :-) Don't know how stable this information will be though.
But in the larger scheme where, I believe, the goal is to attract people
to using Lift, I think
fbettag writes:
> Heyho,
>
> any ideas how i can parse data that was posted as JSON?
> For example:
> {foo: [{bar: 'shiz'}, {bar: 'baz']}
The above is not strictly JSON, but JSONParser.parse seems to handle
this as well:
scala> import net.liftweb.util._
import net.liftweb.util._
scala> JSONPa
On Wed, Jul 15, 2009 at 10:01 AM, fbettag wrote:
>
> Ok, i found out that the POSTed JSON was in S.params("results").first,
> which contains:
>
> Full(Map(name -> New Content, language -> en, content -> , id -> ext-
> record-1))
>
> So i tried this:
> for ((key, value) <- JSONParser.parse(S
On Wed, Jul 15, 2009 at 11:27 AM, fbettag wrote:
>
> Any variation i try gives me:
>
> (key, value) <- res
> value filter is not a member of Any
Ahh yes, JSONParser.parse returns Box[Any] since the result can be
either a list or a map. Still, you can do it like this
for (res <- S.params("results
David Pollak writes:
> You can use:
> Box.asA[Map[String, _]](in) which will return Full(in) if in is a
> Map[String, _] or Empty if it's not. This helps in for comprehensions.
Ah, didn't know that. Very nice!
/Jeppe
--~--~-~--~~~---~--~~
You received this mes
Hi,
It seems the latest Lift build on
http://hudson.scala-tools.org/job/Lift/ is 10 days old, same with the
jars in
http://scala-tools.org/repo-snapshots/net/liftweb/lift-webkit/1.1-SNAPSHOT/
Yet, many changes have been committed to github which I assume is the
master?
I didn't notice until I t
Jon writes:
[...]
> From what I've done this far, it seems I got the db.driver, db.url,
> db.user and db.password right, because I got an exception that said
> the user table could not be created.
The call to Schemifier.schemify in Boot.scala will try to create the
tables for you. If you hav
robin bakkerus writes:
> I get the error "illegal start of statement", in the following code:
>
> def handleYear(year: String) {
> ... the form's been submitted... do something
> }
>
> In the Show class as described on page 14 and 15
You need a "=" before the function bod
Hi,
I'm using adhoc queries and I'm running into a problem where the results
of aggregate functions get mapped to integers:
I have this
val (_,result) = DB.runQuery("SELECT AVG(vt.fuel_efficiency), vt.fuel_type,
vt.category FROM "+
"vehicles v JOIN vehicle_types vt ON v.v
David Pollak writes:
> On Wed, Jul 22, 2009 at 6:07 AM, Jeppe Nejsum Madsen wrote:
>
>>
>> Hi,
>>
>> I'm using adhoc queries and I'm running into a problem where the results
>> of aggregate functions get mapped to integers:
>>
>> I
David Pollak writes:
> Please open a ticket at http://github.com/dpp/liftweb/issues
Done.
At some point I got the impression (don't know why :-) that Lighthouse
was being used for tickets
(http://liftweb.lighthouseapp.com/projects/26102-lift/overview)
Is this unofficial, outdated or?
/Jeppe
"nielsbo...@gmail.com" writes:
[...]
> The only dependencies eclipse refers to is the standard scala library
> version(2.7.5.final) and all other dependencies from the pom file is
> not known by eclipse, hibernate, derby etc. This results in a project
> with a lot of compile errors and a pretty
Miles Sabin writes:
> On Wed, Jul 22, 2009 at 7:57 PM, Jeppe Nejsum Madsen wrote:
>> Is the M2_REPO classpath variable defined? Iirc, the maven generated
>> .classpath uses this. There's a mvn target to generate or just manually
>> create it to point to you
Jon writes:
> Hi,
>
> Is it possible to dump/log all SQL statements going to the database,
> so that one can see all the SELECTs, INSERTs etc.?
Look into DB.addLogFunc
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
"marius d." writes:
> I'm not sure if that logs the statements with the actual values. Does
> it ?
Strange, just tried it because I definitely remember seeing values
being logged, but turns out not all statements have values logged and it
seem just queries are logged.
/Jeppe
--~--~-~-
Jon writes:
> On Jul 23, 8:56 pm, Jeppe Nejsum Madsen wrote:
>> "marius d." writes:
>> > I'm not sure if that logs the statements with the actual values. Does
>> > it ?
>>
>> Strange, just tried it because I definitely remember seeing va
Hi,
I'm building our releases with Gradle (which uses Ivy for dependency
management) and this has been working fine until a few days ago
(Coincidentally, I think after Hudson was restarted which means that
before July 9th things were working fine)
Now it fails with this error:
io problem
Hi,
We're currently using Gradle to build our Lift app. I've used Gradle
previously on a Java project and really liked it. Unfortunately, it's
Scala support is just a patch against an older version, which doesn't
work with the latest releases.
So before I jump in and try to hack some Scala suppo
Timothy Perrett writes:
> Jeppe,
>
> I recently explored SBT and was really impressed by how far they have come -
> you can use it today, they have a lift example on their wiki.
How easy is it to do system automation stuff in SBT? I.e. create
archives, scp them somewhere, run remote ssh command
Jon writes:
> With Lift 1.0 and my tiny test app. against Oracle, and this:
> DB.addLogFunc ((q, t) => Log.info("Query("+t+"): "+q))
>
> ... I get this:
> INFO - Query(73): oracle.jdbc.driver.t4cpreparedstatem...@10b868
> INFO - Query(241): oracle.jdbc.driver.t4cpreparedstatem...@10b868
> INFO -
Hi,
I'm trying to use the jetty plugin for gradle (a Groovy build tool ala
buildr) and I'm getting the following error when loading the Lift app:
3:52:11.276 [main] ERROR org.mortbay.log - failed LiftFilter
java.lang.IllegalAccessError: tried to access method
org.apache.log4j.Logger.(Ljava/lang
Hi,
I'm using CRUDify, but all domain objects belong to an account, so I
need to add the current user's account id to the queries made by
CRUDIfy. This works fine for the list Loc:
override def findForListParams: List[QueryParam[Vehicle]] =
List(OrderBy(primaryKeyField, Ascending), By(acco
David Pollak writes:
> (1) Don't use open_! unless you have a very, very, very good reason to do
> so. It defeats the purpose of Box.
I'm aware of this. But in this situation, most Locs are protected, ie the
user is always logged in, so the only alternatives I see are:
1) wrap the code in map
glenn writes:
> I just got a type mismatch found error in LiftRules.early.append
> (makeUtf8) in Boot.scala.
>
> It's now looking for an net.liftweb.http.provider.HTTPRequest instead
> of a javax.servlet.http.HttpServletRequest.
>
> Is this a new change, and if so, where is the
> net.liftweb.htt
Hi
I'm a little confused about the meanings of dbDisplay_? and
dbIncludeInForm_? when using Mapper & CRUDify
How can I have a field that is
1) Not shown in the list view
2) Shown in the edit form
It seems that:
1) Setting dbDisplay_? = false hides the field from both list and
form. This works
Hi,
In trying to move to slf4j/logback I encountered an error when I removed
log4j from the cp:
09:53:50.297 [main] ERROR org.mortbay.log - failed LiftFilter
java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
at net.liftweb.util.LogBoot$.log4jIsConfigured$1(Log.scala:113)
[lift
Hi
I have a mapped object A with a foreign key to mapped object B.
I need to display the information (A+B) in a table. The not so smart way
is to first query on the As and then for each A, get the B. This
results in n+1 selects.
Is it possible to ask Mapper, when querying for the As, that it s
1 - 100 of 506 matches
Mail list logo