Look for MappedText. That maps to DriverType.clobColumnType (LONGTEXT
for MySQL).
Cheers, Indrajit
On 02/02/10 11:27 AM, XiaomingZheng wrote:
hi guys:
my app needs to use one field of mysql text type, but in Lift mapper
package, and i don't find any MappedField is suitable. any ideas?
thanks
Thanks for the confirmation Marius :)
On Feb 1, 7:47 am, Marius marius.dan...@gmail.com wrote:
Yes Lift's JavaScript stuff is mostly used when returning Ajax
response. You can also use it to serve fictive *.js files and instead
of returning a js file content you can serve the request (using
Adam Warski a...@warski.org writes:
We'll accept a patch for this issue.
Here's the patch.
Note that this will break all existing translations. While having a
complete list of keys that can be translated is great, I don't really
think there's a reason to change the keys. E.g.
First\ Name
Hmm right, although e.g. password already exists as a key and it wouldn't be
good to duplicate it as Password.
Same about Email.
On Feb 2, 2010, at 1:08 PM, Jeppe Nejsum Madsen wrote:
Adam Warski a...@warski.org writes:
We'll accept a patch for this issue.
Here's the patch.
Note
Adam Warski a...@warski.org writes:
Hmm right, although e.g. password already exists as a key and it wouldn't
be good to duplicate it as Password.
Same about Email.
Good point. Also, the spaces in keys seem to confuse people, so maybe
this is breakage that is worth it
/Jeppe
--
You
Hmm right, although e.g. password already exists as a key and it wouldn't
be good to duplicate it as Password.
Same about Email.
Good point. Also, the spaces in keys seem to confuse people, so maybe
this is breakage that is worth it
I guess I'll leave the decision up to David ;)
--
Guys,
Just found this in my deps tree:
[INFO] | | \- net.liftweb:lift-record:jar:2.0-SNAPSHOT:compile
[INFO] | | +- net.liftweb:lift-mapper:jar:2.0-SNAPSHOT:compile
[INFO] | | +- com.h2database:h2:jar:1.2.127:runtime
[INFO] | | \- org.apache.derby:derby:jar:10.5.3.0_1:runtime
Record should only depend on H2 and Derby in test mode.
On Tue, Feb 2, 2010 at 7:50 AM, Timothy Perrett timo...@getintheloop.euwrote:
Guys,
Just found this in my deps tree:
[INFO] | | \- net.liftweb:lift-record:jar:2.0-SNAPSHOT:compile
[INFO] | | +-
On Tue, Feb 2, 2010 at 6:53 AM, Adam Warski a...@warski.org wrote:
Hmm right, although e.g. password already exists as a key and it
wouldn't be good to duplicate it as Password.
Same about Email.
Good point. Also, the spaces in keys seem to confuse people, so maybe
this is breakage
Thanks for spotting this. Yes, DB drivers should be either in runtime
scope with optional=true or in test scope.
I missed out the optional=true declaration during recent DB dependency
refactoring (#307). But test scope is more appropriate in this case
(instead of runtime scope with
Hi, in Lift how would one implement functionality similar to in Gmail, that
when you try to navigate away from an unsaved email you get a dialog box asking
to confirm?
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
window.onbeforeunload = function() {
if ((emailWizard.htmlTemplateUI.isDirty || emailWizard.textEditorUI.isDirty
|| emailWizard.server.needsSaving) !intentionallyLeavingPage) {
return 'There are unsaved changes.';
}
}
On Feb 2, 2010, at 1:31 PM, Naftoli Gugenheim wrote:
Hi,
How about setting some global variable on a field change
(http://jqapi.com/#p=change) and then checking for the variable when you
navigate out (probably onunload or something)?
Cheers, Indrajit
On 03/02/10 12:01 AM, Naftoli Gugenheim wrote:
Hi, in Lift how would one implement functionality
Try:
window.onbeforeunload = function(evt){
var reply= You have unsaved changes!;
if(typeof evt == 'undefined'){
evt = window.event;
}
if(evt){
evt.returnValue = reply;
}
return reply;
}
Cheers, Tim
On 2 Feb 2010,
Thanks everyone!
Since I'm not using ajax the javascript doesn't have to do any checks; the page
can simply include it conditionally.
Tim, what's the purpose of if(evt)?
-
Timothy Perretttimo...@getintheloop.eu wrote:
Try:
window.onbeforeunload =
Adam, can you please (a) open a ticket and (b) create a gist
(http://gist.github.com/) of the patch and refer to it from the ticket?
We'll take it up from there.
Tim, +1 on not having spaces in properties.
Cheers, Indrajit
On 02/02/10 10:41 PM, Timothy Perrett wrote:
Sure - one of us will
Hi All,
I have a proposition for the Lift community.
I am co-founder of http://SnapImpact.org, a group of volunteers in
Boulder, CO. We're a 100% not for profit with no paid staff or
offices, our mission is Make Doing Good Easy. We shipped an iPhone
app (SnapImpact) in August and part of the
Indrajit, I think you just volunteered to take this on good chap ;-)
Cheers, Tim
On 2 Feb 2010, at 19:10, Indrajit Raychaudhuri wrote:
Adam, can you please (a) open a ticket and (b) create a gist
(http://gist.github.com/) of the patch and refer to it from the ticket? We'll
take it up from
Is there a reason why in Mapper, BaseMappedField, and MixableMappedField,
asHtml is typed to be a NodeSeq, but MappedField overrides it to be a Node?
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
Yep, I did ;)
Cheers, Indrajit
On 03/02/10 1:21 AM, Timothy Perrett wrote:
Indrajit, I think you just volunteered to take this on good chap ;-)
Cheers, Tim
On 2 Feb 2010, at 19:10, Indrajit Raychaudhuri wrote:
Adam, can you please (a) open a ticket and (b) create a gist
I see.
Does Lift actually do so?
Should the others also be a Node?
Doesn't -% require an Elem?
The question came up because I wanted to do in a LongMappedMapper something like
override def asHtml = obj.dmap((unknown))(_.asHtml)
In the end I overrode toString and used _.name (a field -- this change
On Feb 2, 1:19 pm, Dave Angulo daveang...@gmail.com wrote:
There is lots of work to get done and we're planning a kickoff event
in Boulder, Feb 19-21, to get some
momentumhttp://www.snapimpact.org/blog/?p=468.
Outside of that, we'd love to figure out how to best leverage any
interest from
One problem -- this script should not be triggered by submit buttons or
stateful links!
-
Timothy Perretttimo...@getintheloop.eu wrote:
Try:
window.onbeforeunload = function(evt){
var reply= You have unsaved changes!;
if(typeof evt ==
That's what the intentionallyLeavingPage variable was in my code snippet.
Submit buttons set this JS variable, so the check is bypassed in that case.
-Ross
On Feb 2, 2010, at 3:32 PM, Naftoli Gugenheim wrote:
One problem -- this script should not be triggered by submit buttons or
stateful
Indrajit Raychaudhuri indraj...@gmail.com writes:
Yep, I did ;)
Awesome ;-)
/Jeppe
Cheers, Indrajit
On 03/02/10 1:21 AM, Timothy Perrett wrote:
Indrajit, I think you just volunteered to take this on good chap ;-)
Cheers, Tim
--
You received this message because you are subscribed to
Much like any other open source project, with perhaps significantly
more direction. Our team includes not only coders and testers, but pr/
marketing, bizdev, and pm's. So, we develop product roadmaps with
specific feature sets and delivery dates, then carve up the work to be
done and get to it.
I
Hi,
I'm traveling, and I have about an hour to figure out how to download
the liftweb 1.1 API so I can continue to work offline for the next few
days.
I've done mvn clean scala:doc in my project directory, but I'm not
sure what to do next. Are the API classes in html format somewhere, or
am I
Do you have a clone of the git repository?
-
Stromstrommo...@gmail.com wrote:
Hi,
I'm traveling, and I have about an hour to figure out how to download
the liftweb 1.1 API so I can continue to work offline for the next few
days.
I've done mvn clean scala:doc
no
On Feb 2, 10:38 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
Do you have a clone of the git repository?
-
Stromstrommo...@gmail.com wrote:
Hi,
I'm traveling, and I have about an hour to figure out how to download
the liftweb 1.1 API so I can
Maybe check if it's on the scala-tools site.
-
Stromstrommo...@gmail.com wrote:
no
On Feb 2, 10:38 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
Do you have a clone of the git repository?
-
Ok, I will check. In the meantime, I am cloning from
git://github.com/dpp/liftweb.git,
so would you be so kind as to show me how I would go about generating
the doc and viewing it?
Thanks!
Strom
On Feb 2, 10:44 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
Maybe check if it's on the
Clone lift from git, cd into the framework directory and run:
mvn scala:doc
Cheers, Tim
On 2 Feb 2010, at 22:35, Strom wrote:
Hi,
I'm traveling, and I have about an hour to figure out how to download
the liftweb 1.1 API so I can continue to work offline for the next few
days.
I've done
Thanks Tim,
But I get this:
C:\ws\liftwebmvn clean scala:doc
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Lift Web Framework
[INFO] Lift Base Components
[INFO] Lift Common
[INFO] Lift Actor
[INFO] Lift Json
[INFO] Lift Util
[INFO] Lift WebKit
[INFO] Lift
What about with -U ?
-
Stromstrommo...@gmail.com wrote:
Thanks Tim,
But I get this:
C:\ws\liftwebmvn clean scala:doc
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Lift Web Framework
[INFO] Lift Base Components
[INFO] Lift Common
I think it ends up in a jar in your maven repository.
-
Stromstrommo...@gmail.com wrote:
Sorry...double checked and I didn't notice that I have to be in the
framework directory (that's what I get for rushing). It seems to be
doing something now. As for my
That would be because you didnt cd framework as per my previous instruction.
Try the command from the framework directory and it will work...
Cheers, Tim
On 2 Feb 2010, at 22:58, Strom wrote:
Thanks Tim,
But I get this:
C:\ws\liftwebmvn clean scala:doc
[INFO] Scanning for projects...
Afraid not - it will build a site directory within the target directory of
any given module... they are just html pages, so load up the index page and
away you go.
Cheers, Tim
On 2 Feb 2010, at 23:10, Naftoli Gugenheim wrote:
I think it ends up in a jar in your maven repository.
Thanks!
On Feb 2, 11:19 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Afraid not - it will build a site directory within the target directory
of any given module... they are just html pages, so load up the index page
and away you go.
Cheers, Tim
On 2 Feb 2010, at 23:10, Naftoli
Is there any way to have a webapp handle an out of memory exception
semi-gracefully? E.g., release session, restart, something other than having to
ssh into the server?
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email
Hi. I have an app that is used both on BlackBerrys and on the desktop. I
would like to include the necessary ajax for garbage collection when the
page is loaded on a desktop but not on the BlackBerry.
However, autoIncludeAjax seems to take a LiftSession. Is such a thing
possible? Thanks.
--
You
Folks,
Turns out there's a security vulnerability in Lift. It's possible to insert
control characters into input fields. When the control characters are sent
back to the browser, the browser will choke. An example can be seen at
http://demo.liftweb.net Go to that page, enter your name in the
I just started a new Lift project in Eclipse using the latest basic
archetype and I keep getting a slew of validation errors whenever I
add or edit a Scala source file. The only way to rid the project of
these errors is to do a Project/Clean..., which is really annoying and
greatly slows
I have a patch on Review Board. I haven't asked on the list for the
committers to review it because I've needed to perfect it still. It
occurred to me that some of the tickets might not have been discussed
on the list, so I want to do so now in case I didn't yet, although the
enhancements included
If you scan the whole page wouldn't it affect performance? Or will you
put a safeguard in the input field / processing query parameters?
2010/2/2 Naftoli Gugenheim naftoli...@gmail.com:
Is that not a defect of the browsers?
On Tue, Feb 2, 2010 at 7:57 PM, David Pollak
Additionally ItemsListEditor will catch SQLExceptions in
ItemsList.save and display them.
On Tue, Feb 2, 2010 at 8:26 PM, Naftoli Gugenheim naftoli...@gmail.com wrote:
I have a patch on Review Board. I haven't asked on the list for the
committers to review it because I've needed to perfect it
Rather, display that not all items were saved.
2010/2/2 Naftoli Gugenheim naftoli...@gmail.com:
Additionally ItemsListEditor will catch SQLExceptions in ItemsList.save and
display them.
On Tue, Feb 2, 2010 at 8:26 PM, Naftoli Gugenheim naftoli...@gmail.com
wrote:
I have a patch on Review
When converting XML to Json attributes are being lost, given the below XML
document, we would expect
{word:{word:content,self:http://localhost:8080/word/example
,term:example,available:true}}
where as we get {word:content}
example XML:
word term=example self=http://localhost:8080/word/example;
Not generally within your code no. The VM is out of memory, not the webapp,
so the VM has to be restarted. However you could have a nagios other
monitoring service auto-restart in such cases.
On the other hand... you really shouldn't be getting a OOM error in
Java...
On Tue, Feb 2, 2010 at
The xml spec only allows tab, cr, and lf... no other control chars.
The defect is in the scala.xml.Utility.escape method
This method is an amazing piece of crap... every character in the string is
wrapped in a Character object and then wrapped in a Cons cell.
The fix will improve performance
Exciting! :)
On Tue, Feb 2, 2010 at 8:43 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
The xml spec only allows tab, cr, and lf... no other control chars.
The defect is in the scala.xml.Utility.escape method
This method is an amazing piece of crap... every character in the string is
Hmm... Can the code catch the exception and try to execute a script that
restarts it? :)
On Tue, Feb 2, 2010 at 8:43 PM, Jim Barrows jim.barr...@gmail.com wrote:
Not generally within your code no. The VM is out of memory, not the
webapp, so the VM has to be restarted. However you could have
That would require memory allocation etc to do so. Which is of course, a
problem at this point.
On Tue, Feb 2, 2010 at 6:49 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Hmm... Can the code catch the exception and try to execute a script that
restarts it? :)
On Tue, Feb 2, 2010 at 8:43
thanks
On Feb 2, 9:58 am, Indrajit Raychaudhuri indraj...@gmail.com wrote:
Look for MappedText. That maps to DriverType.clobColumnType (LONGTEXT
for MySQL).
Cheers, Indrajit
On 02/02/10 11:27 AM, XiaomingZheng wrote:
hi guys:
my app needs to use one field of mysql text type, but in
You're welcome. I'm happy to look into adding Flot plugin support, but
please open a ticket on GitHub (http://github.com/dpp/liftweb/issues).
Peter
On Feb 1, 10:22 am, Aaron Valade a...@alum.mit.edu wrote:
Thanks Peter!
One of the other things that changed between Flot 0.4 and 0.6 is that
a
Hi Jarod,
I'm afraid I don't understand your problem. Are you staying that the
combination of the blueprint and flot CSS files leads to incorrect
charts in IE8 but the charts are rendered correctly when the blueprint
file is not included? If so, is this a problem with how Lift includes
the files
Hi, I'm quite a newbie to Lift. I'm now trying to port my first Lift
application from Lift1.0.2 to latest Lift2.0-scala280, and faced a
problem relating to source encoding.
I managed to merge pom.xml and some codes on Boot.scala, and succeeded
to build my application, but when I access to it from
On Tue, Feb 2, 2010 at 5:49 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Hmm... Can the code catch the exception and try to execute a script that
restarts it? :)
The Sun JVM has the following flag:
-XX:OnOutOfMemoryError=script_to_execute
This will allow an auto-restart.
On Tue,
Neat! Thanks!
On Tue, Feb 2, 2010 at 11:18 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Tue, Feb 2, 2010 at 5:49 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Hmm... Can the code catch the exception and try to execute a script that
restarts it? :)
The Sun JVM has the
If anyone finds github's issue manager too limited, I made a teeny little
app that lets you list the issues in a more configurable way. All comments
welcome!
http://github-issues.naftoligug.staxapps.net/index
You do not need to log in or register. Right now it only browses issues for
Cool! Did not know there is an API.
Heiko
On Wednesday, February 3, 2010, Naftoli Gugenheim naftoli...@gmail.com wrote:
If anyone finds github's issue manager too limited, I made a teeny little app
that lets you list the issues in a more configurable way. All comments
welcome!
On Tue, Feb 2, 2010 at 5:43 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
The xml spec only allows tab, cr, and lf... no other control chars.
The defect is in the scala.xml.Utility.escape method
This method is an amazing piece of crap... every character in the string is
wrapped in a
I should mention that I discovered it's super-easy to get a (existing) maven
lift app on stax.net. You basically have to add the repositories (see the stax
wiki) to your settings.xml (or pom I suppose) and type
mvn stax:deploy
or to test run
mvn stax:run
(Of course you have to sign up too :) )
I replied to Heiko by mistake.
-
From: Naftoli Gugenheimnaftoli...@gmail.com
To: liftweb@googlegroups.com;
Subject: Re: [Lift] Github issue browser
Date: Feb 2, 10:37 PM
I should mention that I discovered it's super-easy to get a (existing) maven
lift app on
On Feb 2, 4:57 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
I'd like to get a sense of how important the community views this defect.
Is it a backport the fix to every milestone and release yesterday or is it
a fix it in 2.0-M2 or someplace in between.
I vote for 2.0-M2.
--
You
Hello,
I'm an intermediate lift developer. Suddenly, it has become my first
choice framework for web applications. I really think it's a nice
framework you guys are doing a great job.
I'm new on facebook application development and I have been looking at
the liftweb facebook API. I really don't
Sure:
(a) http://github.com/dpp/liftweb/issues/issue/320
(b) http://gist.github.com/293435
I've also updated the wiki.
On Feb 2, 2010, at 8:10 PM, Indrajit Raychaudhuri wrote:
Adam, can you please (a) open a ticket and (b) create a gist
(http://gist.github.com/) of the patch and refer to it
66 matches
Mail list logo