Hi,
In boot I have
LiftRules.ajaxStart =
Full(() => LiftRules.jsArtifacts.show("ajax-loader").cmd)
LiftRules.ajaxEnd =
Full(() => LiftRules.jsArtifacts.hide("ajax-loader").cmd)
which I would think should show a spinning wheel during ajax
requests.
But it doesn't seem to work fo
On Tue, Oct 27, 2009 at 10:59 PM, Jeppe Nejsum Madsen wrote:
> David Pollak writes:
>
>> What's the JavaScript to force the correct item to be selected? I think we
>> could append the JavaScript to the ajaxSelectObj to force the right thing to
>> happen.
&
Hi,
It seems the *.scala files are missing from some of the
1.1-SNAPSHOT-sources.jars. But not all of them:
lift-webkit & lift-mapper only has the resource files
lift-util looks ok
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribe
Derek Chen-Becker writes:
> OK, I just pushed the initial revision of my model to GitHub at
> http://github.com/dchenbecker/LiftTicket. I think that this covers most of
> the features that Marius discussed in his response. I agree with all of it,
> although I'm not 100% sure about having both a
David Pollak writes:
> What's the JavaScript to force the correct item to be selected? I think we
> could append the JavaScript to the ajaxSelectObj to force the right thing to
> happen.
For jQuery, something like $("#dropdown").val(2); should work. But the
issue is that it should (ideally) on
Hi,
When using ajaxSelectObj and I have the currently selected object in a
SessionVar and refreshes the page, the selected object is not selected
in the browser after the page refresh, even if the generated html has
the correct selected="selected" option.
This only happens on Firefox (OS X), not
bob writes:
> "Listing 2.7: The Embedded Expense Table" in the LiftBook.pdf, page
> 19, has a great example of generating individual rows of a table.
>
> But lets say you wanted to generate the columns in the table, as well
> as the rows.
>
> is there a good example of how to do this in a templa
David Pollak writes:
> On Mon, Oct 26, 2009 at 9:52 AM, Jeppe Nejsum Madsen wrote:
>
>>
>> David Pollak writes:
>>
>> > The ajax rendering is not done in the same SiteMap context as the full
>> page
>> > request, so the page-specific
David Pollak writes:
> The ajax rendering is not done in the same SiteMap context as the full page
> request, so the page-specific snippets are not being accessed. This is an
> interesting problem and deserves a ticket. I'll capture the current custom
> snippet context when ajax requests for a
Hi,
I'm using the same rewriting code as in CRUDify, so that URLs like
tender/results/2
show a result page for the tender with id 2. This page contains lots of
snippets, defined (as in CRUDify) within a SnippetTest partial function.
The page renders fine when hit for the first time. The user c
David Pollak writes:
> Please make sure your lift-core_zh_CN.properties was saved as UTF-8
Unless, lift does it's own property loading, property files need to be
in ISO-8859:
"When saving properties to a stream or loading them from a stream, the
ISO 8859-1 character encoding is used. For chara
David Pollak writes:
> A quick list of public sites (there are a fair number behind the firewall at
> places like SAP and Seimens):
>
>- http://foursquare.com
>- http://nofouls.com/
>- http://innovationgames.ocm
>- http://udorse.com/
I can add http://fleetdna.com :-) Not that in
Derek Chen-Becker writes:
[...]
> It's entirely subjective, but I just strongly dislike the idea of
> using method names like jtNow, etc.
I couldn't agree morecode just doesn't read nice anymore.
/Jeppe
--~--~-~--~~~---~--~~
You received this message be
Timothy Perrett writes:
> Ah. In that case, does this help:
>
> Menu(Loc("Some", List("some","page"), "Some",
>EarlyResponse(() => {
> // do some response here,
> // return Empty if you dont want
> // a response but a filter style
> // intercept.
Chris Lewis writes:
> Hi list,
>
> I'm working on an appengine app, and need to store some user
> information. I authenticate the user with their google account, and I
> need to create their "local" entity only if it's their first time
> logging in.
>
> When a user logs in via google, they ar
aw writes:
> I am using SLF4J logging, but I am not sure if I am doing it the
> "right" way...
>
> I have pointed Lift to use SLF4J, and I call the enable routine and
> have updated dependencies. All of that seems fine.
>
> My question is around, how do my classes best use it... For example,
>
ons are
acquired (I could get the same connection on two different requests),
but this turned out (I think) to be problems with the connection
manager: http://github.com/dpp/liftweb/issues#issue/124
> On Thu, Oct 22, 2009 at 8:54 AM, Jeppe Nejsum Madsen
> wrote:
>>
>> Hi,
>>
&
Hi,
I posted this in another thread, but it may have been lost in the noise
(or no one cared :-)
Anyway, I have S.addAround(DB.buildLoanWrapper) in boot, which I assumed
would wrap each request with a transaction and thus use the same
connection for the duration of the request?
I've added some
David Pollak writes:
> On Wed, Oct 21, 2009 at 10:27 PM, Rahul Somasunderam
> wrote:
>
>>
>> I followed the guide here:
>>
>> http://liftweb.net/docs/getting_started/mod_master.html>
>> I'm unable to add the model ToDo.
>>
>> When I try to add it, I get a compilation failure:
>> Description
David Pollak writes:
> On Wed, Oct 21, 2009 at 4:10 AM, Jeppe Nejsum Madsen wrote:
>
>>
>> Timothy Perrett writes:
>>
>> > Neil,
>> >
>> > Record is not yet the default - please use mapper unless you want a
>> > custom backend for
Timothy Perrett writes:
> Neil,
>
> Record is not yet the default - please use mapper unless you want a
> custom backend for some other (non-rdbms) service.
Any timeframe for the rdbms backend?
/Jeppe
--~--~-~--~~~---~--~~
You received this message because y
On Tue, Oct 20, 2009 at 10:34 AM, Jeppe Nejsum Madsen wrote:
> David Pollak writes:
>
>> At least the most recent version of Boot.scala has reasonable testing of
>> connection validity:
>>
>> case x :: xs => try {
>> x.setAutoCommit(false)
David Pollak writes:
> At least the most recent version of Boot.scala has reasonable testing of
> connection validity:
>
> case x :: xs => try {
> x.setAutoCommit(false)
> Full(x)
> } catch {
> case e => try {
> pool = xs
> poolSi
David Pollak writes:
> At least the most recent version of Boot.scala has reasonable testing of
> connection validity:
>
> case x :: xs => try {
> x.setAutoCommit(false)
> Full(x)
> } catch {
> case e => try {
> pool = xs
> poolSi
Hi,
We ran into an issue today. Basically, our postgres volume went into
readonly mode, making database access...hmmm lets say less than perfect
:-)
We quickly revived the db server, but this surfaced a problem which I
think is in the default connection pool of the generated Lift archetypes
(whi
harryh writes:
> I want users to stay logged into my site for extended periods of time
> (through server restarts, and browser restarts). By default Lift
> stores a User in a SessionVar so this doesn't get me there. I've
> configured jetty so the session cookie doesn't time out for 30 days,
>
Derek Chen-Becker writes:
> That's pretty much my take. The whole Java Calendar/Date/Timezone impl is
> poorly designed, hence Joda Time.
> Now I've run into another wall, this time with the TimeSpanBuilder. I can't
> mask the implicits from long/int to TimeSpanBuilder, so I can't define the
On Thu, Oct 15, 2009 at 9:14 PM, Naftoli Gugenheim wrote:
>
> Have you made any progress?
>
Sorry for the late reply. No, I've been sidetracked, but hope to look
into it this week
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscrib
On Thu, Oct 15, 2009 at 5:05 PM, David Pollak
wrote:
[...]
>> I would think that this could have a better default value, e.g. the same
>> of the mapped field for instance
>
> Yep. Please open a ticket.
Done. http://github.com/dpp/liftweb/issues/#issue/106
/Jeppe
--~--~-~--~~-
sunanda writes:
> Hi David,
> Thanks for your reply.
> I need to find out the fieldnames that causes the error from the list
> of FieldErrors resulted from the validation.
> But I find all the FieldIdentifier names as "Empty".
Looking at the code for e.g. MappedInt, it seems like it is not b
Naftoli Gugenheim writes:
> What are you trying to do? Store a computed value in a database
> column?
No
> Or have a fake MappedInt in your model whose value is not stored but
> calculated?
Precisely. I think it would be nice to utilize the mapper machinery to
display the data
> Does i
Hi,
I'm trying to create a mapped object that has some calculated values,
where the values are based on actual values in the mapped object.
I.e
class Tender extends LongKeyedMapper[Tender] with IdPK with OwnedEntity {
def getSingleton = Tender
object start extends MappedDate(this)
obje
Hi,
Just wanted to update to the new db logging by adding the following to
boot:
DB.addLogFunc {
case (query:DBLog, time) => {
LogBoot.loggerByName("query").info(">>> All queries took " + time +
"ms: ")
query.statementEntries.foreach({ case DBLogEntry(stmt, duration) =>
Dave writes:
[...]
> Specifically, since both of my user types extend MegaProtoUser, I end
> up with loggedIn_? function that tells if some user is logged in, but
> is confused about which. So if a user of type 1 logs in and I call
> UserType2.loggedIn_?, it will also return true. Is there a
"marius d." writes:
> First of all I'm not reinventing anything. I don't think that If
> LocParam semantic is giving you the hidden functionality as well.
I haven't checked closely, but the scaladoc seem to indicate that it
does. And in my own menu snippets (which is based on the original menu
On Thu, Oct 8, 2009 at 6:26 PM, Heiko Seeberger
wrote:
> Try LiftRules.formatDate and LiftRules.parseDate
Yes, I'm aware of these and together with localeCalculator they can be
made to work.
For numbers, I've created http://github.com/dpp/liftweb/issues/#issue/92
/Jeppe
--~--~-~--~---
Derek Chen-Becker writes:
> I'm planning on making the formatting easier to configure and also to move
> the Mapper stuff to Joda Time. I know I keep saying this but I hope to start
> working on this next week :P
Awesome!
/Jeppe
--~--~-~--~~~---~--~~
You receiv
Hi,
While lift's basic support for i18n in templates etc is wonderful, I
feel it is somewhat.hmmm lacking when it comes to form handling.
I'm using mapper based forms and, at least to me, it seems like there's
no obvious way (other than roll my own) to do i18n form display/parsing
(ie. curre
Dirk Louwers writes:
> Cheers,
>
> I've finished the translation. Who do I send the file to for
> integration and how can I have Lift pick it up in the meanwhile?
You can place the file in src/main/resources/i18n and set the locale
using LiftRules.localeCalculator
/Jeppe
--~--~-~--~-
Dirk Louwers writes:
>
> If it would be at all usefull I'd be happy to share the code.
Please do. I'll eventually have to support different locales at some
point
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Heiko Seeberger writes:
> Hi,
> It is not possible to localize or override the display names for
> (Mega)ProtoUser's first name, last name and time zone. This is because it is
> determined by ??("First Name") and analogous, with "First Name" (with a
> blank) not a valid key for a PropertyResourc
Dirk Louwers writes:
> Hi,
>
> After having toyed around with Scala and recently Lift for a few weeks
> I have a question. To avoid jumping to conclusions let me first
> explain what I am trying to achieve:
>
> I am not happy with the way MappedDateTime parses strings and formats
> dates by defa
Derek Chen-Becker writes:
> Changing the logging has to come at the very beginning of the boot method.
> I'm using slf4j in a 1.0.2 project and it's working fine. The very first
> line of my boot method is:
>
> LogBoot.loggerSetup = () => true
>
> which basically disables Lift setting up any log
harryh writes:
>> Are they essentially two independent apps in terms of templates and
>> snippets?
>
> Yes. Though they share the same model (+ some random extra library
> code).
>
>> That seems like you just want a virtual host via nginx or some
>> other web server.
>
> I could go that route.
Christopher Mason writes:
> Is log4j a hard dependency to break? It seems like you're using slf4j
> most places, but then have some hard deps for configuration. I'm
> using logback. How hard would it be for me to remove the log4j dep
> and replace with slf4j/logback. (I have logback already
Peter Robinett writes:
> Hi all, I'm getting the following error and I think I'm missing
> something very simple:
> error: type mismatch;
> found : List[net.liftweb.http.js.JsExp]
> required: net.liftweb.http.js.JsExp
> JsonResponse(JsObj("results" -> JsArray(packets.map(_.asJs
>
>
Hi,
I need to create some master/detail crud screens and was thinking if the
existing CRUDify trait can be massaged into doing the right thing.
Basically, when navigating to e.g. orders/edit/1 I'm editing order with
id 1. On this screen I need to list order lines for this order,
ie. order/1/orde
ben writes:
> Jeppe : Yes, thats what I was after. It seems like a lot of work to
> map a list of objects (compared to other ORMs), but I'm willing to
> give it a go.
> Shame really, as I've got used to writing less code lately with
> Scala !
>
> Problem is, LongMappedForeignMapper seems to be o
harryh writes:
>> But I cannot for the life of me work out of to store a list of objects
>
> What do you expect the underlying type in the database table to be?
> Normally this would be done with a separate table with a foreign key
> (MappedLongForeignKey) back to the users table.
I think what
ben writes:
> If I was in Java/Hibernate mode, I guess I'd tag it as one-to-many and
> have a "Skill" object, which maps back to the "Person" object via a
> key ... just not sure how to do that with Lift's OR mapper. I keep
> having mental blocks when it comes to lift & scala :(
>
> I guess if
Heiko Seeberger writes:
> Jeppe,
>
> If you are not using Maven, you certainly have to provide any
> information your build system needs. But why would you want to bother
> about the POMs then? They are Maven-specific and of no interest for
> other build systems. Or am I missing something?
Many
Heiko Seeberger writes:
>> One comment re the scala versions: I don't know about maven, but for
>> other build systems, I don't think this completely solves the problem.
>>
>
> Indrajit was talking about Maven and how to improve the POMs (project
> description files which amongst many other info
Indrajit Raychaudhuri writes:
> Moved over to main Lift list. Folks, for better handle on the context,
> please have a quick run through of the original message before coming to
> David's comments and my responses.
>
> Thanks, Indrajit
Looks like a bunch of work, but I really like the propose
Marcin Mielżyński writes:
> I'm playing around with CRUDify and to some extent it is flexible.
> However, requirements for more flexibility made me extend the CRUDify,
> but finally I ended up having all the impl on my own.
I think I'm in the same boat :-) The only part I've really looked int
David Pollak writes:
> I've added code (it's in review board right now) that will automatically
> farm any snippet with the "do:lazy='true'" attribute set.
>
> So, will execute the foo snippet inline.
>
> will execute the foo snippet in parallel and join
> the result back to page before its re
harryh writes:
> I would love to add comments to my templates:
>
>
>
> that got stripped out before being served to end users.
A few thoughts:
- Would also be nice if all excessive white space were stripped from
the output (not sure how much this matters if it's gzip'ed)
- In dev mode, I t
David Pollak writes:
> Gakkk... I'm not sure it can be done. You're welcome to try different
> combinations of abstract override, etc. in the traits and see if you can
> come up with an elegant or at least workable solution.
I'm creating my own crudify anyway, so I'll just take the easy way ou
Hi,
For my User singleton object I would like to mixin both MegaProtoUser
(to get self-service editing capabilities) as well as CRUDify (to get
admin editing capabilities).
Problem is, they both contain an editPath val. Is there any other option
than pulling in either trait into my app and rena
tiro writes:
> Jeppe> We've made primary/secondary navigation where primary
> navigation is ...
>
> I did something similar..found it difficult to work with the default
> snippets.
> But found it hard, when writing my own group snippet, to identify the
> current Loc within the LocGroups Locs.
I
David Pollak writes:
> http://localhost:8080/assets/edit/5817, an anonymous
>> user is not redirected to the login page (at least, not before
>> findForParam is called)
>>
>> Any clues?
>>
>
> SiteMap is applied after URL rewriting. URL rewriting happens very, very
> early in the HTTP service
Hi,
I have the following in Boot
val menuDispatch:List[PartialFunction[Box[Req], Loc.LocParam]] = List({
case Full(Req(path, _, _)) if !User.loggedIn_? &&
path != List("profile","login") && path != List("profile",
"lost_password") =>
Loc.EarlyResponse(() =>
Full(Redi
caw1461 writes:
> I'm working on a UI for a project and we are looking at the jquery
> tabs. Currently we just have a plain menu builder site map. we are
> thinking that a good way to create our UI is to somehow link the site
> builder with the Tabs such that each tab holds a different link fr
XiaomingZheng 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" and "/" dirs are classpath locations. When building maven will, by
default, take everything in th
XiaomingZheng writes:
> 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~~
If you're using the default layout, it should go in
myapp/src
Derek Chen-Becker writes:
> Of course, now that I'm actually digging into the code, it really makes me
> want to switch to using Joda Time :).
Yes, yes, yes!! Seriously, I've been thinking about this myself,
creating subclasses for all classes using Date. It would be awesome if
Lift would use J
harryh writes:
>> http://github.com/dpp/liftweb/commit/58c5463d44948a48dd2fa62bf9d14960...
>
> Any idea how long it will be until this is in a non snapshot build? I
> guess I just missed the M5 release. I'm a little scared of pushing
> production code based on 1.1-SNAPSHOT. Anyone out there do
Derek Chen-Becker writes:
> OK, maybe I misread Naftoli's email but it sounded like he didn't want
> global parsers, e.g. a per-field parser.
Re-reading his email I think you're right :-) But that should be solved
with your solution where you can override the format on a per field
basis
>
Derek Chen-Becker writes:
> OK, this is different than the code I originally wrote. In 1.0.1 it's this:
>
> http://github.com/dpp/liftweb/blob/aec338c97648ea700de7a14b495b8be6b374153b/lift-mapper/src/main/scala/net/liftweb/mapper/MappedDate.scala
>
> I'm not sure who made that change, but I thin
Timothy Perrett writes:
> David,
>
> Im reading this, understanding it, and thinking that it would be great
> if it could be written up into a wiki article explaining all the stuff
> you added in your recent commits (there appear to be a bunch of files
> and i've not yet looked at the impl
Jean-Luc writes:
> David,
>
> this setting is database specific, I suppose you want to make it
> configurable for both "open" quote and "end" quote.
JDBC has getIdentifierQuoteString, not sure how well supported this is
in the various drivers.
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/
Derek Chen-Becker writes:
> It should be working currently with more than Strings. The definition of
> setFromAny is:
>
> override def setFromAny(f : Any): Date = toDate(f).map(d =>
> this.set(d)).openOr(this.is)
This, I think, is from MappedTime. MappedDate (& MappedDateTime) is:
override def
Hi,
Is there a reason why MappedDate.setFromAny only works with Strings?
It would seem natural to also accept Date, Calendar and maybe long (in
ms)??
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift"
Hi,
Seems like it's been 5 days without a build, but there has been plenty
of action on github.
But looking at the maven repo it looks like there has been a snapshot
release on sep 7 Is this a manual build or is this no longer the
build server for lift: http://hudson.scala-tools.org/job/
Chris Lewis writes:
> How can it be tested with different implementations? I change the trait
> being extended when I run tests, then change back for deployment (that
> is, change the actual source)? A spring context isn't compiled into the
> code, so I can simply change the context being us
Chris Lewis writes:
> Take a payment service example. I start off with PayPal and some
> months later I switch my processor to CyberSource. I don't want to tie
> the snippet to a specific processor, so my mind, transposing java,
> says to write a payment service interface and implementation (of
David Pollak writes:
> Okay... you've pushed me over the edge... I'll roll out the first bit of
> Wizard today... ;-)
Nice! Let me know if you need someone to test it out :-)
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Hi,
I'm writing a wizard to be used for data import into our app. The data
files are not huge, but large enough (1-5mb) that I shouldn't hold on to
them longer than necessary :-)
Basically the wizard has a few steps:
1) Select the file
2) Show results of parsing the file, errors, warnings etc
3
David Pollak writes:
> Chris,
>
> I agree with Marius' comments. By using Scala's functions and partial
> functions, I have not found any need for Dependency Injection or many of the
> other Java limitation workaround patterns.
>
> Snippets are not associated in any way with persistence. Snipp
Artem writes:
> The problem is that this Google Group is not user friendly and not
> organized. I think it will be better to have a user friendly forum
> where everything is organized according to its category and easily
> accessible.
Probably depends on your definition of user friendly. Pers
Chris Lewis writes:
> I am specifically talking about decoupling my web logic, ie, event
> handlers for forms in lift snippets, from the persistence layer. As
> currently implemented, snippets know exactly what persistence mechanism
> is in use because there is no intermediary API.
Chris, I
David Pollak writes:
> I've just pushed a new version live that will behave more gracefully if the
> xsd cannot be loaded.
I haven't looked at the new validation code, but if it fetches the DTD
directly from the URL, we might consider using a local copy for a number
of reasons:
1) It doesn't c
Hi,
I'm using POJT (plain old JDBC transactions :-) with a single db. I
would like to:
1) Manually rollback changes if some validations fail
2) Have the tx rolled back if an error happens
I think 1) can be achieved by DB.rollback(DefaultConnectionIdentifier),
but in general, how do I get the cu
jack writes:
> Of course I could use a POST instead of a GET but my question was
> really about how to process a form value in a snippet, before the form
> is submitted. This way I can encrypt the password before it is sent in
> the body of the post, over the wire.
Snippets are server side code
Derek Chen-Becker writes:
> OK, the fix has been pushed to 1.0.1-SNAPSHOT and it's in master
> (1.1-SNAPSHOT).
>
> Derek
Excellent! Thanks
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To
ure out the correct type
declaration in MetaMapper to make this happen :-)
/Jeppe
>
> On Aug 24, 5:31 am, Jeppe Nejsum Madsen wrote:
>> Hi,
>>
>> I'm trying to create some mixins to be applied to mapper/metamapper
>> objects to be used when objects are always owned by an
Hi,
I'm trying to create some mixins to be applied to mapper/metamapper
objects to be used when objects are always owned by an account
(ie. a multi tenant db)
The mapper parts works fine:
trait OwnedEntity {
self: BaseMapper =>
object account extends MappedLongForeignKey(this.asInstanceOf[
On Wed, Aug 19, 2009 at 6:26 PM, David
Pollak wrote:
>
> On Wed, Aug 19, 2009 at 5:44 AM, Jeppe Nejsum Madsen
> wrote:
>>
>> Hi,
>>
>> When living on the bleeding edge (i.e. 1.1-SNAPSHOT) it is sometimes
>> difficult to figure out which
Derek Chen-Becker writes:
> It should be very safe to use 1.0.1-SNAPSHOT. I'm planning on spinning the
> release of 1.0.1 GA next Wednesday, so we're in a code freeze starting
> Sunday. Really, the 1.0 line is strictly bug-fix at this point (1.1-SNAPSHOT
> is where new features make it in). So f
David Pollak writes:
> On Mon, Aug 17, 2009 at 7:40 AM, Jeppe Nejsum Madsen wrote:
>
>>
>> Hi,
>>
>> In my data model I have:
>>
>> contractStart extends MappedDate
>> contractLength extends MappedInt
>>
>> In some views I would li
David Pollak writes:
[...]
> What method is generating the list?
As I write I'm using CRUDify to generate both the list and edit form:
In CRUDify.crudDoForm the list of fields to show on the edit form is
generated by flatMapFieldTitleForm which boils down to:
def formFields(toMap: A): List[M
On Thu, Aug 20, 2009 at 7:53 PM, Naftoli Gugenheim wrote:
>
> Now you do see it?
I do now after I cleaned my .m2 directory and refreshed Eclipses' view
of the worldstrange
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
David Pollak writes:
[...]
>> On a related note, why aren't many of the methods/fields in TypedField
>> in BaseMappedField instead?
>
>
> There are only two methods in TypedField and they are both dependent on the
> FieldType parameter:
Sorry, I meant MappedField instead of TypedField
>
> I'
Hi,
When living on the bleeding edge (i.e. 1.1-SNAPSHOT) it is sometimes
difficult to figure out which version of lift is in use and deployed.
LiftRules.liftVersion only returns 1-1.0-SNAPSHOT.
I could probably try to correlate liftBuildDate with hudson and github but
this seem error prone :-)
Seems I missed this responsemore comments below
On Wed, Aug 12, 2009 at 8:49 PM, David
Pollak wrote:
>
>
> On Mon, Aug 10, 2009 at 9:07 AM, Jeppe Nejsum Madsen
> wrote:
>>
>> David Pollak writes:
>>
>> > (1) Don't use open_! unless you have a ver
David Pollak writes:
> On Tue, Aug 18, 2009 at 3:24 PM, harryh wrote:
>
>>
>> > Because making things line up name-wise for joins (especially when you're
>> > joining to the same table) is a lot more difficult. All RDBMS except
>> MySQL
>> > will optimize both inner queries and joins the same
On Tue, Aug 18, 2009 at 7:46 PM, David
Pollak wrote:
>
>
> On Tue, Aug 18, 2009 at 12:32 AM, Jeppe Nejsum Madsen
> wrote:
>>
>> On Thu, Aug 13, 2009 at 5:12 PM, Derek Chen-Becker
>> wrote:
>> > You should be able to use the PreCache QueryParam to tell Map
On Tue, Aug 18, 2009 at 8:58 PM, David
Pollak wrote:
> You can control this via the newly added LiftRules:
Sweet, just what the doctor ordered...thanks
/Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift"
Hi,
I'm trying to change the date format used by MappedDate for
display/input, but the only way I can see that works is to create a new
class that overrides setFromAny, _toForm & toString.
It looks like the format for output is hardcoded to
internetDateFormatter and input can be either
SimpleDat
On Thu, Aug 13, 2009 at 5:12 PM, Derek Chen-Becker wrote:
> You should be able to use the PreCache QueryParam to tell Mapper to
> pre-fetch the mapped object:
>
> http://scala-tools.org/scaladocs/liftweb/1.0/net/liftweb/mapper/PreCache.html
Ok, time for a bonus question: Can this be extended to m
Hi,
In my data model I have:
contractStart extends MappedDate
contractLength extends MappedInt
In some views I would like to show contractEnd which is
contractStart+contractEnd.
It would be nice if I could reuse all the mapper functionality for
converting to html/json/forms etc, but I can't s
301 - 400 of 506 matches
Mail list logo