Just to double-check, can you acces the form data via the HTTPRequest?
-
chasc...@munat.com wrote:
Straight from the headers:
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
It's a regular form with four text fields. Simple.
Wireshark shows
Jonathan Ferguson j...@spiralarm.com writes:
I would like to have the list view of one of my model objects as my home
page.
Can this done with out having the home page redirect to /mymodel/list ?
I don't think you can change the native URL of CRUDify list, but you
could add a rewrite (not
Seems like this would be a good task to assign to one of the new / free of task
committers? It probably wouldn't take a huge amount of work to clean it up
right? Ideally we want to avoid having modules in Lift that are totally
unsupported :-)
Cheers, Tim
On 3 Feb 2010, at 22:52, David Pollak
Yeah, try dumping the Req instance and seeing what is there - if its
empty, then you can be sure its Tomcat causing the problem and not
Lift.
Cheers, Tim
On Feb 4, 8:03 am, Naftoli Gugenheim naftoli...@gmail.com wrote:
Just to double-check, can you acces the form data via the HTTPRequest?
Thanks,
The fix is on review board now. Should be in master pretty soon. Note,
I made two changes to the test case you provided.
The expected result of example1 is:
{word:content,self:http://localhost:8080/word/
example,term:example,available:true}
The transformation converts XML attributes to
Hi,
I've added some comet-fu in my lift app but I've found that it now takes a
minute or so for jetty to shut down.
Is there something I should have done to enable things to shutdown quicker?
Channing
--
View this message in context:
Are you seeing a stack trace?
Cheers, Tim
On 4 Feb 2010, at 10:15, Channing Walton wrote:
Hi,
I've added some comet-fu in my lift app but I've found that it now takes a
minute or so for jetty to shut down.
Is there something I should have done to enable things to shutdown quicker?
No, it eventually quits peacefully.
Timothy Perrett wrote:
Are you seeing a stack trace?
Cheers, Tim
On 4 Feb 2010, at 10:15, Channing Walton wrote:
Hi,
I've added some comet-fu in my lift app but I've found that it now takes
a
minute or so for jetty to shut down.
Is
Hi, this is my first post to this group. First off, I'm new to web
frameworks, lift and linux, I have however got a war file and
persistently been trying to get my compiled war file to run on my
linux box. I compiled the war file using mvn compile. My problem is
that after having tried to run
Arie,
Getting your deployment server setup is the first thing. Getting
Jetty, Glassfish or others working is not really a question for this
list, but when they are running (see the respective container
documentation) you should just be able to drop the compiled war file
(created with mvn clean
Hello Everyone,
I'm currently trying to figure out how to map objects with inheritance
using the Mapper framework. I've got a Lab and a Scientist who inherit
from Source.
As I understand there's no direct way to do inheritance using the
Mapper framework so I'm trying to figure out how to
Hi David,
There really are a lot of paths available with scala/lift, aren't
there?
After looking at what you wrote, here's what I came up with that works
well/is functional and compact, in case anyone else is wondering about
it.
def links(html:NodeSeq): NodeSeq={
I think this new version will be slower than your original one, as each call to
bind will visit the entire input XHTML. Why not use your original formulation
but instead of TheBindParam, use FuncBindParam (which is the sugar-free version
of body = ... that David describes)?
-Ross
On Feb 4,
It's not overridable?
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Jonathan Ferguson j...@spiralarm.com writes:
I would like to have the list view of one of my model objects as my home
page.
Can this done with out having the home page redirect to
Mads Hartmann mads...@gmail.com writes:
Hello Everyone,
I'm currently trying to figure out how to map objects with inheritance
using the Mapper framework. I've got a Lab and a Scientist who inherit
from Source.
As I understand there's no direct way to do inheritance using the
Mapper
Naftoli Gugenheim naftoli...@gmail.com writes:
It's not overridable?
Actually, I think it is :-)
You might be able to just
override lazy val listPath = Nil
/Jeppe
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Jonathan Ferguson j...@spiralarm.com
On Wed, Jan 27, 2010 at 7:38 PM, Jonathan Hoffman jonhoff...@gmail.com wrote:
I think that makes sense. How is this-- should we leave the default to
1.3.2 for now?
What's the status on this? Afaics, the default is still 1.4? I would
like to get back on the bleeding edge :-), but need to
hello Jeppe,
In my project I've got the following three models: A discovery, a
Scientist and a lab. The Discovery has been invented by someone, this
is either a single scientist or sometimes a lab - This is easily done
through inheritance (would create a superclass named source) but I'm
-
Mads Hartmann Jensenmads...@gmail.com wrote:
hello Jeppe,
In my project I've got the following three models: A discovery, a
Scientist and a lab. The Discovery has been invented by someone, this
is either a single scientist or sometimes a lab - This is
Thanks Jono, but unfortunately that didn't help.
Peter
On Feb 3, 6:53 pm, Jonathan Ferguson j...@spiralarm.com wrote:
Try upgrading to the latest version of maven (2.2.1 or later ). I was having
a simliar issue.
Cheers
Jono
j...@192-168-1-69:~ $mvn -version
Apache Maven 2.2.1 (r801777;
Hmm, I see that it's always when running YUI Compressor on lift-
webkit. I actually had issues with YUI Compressor in the past (http://
groups.google.com/group/liftweb/browse_thread/thread/
f338204c6ee02dd3/3025b5ef300b4ee2) but this time I'm running the Sun
JVM, not OpenJDK.
Peter
On Feb 4,
At least in my use case this is not idea as I am loading JSON
serialized mapper objects from memcached and the fields are not, in
fact, dirty. There should possibly be some sort of higher level
mechanism that I can use to indicate that this is the case?
-harryh
--
You received this message
How about:
myMappedObject.runSafe {
myMappedObject.allFields.foreach(_.resetDirty)
}
?
-Ross
On Feb 4, 2010, at 2:50 PM, harryh wrote:
At least in my use case this is not idea as I am loading JSON
serialized mapper objects from memcached and the fields are not, in
fact, dirty. There
On Thu, Feb 4, 2010 at 11:50 AM, harryh har...@gmail.com wrote:
At least in my use case this is not idea as I am loading JSON
serialized mapper objects from memcached and the fields are not, in
fact, dirty. There should possibly be some sort of higher level
mechanism that I can use to
On Thu, Feb 4, 2010 at 2:15 AM, Channing Walton channingwal...@mac.comwrote:
Hi,
I've added some comet-fu in my lift app but I've found that it now takes a
minute or so for jetty to shut down.
How are you shutting down your Jetty server?
Is there something I should have done to enable
- Serializing the dirty-state of each field (e.g., field_name_$dirty:
true)
This further increases the size of the serialized objects which is not
ideal
- A thread-local flag for the default dirty/clean
- A global flag indicating that the fields are marked clean/dirty on
On Thu, Feb 4, 2010 at 12:41 PM, harryh har...@gmail.com wrote:
- Serializing the dirty-state of each field (e.g., field_name_$dirty:
true)
This further increases the size of the serialized objects which is not
ideal
- A thread-local flag for the default dirty/clean
- A global flag
Sounds to me like a Tomcat issue... I think we're relying on the container
to parse the body correctly.
On Wed, Feb 3, 2010 at 9:15 PM, c...@munat.com wrote:
It's POST vs. PUT. I'm using AJAX, so I can do PUTs.
The two are identical, except:
POST instead of PUT
The POST version includes:
Peter Robinett pe...@bubblefoundry.com writes:
Hmm, I see that it's always when running YUI Compressor on lift-
webkit. I actually had issues with YUI Compressor in the past (http://
groups.google.com/group/liftweb/browse_thread/thread/
f338204c6ee02dd3/3025b5ef300b4ee2) but this time I'm
On Thu, Feb 4, 2010 at 12:47 PM, Ross Mellgren dri...@gmail.com wrote:
I reopened it since I marked it invalid pending the ML discussion.
Added a comment with the ML discussion.
Excellent!
-Ross
On Feb 4, 2010, at 3:45 PM, David Pollak wrote:
On Thu, Feb 4, 2010 at 12:41 PM, harryh
Please take a look at the MegaProtoUser and MegaMetaProtoUser code for
examples of how to create traits that can be mixed into classes.
Does that help?
On Thu, Feb 4, 2010 at 9:58 AM, Mads Hartmann Jensen mads...@gmail.comwrote:
hello Jeppe,
In my project I've got the following three models:
ah, thats a good question. I am using sbt and its jetty-stop. I'll find out
what its doing.
bearfeeder wrote:
On Thu, Feb 4, 2010 at 2:15 AM, Channing Walton
channingwal...@mac.comwrote:
Hi,
I've added some comet-fu in my lift app but I've found that it now takes
a
minute or so for
P.S. Hooray for ticket system that doesn't suck!
-Ross
On Feb 4, 2010, at 3:54 PM, David Pollak wrote:
On Thu, Feb 4, 2010 at 12:47 PM, Ross Mellgren dri...@gmail.com wrote:
I reopened it since I marked it invalid pending the ML discussion.
Added a comment with the ML discussion.
Dll fragmentation?
-
Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
Peter Robinett pe...@bubblefoundry.com writes:
Hmm, I see that it's always when running YUI Compressor on lift-
webkit. I actually had issues with YUI Compressor in the past (http://
Thanks David and Timothy. I'll just Java the facebook application. ;-)
On Feb 4, 10:22 am, Timothy Perrett timo...@getintheloop.eu wrote:
Seems like this would be a good task to assign to one of the new / free of
task committers? It probably wouldn't take a huge amount of work to clean it
up
On Thu, Feb 4, 2010 at 1:11 PM, Channing Walton channingwal...@mac.comwrote:
ah, thats a good question. I am using sbt and its jetty-stop. I'll find out
what its doing.
I'm pretty sure Lift cancels the Comet connections during the Servlet unload
process.
bearfeeder wrote:
On Thu,
On Thu, Feb 4, 2010 at 7:32 AM, Ross Mellgren dri...@gmail.com wrote:
I think this new version will be slower than your original one, as each
call to bind will visit the entire input XHTML. Why not use your original
formulation but instead of TheBindParam, use FuncBindParam (which is the
On Wed, Feb 3, 2010 at 11:33 PM, aw anth...@whitford.com wrote:
I just noticed this:
Feb 3, 2010 10:49:23 PM org.apache.coyote.http11.Http11NioProtocol
destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Feb 3, 2010 11:19:20 PM org.apache.catalina.loader.WebappClassLoader
loadClass
INFO:
RedirectTo should automatically prepend the context path. Could you try writing
a quick snippet that dumps S.request.map(_.contextPath),
S.session.map(_.contextPath) and finally S.contextPath and see what they output?
-Ross
On Feb 4, 2010, at 5:03 PM, Java1Guy wrote:
This sure seems like it
On Thu, Feb 4, 2010 at 2:06 PM, Ross Mellgren dri...@gmail.com wrote:
RedirectTo should automatically prepend the context path. Could you try
writing a quick snippet that dumps S.request.map(_.contextPath),
S.session.map(_.contextPath) and finally S.contextPath and see what they
output?
From mvn jetty:run:
Here's request map: Full()Here's session map: Full()and finally
S.contextPath:
From jetty
Here's request map: Full(/mt)Here's session map: Full(/mt)and finally
S.contextPath: /mt
WTF?
My actor code is:
bind(f, defaultXml,
nakedHomeButton -
bearfeeder wrote:
On Thu, Feb 4, 2010 at 1:11 PM, Channing Walton
channingwal...@mac.comwrote:
ah, thats a good question. I am using sbt and its jetty-stop. I'll find
out
what its doing.
I'm pretty sure Lift cancels the Comet connections during the Servlet
unload
process.
FWIW, my Jetty config I tried to make as simple as possible:
Set name=contextPath/mt/Set
Set name=warSystemProperty name=jetty.home default=.//
webapps/menutest-1.0-SNAPSHOT.war/Set
Set name=extractWARfalse/Set
Set name=copyWebDirfalse/Set
Set name=defaultsDescriptorSystemProperty name=jetty.home
So are you saying that if you run it via jetty:run it doesn't behave properly,
but it does if you run it from jetty outside of mvn?
Or that in both cases it does not behave? I'm not sure exactly what you mean by
from jetty so I think it might be important.
To set your context path from mvn
I wasn't able to override listPath, Ill have a bit more of a play to make
sure I'm not doing anything to silly; trying to get /crudify/path to / .
Rewrite worked wonderfully.
Cheers
Jono
On 5 February 2010 04:45, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Naftoli Gugenheim
On Thu, Feb 4, 2010 at 2:31 PM, Channing Walton channingwal...@mac.comwrote:
bearfeeder wrote:
On Thu, Feb 4, 2010 at 1:11 PM, Channing Walton
channingwal...@mac.comwrote:
ah, thats a good question. I am using sbt and its jetty-stop. I'll find
out
what its doing.
I'm
What about index :: Nil ?
Also worst case scenario you could have a snippet that returns
MyEntity.showAllTemplate() embedded in your index.html.
-
Jonathan Fergusonj...@spiralarm.com wrote:
I wasn't able to override listPath, Ill have a bit more of a play to
Thanks for the advice, I'll definitely rethink the pattern.
I'm actually seeing the problem when I use RunWebApp. When I press a key
RunWebApp should shut down but it just hangs for me.
bearfeeder wrote:
On Thu, Feb 4, 2010 at 2:31 PM, Channing Walton
channingwal...@mac.comwrote:
Ross: no, the opposite. in mvn jetty:run all is well since it is in
the root context. (?)
When I deploy the war to jetty and use the /mt context all the
ajaxButtons insist on going to the root.
PS - although i've had trouble before, 2.0-M1 seems *more* broken :(
On Feb 4, 3:37 pm, Ross Mellgren
On Thu, Feb 4, 2010 at 2:51 PM, Channing Walton channingwal...@mac.comwrote:
Thanks for the advice, I'll definitely rethink the pattern.
I'm actually seeing the problem when I use RunWebApp. When I press a key
RunWebApp should shut down but it just hangs for me.
What is RunWebApp?
What does wasn't able to mean?
Did you write
override lazy val listPath = List(index)
?
-
Jonathan Fergusonj...@spiralarm.com wrote:
I wasn't able to override listPath, Ill have a bit more of a play to make
sure I'm not doing anything to silly; trying to get
I think David's analysis is exactly right: CometActors do not run in
the scope of any HTTP requests. I'm guessing that
the context path is not getting to the CometActor.
As the button text I put S.contextPath+/index and sure enough, it
shows /index - even though the above output shows that to
On Thu, Feb 4, 2010 at 2:58 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
What does wasn't able to mean?
Did you write
override lazy val listPath = List(index)
This is the wrong answer. Jeppe gave the correct answer.
?
-
Jonathan
RunWebApp was produced in test/scala when I created the lift project using
the basic archetype.
http://github.com/mrxtravis/liftweb/blob/master/lift-archetype-basic/src/main/resources/archetype-resources/src/test/scala/RunWebApp.scala
bearfeeder wrote:
On Thu, Feb 4, 2010 at 2:51 PM,
Thanks, Jeppe, that did the trick. I swear, JVM options are such a
dark art!
Peter
On Feb 4, 12:49 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Peter Robinett pe...@bubblefoundry.com writes:
Hmm, I see that it's always when running YUI Compressor on lift-
webkit. I actually had issues
Yes very well could be. I was part of the email chain when Marius implemented
these changes and I thought that this was why LiftSession has a copy of the
contextPath. Taking a quick glance at the code it should work with that, but
Marius should definitely comment since he's most familiar with
I believe it is maven not passing the JVM options through to the forked
compile processes. Glad you got it working.
Jono
On 5 February 2010 10:07, Peter Robinett pe...@bubblefoundry.com wrote:
Thanks, Jeppe, that did the trick. I swear, JVM options are such a
dark art!
Peter
On Feb 4,
I may have had
override lazy val listPath = List(/)
On 5 February 2010 09:58, Naftoli Gugenheim naftoli...@gmail.com wrote:
What does wasn't able to mean?
Did you write
override lazy val listPath = List(index)
?
-
Jonathan Fergusonj...@spiralarm.com
Is there are reason one or more correct than the other?
Is it style or something else ?
Cheers
Jono
On 5 February 2010 10:01, David Pollak feeder.of.the.be...@gmail.comwrote:
On Thu, Feb 4, 2010 at 2:58 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
What does wasn't able to mean?
Did
Yeah that helped, my lab and scientist now looks like this:
/--- code
trait BaseSourceTrait[ T :BaseSourceTrait[T] ] extends
LongKeyedMapper[T] {
self: T =
override def primaryKeyField = id
object id extends MappedLongIndex(this)
Hi,
In the current state the ListenerManager will always update all subscribers.
I have got a use case where only certain subscribers should be updated.
Therefore I suggest to extend the ListenerManager such that there can be an
optional partial function that determines which subscribers will be
Hello all,
Please tell me if you are using the lift-flot module. I am working on
upgrading it to Flot 0.6 and as Aaron noted[1], Flot has switched to a
slightly new format of specifying options. However, they have kept
backwards compatibility, meaning that we could upgrade to the latest
version
Heiko, I would love this and would use it often, but I'm not sure it's
such a general use case that it should be part of Lift. What do other
people think?
Peter
On Feb 4, 4:05 pm, Heiko Seeberger heiko.seeber...@googlemail.com
wrote:
Hi,
In the current state the ListenerManager will always
Does my approach not work?
-
Mads Hartmannmads...@gmail.com wrote:
Yeah that helped, my lab and scientist now looks like this:
/--- code
trait BaseSourceTrait[ T :BaseSourceTrait[T] ] extends
LongKeyedMapper[T] {
self: T
Hi Aaron,
I've pushed the simplest update possible to my branch here:
http://github.com/dpp/liftweb/tree/pr1001_issue_322. I will make the
series options change if there are no significant dissenting voices in
the thread I created[1]. In the meantime, do. The flotDemo app seems
to work without
David and all,
QUESTION 1
I'm working on issue #258. Here are two options for an overridable parser
(applies to formatting too):
1. def parse(s: String): Box[Date] = ConversionRules.parseDate()(s)
2. def parse: String=Box[Date] = ConversionRules.parseDate()
What are the pros and cons, and which
Indrajit and I are working on importing tickets into Assembla. The first
ticket on GitHub is #3 and there are now two on Assembla.
So please don't create any Assembla tickets until further notice.
Thanks!
--
You received this message because you are subscribed to the Google Groups
Lift group.
Hey Naftoli,
I think something might have broken your first message, It's a blank
message if you view it through the web-interface:
http://groups.google.com/group/liftweb/browse_thread/thread/e2317e5dbaad4a65
If you have a solution I would love to hear it :)
On Feb 5, 1:52 am, Naftoli Gugenheim
On the esme-dev mailing list, we've got a request for a class/uml
diagram for our lift-based server code. Does anyone know of a tool
(maven-plugin?) that could provide such functionality?
Thanks.
D.
--
You received this message because you are subscribed to the Google Groups
Lift group.
To
69 matches
Mail list logo