Where exactly is the code? I don't see anything about image resizing
here.
Thanks,
Strom
On Jan 15, 2:50 pm, Timothy Perrett wrote:
> I've added the code here:
>
> http://github.com/dpp/liftweb/tree/wip_tim_285
>
> Cheers, Tim
>
> On Jan 15, 8:52 pm, Ross Mellgren wrote:
>
> > This is already o
Would it make sense to have the ConnectionIdentifier play a role?
(Including DefaultConnectionIdentifier.)
Because, for me, the decision to use snake_case or camelCase depends
on the capabilities of the database. If I have an application with
multiple database connections, the decision for snake_
One thing that bugs me is how all the logging comes from one logger:
lift [Slf4jLogger.scala:110]
As a result, you don't have the granularity to adjust just
org.liftweb.http or org.liftweb.mapper, for example.
I liked your suggestion about adding a Logging trait:
http://groups.google.com/group/lif
Can you please rename the folder "read only" to read_only and give it
another try?
Cheers, Indrajit
On 28/01/10 12:24 PM, Jonathan Ferguson wrote:
Hi all,
I get the following error when attempting to build the lift source code.
[ERROR] Exception in thread "main" java.lang.NoClassDefFoundErro
Hi all,
I get the following error when attempting to build the lift source code.
[ERROR] Exception in thread "main" java.lang.NoClassDefFoundError:
"-DpackageLinkDefs=file:///Users/jono/Documents/workspace/read
only/liftweb/framework/lift-base/lift-common/target/packageLinkDefs/properties"
I've
Could some people take LiftTicket for a spin and comment? To clarify, it's
already pretty functional.
Here are some things not yet working or partially working, according to
Derek:
- File attachments
- Possibly user comments (changes are logged), may be just lack of UI
- Ticket changes ar
MetaMapper has a findAll method, which creates a statement based on its
parameters, and then iterates over the ResultSet creating Mappers and
putting them into a List.
It would be neat if it was possible to process the generated Mappers one by
one instead of loading them into a list. This way large
+1
On Wednesday, January 27, 2010, Jeppe Nejsum Madsen wrote:
> Hi,
>
> I was thinking about some improvements to Lift's logging code:
>
> 1) Make the slf4j logging configurable in the same way as log4j (ie with
> dev, prod logback files)
>
> 2) Add support for MDC to Lift's logging interface (an
Anyone?
On Tue, Jan 5, 2010 at 11:15 PM, Naftoli Gugenheim wrote:
> What does this message mean?
> Msgs: Default Error is not rendered as the default title is the empty
> string
>
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group,
Can you put a trace in that closure to see if 'user' has the correct value?
S.redirectTo("thank_you", () => {println(user); userVar(user);})
etc.
On Wed, Jan 27, 2010 at 11:51 PM, Jay Cain wrote:
> I think that this would work
>
> // Set up a requestVar to track the user object
> object user
I think that this would work
// Set up a requestVar to track the user object
object userVar extends RequestVar(new User())
S.redirectTo("thank_you", () => {userVar(user);})
but no bueno.
On Jan 27, 4:56 pm, Naftoli Gugenheim wrote:
> When you redirect you start a new request, so RequestVar
Thank you Naftoli and David for taking your time to help me.
On Jan 28, 9:55 am, Randinn wrote:
> No, I haven't, I'll research .asjs, thank you for the info.
>
> On Jan 28, 9:13 am, David Pollak
> wrote:
>
> > Have you looked at .asJs which will render your component as a JsExp?
>
> > If you're
On Wed, Jan 27, 2010 at 2:52 PM, Naftoli Gugenheim wrote:
> I didn't mean maven as opposed to other dependency management. I mean that
> Lift should use whichever jQuery is in the webapp, and let that be
> determined via maven etc.
>
I'm not sure what problem you're trying to solve, but you're ma
When you redirect you start a new request, so RequestVars are fresh.
redirectTo has an overload that take additionally a function to execute in the
new request. Set the RequestVar there.
-
Jay Cain wrote:
I am a newbie to Lift and Scala. I'm registering users
I am a newbie to Lift and Scala. I'm registering users and once they
have entered the information in successfully. I want to redirect to a
"thank_you" page that will display a snippet
thanks for joining Echo. The
confirmation
instructions for completing th
I generally have a mild preference toward pushing the latest and greatest--
especially on top of some other latest and greatest project. I think as long
as this change is loudly communicated via an announce and in the M2 release
notes, people should be ok.
Another change that comes to mind: De
No, I haven't, I'll research .asjs, thank you for the info.
On Jan 28, 9:13 am, David Pollak
wrote:
> Have you looked at .asJs which will render your component as a JsExp?
>
> If you're looking for bi-directional stuff, please
> seehttp://groups.google.com/group/liftweb/browse_thread/thread/80e8
I think that's a great idea.
alex
On Wed, Jan 27, 2010 at 2:03 PM, David Pollak wrote:
> It all sounds good to me as long as API breakage is minimal (or
> non-existent)
>
>
> On Wed, Jan 27, 2010 at 1:59 PM, Jeppe Nejsum Madsen wrote:
>
>> Hi,
>>
>> I was thinking about some improvements to Lif
I didn't mean maven as opposed to other dependency management. I mean that Lift
should use whichever jQuery is in the webapp, and let that be determined via
maven etc.
In other words, if there is a maven artifact for jQuery that can be used to put
the .js file in the war, then at run time Lift c
On Wed, Jan 27, 2010 at 2:42 PM, Naftoli Gugenheim wrote:
> I meant as an alternative to adding special API to set the jQuery version.
>
That'd be counter to the way Lift works. Configuration is done in Boot, not
at build time.
>
> -
> David Pollak wrote:
>
What does "I think so" mean? I asked you four very specific questions.
Mapper, like any ORM, is a way of holding data in objects that map to tables in
a database, and knows how to transfer both ways.
-
Randinn wrote:
I think so, the code on the paste site is t
I meant as an alternative to adding special API to set the jQuery version.
-
David Pollak wrote:
On Wed, Jan 27, 2010 at 11:00 AM, Naftoli Gugenheim wrote:
> Is there any way to get maven to decide? If there was some way to set
> JQuery as a dependency in the
On Wed, Jan 27, 2010 at 5:53 AM, Jeppe Nejsum Madsen wrote:
>
>
> On Jan 26, 8:04 pm, Jeppe Nejsum Madsen wrote:
>
> I'v implemented this:
>
> > In MapperRules add
> > var columnName: String => String = s => s.toLowerCase
> >
> > (and perhaps tableName, indexName etc. if we want full flexibilit
On Wed, Jan 27, 2010 at 11:00 AM, Naftoli Gugenheim wrote:
> Is there any way to get maven to decide? If there was some way to set
> JQuery as a dependency in the pom and have Lift locate it at runtime that
> may make the most sense, if such a thing is remotely possible. Indrajit, any
> comment?
>
Have you looked at .asJs which will render your component as a JsExp?
If you're looking for bi-directional stuff, please see
http://groups.google.com/group/liftweb/browse_thread/thread/80e8b2e871a2a8d4/2e30e7342689d147?#2e30e7342689d147
On Wed, Jan 27, 2010 at 11:23 AM, Randinn wrote:
> Well, I
I think so, the code on the paste site is the model and the snippit (I
have made some minor changes since I posted those), the trouble I'm
having is figuring out how to save it (to take it from the extracted
Json).
On Jan 28, 8:58 am, Naftoli Gugenheim wrote:
> Okay, so can you clarify a bit more
It all sounds good to me as long as API breakage is minimal (or
non-existent)
On Wed, Jan 27, 2010 at 1:59 PM, Jeppe Nejsum Madsen wrote:
> Hi,
>
> I was thinking about some improvements to Lift's logging code:
>
> 1) Make the slf4j logging configurable in the same way as log4j (ie with
> dev, pr
Hi,
I was thinking about some improvements to Lift's logging code:
1) Make the slf4j logging configurable in the same way as log4j (ie with
dev, prod logback files)
2) Add support for MDC to Lift's logging interface (and the log4j &
slf4j backends)
3) Add more logging to Lift :-)
The last part
Okay, so can you clarify a bit more? Do you have a mapper class with fields
defined? Do you know how to instantiate it? To set the value of its fields? To
save it (back) to the database?
-
Randinn wrote:
Yes, it seems so.
On Jan 28, 6:38 am, Naftoli Gugenhe
Yes, it seems so.
On Jan 28, 6:38 am, Naftoli Gugenheim wrote:
> So it's a mapper question?
>
> -
>
> Randinn wrote:
>
> Well, I have this snippit and model and need to figure out how to take
> the extracted information and paste it into the model. I was just
>
Folks,
Lift is currently building against Scala 2.8 Beta1 and currently runs the
examples/example app (the app that's at http://demo.liftweb.net). We have
disabled many of the tests during the automated build because as of last
night, not all the test frameworks (ScalaTest, Specs, and ScalaCheck)
On Wed, Jan 27, 2010 at 11:58 AM, Jeppe Nejsum Madsen wrote:
> Indrajit Raychaudhuri writes:
>
> > Some more awesomeness - 280_port_refresh of Lift has moved to
> > Scala-2.8.0.Beta1.
> >
> > Cheers, Indrajit
>
>
> Awesome. How much is supported?
Right now, nothing... I'm working on fixing some
Indrajit Raychaudhuri writes:
> Some more awesomeness - 280_port_refresh of Lift has moved to
> Scala-2.8.0.Beta1.
>
> Cheers, Indrajit
Awesome. How much is supported? Someone running anything substantial on
2.8 yet? I really (really!) want to ditch the 2.7 Eclipse plugin for
2.8
/Jeppe
Naftoli Gugenheim writes:
> Is there any way to get maven to decide? If there was some way to set JQuery
> as a dependency in the pom and have Lift locate it at runtime that may make
> the most sense, if such a thing is remotely possible. Indrajit, any comment?
I don't think this is optimal fo
So it's a mapper question?
-
Randinn wrote:
Well, I have this snippit and model and need to figure out how to take
the extracted information and paste it into the model. I was just
looking for some example code to discern how to do it.
http://paste.pocoo.org/s
Well, I have this snippit and model and need to figure out how to take
the extracted information and paste it into the model. I was just
looking for some example code to discern how to do it.
http://paste.pocoo.org/show/165511/
http://paste.pocoo.org/show/165532/
On Jan 28, 6:10 am, Naftoli Guge
Do you have a question about lift-json per se, or lift-mapper per se? Or do you
want to know whether there is some built in integration?
-
Randinn wrote:
Does anyone know of some sample code that shows Json extract with a
mapper model?
--
You received this m
Does anyone know of some sample code that shows Json extract with a
mapper model?
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to
liftweb+unsub
Is there any way to get maven to decide? If there was some way to set JQuery as
a dependency in the pom and have Lift locate it at runtime that may make the
most sense, if such a thing is remotely possible. Indrajit, any comment?
-
Jonathan Hoffman wrote:
I t
I think that makes sense.How is this-- should we leave the default to 1.3.2
for now?
object JQueryVersions extends Enumeration("1.3.2", "1.4.1") {
val v132, v141 = Value
}
@volatile var jQueryVersion: JQueryVersions.Value = JQueryVersions.v132
On Jan 27, 2010, at 11:39 AM,
On Wed, Jan 27, 2010 at 9:32 AM, Indrajit Raychaudhuri
wrote:
> Some more awesomeness - 280_port_refresh of Lift has moved to
> Scala-2.8.0.Beta1.
>
Booo YA!
>
> Cheers, Indrajit
>
>
> On Jan 26, 12:17 am, David Pollak
> wrote:
> > On Sun, Jan 24, 2010 at 2:18 PM, Heiko Seeberger <
> >
>
Some more awesomeness - 280_port_refresh of Lift has moved to
Scala-2.8.0.Beta1.
Cheers, Indrajit
On Jan 26, 12:17 am, David Pollak
wrote:
> On Sun, Jan 24, 2010 at 2:18 PM, Heiko Seeberger <
>
> heiko.seeber...@googlemail.com> wrote:
> > Awesome!
>
> Super Ultra Mega Awesome! :-)
>
>
>
>
>
>
>
Thanks Jon.
On Jan 27, 5:19 pm, Jonathan Hoffman wrote:
> Hi Indrajit,
>
> I think you're right. I didn't notice at first, but there are documented
> breaking changes in jQuery 1.4 which are outlined
> here:http://jquery14.com/day-01/jquery-14#backwards
>
> Marius, there's also a backward comp
Do we want to include both and have a switch in LiftRules or somesuch?
On Wed, Jan 27, 2010 at 7:19 AM, Jonathan Hoffman wrote:
> Hi Indrajit,
>
> I think you're right. I didn't notice at first, but there are documented
> breaking changes in jQuery 1.4 which are outlined here:
> http://jquery14.
I'd strongly encourage you to do it. I was planning to work on it but
I never seem to find slots for it :(
If you run into some problems especially related with provider API
please let me know.
Br's,
Marius
On Jan 27, 2:54 pm, nick wrote:
> I'm just about to try and do a Netty integration, whic
Hi Indrajit,
I think you're right. I didn't notice at first, but there are documented
breaking changes in jQuery 1.4 which are outlined here:
http://jquery14.com/day-01/jquery-14#backwards
Marius, there's also a backward compatibility plugin(see above link) that might
address the jstree issue
On Jan 26, 8:04 pm, Jeppe Nejsum Madsen wrote:
I'v implemented this:
> In MapperRules add
> var columnName: String => String = s => s.toLowerCase
>
> (and perhaps tableName, indexName etc. if we want full flexibility)
>
> - name: object name unchanged (ie not lower cased)
> - dbColumnName: d
Hmm, I think this jQuery update should be sent as a separate
announcement. As this change that can create create ripple in an
application and qualifies as a 'potentially' breaking change.
Cheers, Indrajit
On 27/01/10 6:16 PM, Marius wrote:
This broke my app ... with flying colors :D
But it's
I'm just about to try and do a Netty integration, which I might be
able to contribute back.
Searching the group I deduce that this is possible but hasn't been
done yet.
Before I start I thought I'd just post to check that someone else
isn't doing this already.
--
You received this message becau
This broke my app ... with flying colors :D
But it's not really Lift or jquery's fault. I'm using jstree plugin
http://www.jstree.com/ and it doesn't seem to work properly with
jquery 1.4.
No biggies as I reverted to jquery 1.3.2. but others may hit this as
well.
Br's,
Marius
On Jan 26, 9:03 pm
Hello,
> Instead of building your Loc inline in the SiteMap declaration and
> using findLoc, simply declare the loc as a val (with the appropriate
> type parameter) in Boot or a similar object of your choosing.
yes, that looks quite nice, although I'm just using User.sitemap for now :).
But loo
Hello,
> What's the purpose of RequestVars and StatefulSnippet? I thought the
> values were retained anyway through POST. That is, on submit, the
> functions "desc = _" and "amount = _" were executed and the so the
> state was kept...
>
> Are those functions only executed after the bind is comple
Hello,
> If you need a String:
>
> (for {
> loc <- SiteMap.findLoc("Login")
> path <- loc.createDefaultPath
> } yield path.text) openOr "/"
>
right, I could just convert it to text. That works, thanks :).
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
--
You receive
53 matches
Mail list logo