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 received this
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 complete? There
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
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
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
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
On Jan 26, 8:04 pm, Jeppe Nejsum Madsen je...@ingolfs.dk 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)
-
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
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 n...@glynnreeves.plus.com wrote:
I'm just about to try and do
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 jonhoff...@gmail.comwrote:
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:
Thanks Jon.
On Jan 27, 5:19 pm, Jonathan Hoffman jonhoff...@gmail.com 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
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 feeder.of.the.be...@gmail.com
wrote:
On Sun, Jan 24, 2010 at 2:18 PM, Heiko Seeberger
heiko.seeber...@googlemail.com wrote:
Awesome!
Super Ultra Mega
On Wed, Jan 27, 2010 at 9:32 AM, Indrajit Raychaudhuri
indraj...@gmail.comwrote:
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 feeder.of.the.be...@gmail.com
wrote:
On Sun, Jan 24,
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,
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
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
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?
-
Randinnrand...@gmail.com wrote:
Does anyone know of some sample code that shows Json extract with a
mapper model?
--
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
So it's a mapper question?
-
Randinnrand...@gmail.com 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.
Naftoli Gugenheim naftoli...@gmail.com 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
Indrajit Raychaudhuri indraj...@gmail.com 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
On Wed, Jan 27, 2010 at 11:58 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Indrajit Raychaudhuri indraj...@gmail.com 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
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
Yes, it seems so.
On Jan 28, 6:38 am, Naftoli Gugenheim naftoli...@gmail.com wrote:
So it's a mapper question?
-
Randinnrand...@gmail.com wrote:
Well, I have this snippit and model and need to figure out how to take
the extracted information and paste
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?
-
Randinnrand...@gmail.com wrote:
Yes, it seems so.
On Jan 28, 6:38
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
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 je...@ingolfs.dkwrote:
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
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 naftoli...@gmail.com wrote:
Okay, so can
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 rand...@gmail.com
On Wed, Jan 27, 2010 at 11:00 AM, Naftoli Gugenheim naftoli...@gmail.comwrote:
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.
On Wed, Jan 27, 2010 at 5:53 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
On Jan 26, 8:04 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
I'v implemented this:
In MapperRules add
var columnName: String = String = s = s.toLowerCase
(and perhaps tableName, indexName etc. if we
I meant as an alternative to adding special API to set the jQuery version.
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Wed, Jan 27, 2010 at 11:00 AM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Is there any way to get maven to decide? If there was
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.
-
Randinnrand...@gmail.com wrote:
I think so, the code on the
On Wed, Jan 27, 2010 at 2:42 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
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
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
I think that's a great idea.
alex
On Wed, Jan 27, 2010 at 2:03 PM, David Pollak feeder.of.the.be...@gmail.com
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 je...@ingolfs.dkwrote:
Hi,
I was
No, I haven't, I'll research .asjs, thank you for the info.
On Jan 28, 9:13 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
Have you looked at .asJs which will render your component as a JsExp?
If you're looking for bi-directional stuff, please
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:
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
lift:UserOps.thanksMessage
p
entry:fullname/ thanks for joining Echo. The
confirmation
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 Caincain@gmail.com wrote:
I am a newbie to Lift and Scala.
On Wed, Jan 27, 2010 at 2:52 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
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
Thank you Naftoli and David for taking your time to help me.
On Jan 28, 9:55 am, Randinn rand...@gmail.com wrote:
No, I haven't, I'll research .asjs, thank you for the info.
On Jan 28, 9:13 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
Have you looked at .asJs which will render
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 naftoli...@gmail.com wrote:
When you redirect you start a new
Anyone?
On Tue, Jan 5, 2010 at 11:15 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
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
+1
On Wednesday, January 27, 2010, Jeppe Nejsum Madsen je...@ingolfs.dk 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
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
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
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
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.NoClassDefFoundError:
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:
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
Where exactly is the code? I don't see anything about image resizing
here.
Thanks,
Strom
On Jan 15, 2:50 pm, Timothy Perrett timo...@getintheloop.eu 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
52 matches
Mail list logo