Take it from here:
http://github.com/dpp/liftweb/tree/master/lift/src/main/resources/i18n/
Heiko
2009/10/7 Dirk Louwers
>
> Hi,
>
> Not to be an evil hijacker of threads, but can anyone supply me the
> english Lift core resource bundle? I would like to work on a dutch
> translation.
>
> Best,
>
Hi,
Not to be an evil hijacker of threads, but can anyone supply me the
english Lift core resource bundle? I would like to work on a dutch
translation.
Best,
Dirk Louwers
On Oct 7, 7:43 am, Heiko Seeberger
wrote:
> Jeppe,
> You are my hero ;-)
>
> Thanks,
>
> Heiko
>
> 2009/10/6 Jeppe Nejsum
Yes, I am indeed using version.
My solution is now properly working and does this as follows:
1) It has a dateParser and dateFormatter that are set to another field
by default: defaultDateFormat. The dateParser will be used to parse
and format the form fields. The dateFormatter is for display (us
Hi all,
I've noticed a couple of SQL-generation problems when using lift
(1.0.2) with oracle (10.2, and using latest drivers).
Firstly, schemify fails on adding a column to a model:
INFO - ALTER TABLE table_name ADD COLUMN label VARCHAR(1000)
ERROR - Failed to Boot
java.sql.SQLException: ORA-009
Jeppe,
You are my hero ;-)
Thanks,
Heiko
2009/10/6 Jeppe Nejsum Madsen
>
> 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
Great, thanks!One line had been unindented, so I fixed that. I didn't reread
it too closely but it looks good.
On Tue, Oct 6, 2009 at 10:20 PM, Bryan wrote:
>
> I added a blank line before the element. It looks good now.
> Please verify.
>
> --Bryan
>
> On Tue, Oct 6, 2009 at 9:03 PM, Naftoli
I added a blank line before the element. It looks good now.
Please verify.
--Bryan
On Tue, Oct 6, 2009 at 9:03 PM, Naftoli Gugenheim wrote:
>
> Anyone? Please?
>
> On Mon, Oct 5, 2009 at 5:13 PM, Naftoli Gugenheim
> wrote:
>> Can someone please fix the formatting on
>> http://wiki.github.co
Anyone? Please?
On Mon, Oct 5, 2009 at 5:13 PM, Naftoli Gugenheim wrote:
> Can someone please fix the formatting on
> http://wiki.github.com/dpp/liftweb/example-paginating-mapper-based-snippets-with-sortable-headers
> ?
> Thanks!
>
--~--~-~--~~~---~--~~
You recei
Also more flexibility should be coming soon if I'm not mistaken. I
think there's a ticket and Derek is planning on working on it.
On Tue, Oct 6, 2009 at 4:59 PM, Jeppe Nejsum Madsen wrote:
>
> Dirk Louwers writes:
>
>> Hi,
>>
>> After having toyed around with Scala and recently Lift for a few w
What you can do if I'm not mistaken, although not as good, is define
in a base trait,
def myField: MappedXXX ...
and give different concrete object implementations. This way you have
a common type that guarantees the "field."
On Tue, Oct 6, 2009 at 4:54 PM, David Pollak
wrote:
>
>
> On Tue, Oct
Maybe there should be a Wiki page filled with links for more
information, like "How To: Get more information." It would be nice if
it (and the article titled "Home"--maybe it should have a better
name?) could somehow be the first article in the list.
On Tue, Oct 6, 2009 at 4:10 PM, Stefan Langer
On Tue, Oct 6, 2009 at 5:13 PM, Naftoli Gugenheim wrote:
>
> Which modules will be dependent on lift-json?
>
lift-webkit
>
>
> On Tue, Oct 6, 2009 at 11:17 AM, David Pollak
> wrote:
> > Please open a ticket for this. We need to get the rest of Lift playing
> well
> > with Joni's excellent JSO
I don't know of any way to do this currently. If no one else has any ideas,
I would open an issue.
Derek
On Tue, Oct 6, 2009 at 11:07 AM, Ross Mellgren wrote:
>
> I'm deploying a Lift application into JBoss as another WAR alongside
> the rest of our application in a separate WAR, and I'm runnin
Which modules will be dependent on lift-json?
On Tue, Oct 6, 2009 at 11:17 AM, David Pollak
wrote:
> Please open a ticket for this. We need to get the rest of Lift playing well
> with Joni's excellent JSON library.
>
> On Tue, Oct 6, 2009 at 7:43 AM, glenn wrote:
>>
>> I want to pass the resu
Here's some code I used when two tables share some fields and their
Mappers can share a base trait. I have Fields which have difference
Types, some of which reference lookup tables.
trait BaseLookupTable[T<:LongKeyedMapper[T]] {this: T =>
object field extends LongMappedMapper(this: T, Field)
What about an Ajax form?
On Tue, Oct 6, 2009 at 9:52 AM, Somindra Bhattacharya
wrote:
>
> Hi Everyone,
>
> I have a comet actor that binds XHTML. The XHTML corresponds to a
> snippet:
>
> XHTML for comet actor ->
>
>
>
>
>
> When the comet actor receives a certain message, the render me
Or toSeq instead of toList. And if it still doesn't work surround it with
NodeSeq.fromSeq(toSeq)
-
David Pollak wrote:
try tacking a .toList on after the flatMap() expression.
On Tue, Oct 6, 2009 at 3:19 PM, rstradling wrote:
>
> Hello everyone,
> I ha
try tacking a .toList on after the flatMap() expression.
On Tue, Oct 6, 2009 at 3:19 PM, rstradling wrote:
>
> Hello everyone,
> I have the following code...
> case class item(name : String)
> class demo {
> def exampleFour(xhtml : NodeSeq) : NodeSeq = {
>val map = Map("Test" -> List(item("
Hello everyone,
I have the following code...
case class item(name : String)
class demo {
def exampleFour(xhtml : NodeSeq) : NodeSeq = {
val map = Map("Test" -> List(item("1"), item("2"), item("3")),
"Vehicles" -> List(item("Bike"), item("Automobile"))
)
val articl
Dear Ismael,
Prompted by this thread i did some digging and saw that in the attempt to
move from hibernate to toplink to eclipselink i had not consistently
switched from toplink to eclipselink. So, i'm now getting the download to
work. Thanks again. BTW, i wonder if you know whether eclipselink ha
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
I am picking up a very subtle insinuation that that question was too easy
for this forum. I agree whole heartedly. Won't do it again. My next question
is - Is P=NP? No wait, thats not appropriate.
On Tue, Oct 6, 2009 at 5:07 PM, Timothy Perrett wrote:
> Correct. :run uses the stuff under src/mai
Correct. :run uses the stuff under src/main/webapp vs :run-war that
uses what is bundled in the war (surprise surprise!)
This should all be explained in the maven-jetty-plugin docs as this is
not something lift specific by any means.
Cheers, Tim
Sent from my iPhone
On 6 Oct 2009, at 21:57,
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
I thought run uses classes and run-war uses the war. no?
On Tue, Oct 6, 2009 at 4:54 PM, MarkChance wrote:
>
> I use mvn -Djetty.port=8090 jetty:run
> It builds the war and then runs jetty. If you leave it running and re-
> build the war, say in your IDE, the Jetty generally restarts
> automati
I use mvn -Djetty.port=8090 jetty:run
It builds the war and then runs jetty. If you leave it running and re-
build the war, say in your IDE, the Jetty generally restarts
automatically.
HTH, Mark
On Oct 5, 8:44 pm, Jack Widman wrote:
> Well it seems that mvn run-war is creating the war and over
On Tue, Oct 6, 2009 at 10:16 AM, Oleg G. wrote:
>
> As i said before i'm not sure that i'm getting the whole picture and
> maybe my initial question is incorrect in its root. Still:
>
> Suppose i have a Person class declared with Mapper/Record and i want
> to reuse the class and all the code asso
I hope I don't wander too far off-topic here as I wend my way to the
question at the end of this post ("would it be useful to look at
something like the OWL/SWRL web ontology and rule languages for
liftweb?").
I tend to generalize/abstract a lot - so if anyone with a theoretical
bent is willing t
I didn't want to discourage you I just wanted to be honest and please do
come back with any question you have as we learn by asking. But at the same
time as was said in this thread already take the time to expriment and use
the resources that are there (google and the like) to come up with the
answ
In your bind, you don't capture the nodes inside games:show, so the
inner bind is binding the same nodes as the outer bind.
Change:
bind("games", html,
"show" -> gameMap.values.toList.flatMap
to:
bind("games", html,
"show" -> { (html: NodeSeq) => gameMap.values.toList.flatMa
Tim,
Goat Rodeo is #5 on my priority list, but #'s 1-3 have been consuming all my
time. I've committed to a Goat Rodeo preso at November BASE (Bay Area
Scala Enthusiasts), so it's gotta bubble up.
When I've got enough stuff out of my head and into code, I'll be happy to
invite collaborators. Als
Hi All,
Can anyone tell me how Goat Rodeo is coming along? I am interested in
working on a transaction processing engine. Can anyone tell me how to
contribute to this project. By the way, I have worked done a lot of
work with GemStone, which is a Transactional Memory based Object
Oriented Databas
For the large part, I agree, the level of questions even I know is
geingt a bit too much, and the amount of patience you all use
answering them even though you know you just answered that a week ago
is commendable. That said you commiters don't have time to waste
answering those questions, that's
So if give a CometActor a static name, say "Other", then every request will
get the same running instance of the CometActor. But if I name it
dynamically, say with a random string, each request will get its own
instance of the CometActor. Right?
--
Jack
--~--~-~--~~~-
Hello koveen,
I'll tell you some of my experiences with Lift/Scala to give you some
idea. I learned to code basic and some what they called then Machine
Language on a Commodore Vic 20 and a 64 oh so long ago, I learned a
bit of C then gave it up. I learned a bit of PHP since then but that's
it. I
Ko,
You are in an interesting position :) ... Personally if I would be in
your place I would not start with PHP. I would probably start
understanding Java servlets and the horrible and crappy JSP's. Then I
would try to understand Java not only as a language but also as a
platform. Then I would st
Ko,
Id echo DPP's comments... if you are a real beginer then perhaps
consider PHP as it will provide you with a quicker route to market.
Lift is a great bit of software engineering, but parts of it are
truley non-trival and will no doubt be completely inappropriate for a
beginner... hell, we have
I want to raise another related point.
Currently all mapped fields have to be passed "this". Is there a way to not
require it?
Can Mapper or Record use an implicit object etc. to fill in "this"?
Or could there be an inner derived class that knows its parent, like I recently
did for ModelView? In
David,
no need to appologise! I think you do all necessary to clarify issues
at hand and defend the interests of the lift community!
And I am very happy with the liftbook too! But yes I've spent two
weekends to try to accomplish some simple task and failed.
And because of that, indeed it has cro
Sorry - APIResponse code not borrowed from skittr, but ESME (http://
incubator.apache.org/esme/)
Thus, depending on your call's extension (.json or .xml) you can serve
the response in the required format.
Anyhoo, back to the question... :-)
Thanks,
Juan
On Oct 6, 5:48 pm, Juan M Uys wrote:
> H
Geez. I knew I was overlooking something stupid. Thanks for your help.
On Tue, Oct 6, 2009 at 11:49 AM, Ross Mellgren wrote:
>
> You are using a dispatch snippet, which means the name after "." in
> the lift tag is passed to the dispatch method of your snippet, rather
> than using reflection t
As i said before i'm not sure that i'm getting the whole picture and
maybe my initial question is incorrect in its root. Still:
Suppose i have a Person class declared with Mapper/Record and i want
to reuse the class and all the code associated with it in another
module/project. My first thought w
On Oct 6, 12:31 pm, David Pollak
wrote:
> We try to make Lift accessible to a wide range of folks who want to build
> web sites. However, there are lower-bounds on what we can do. By and
> large, PHP is a great place to start in terms of mapping simple HTTP
I was going to suggest CakePHP as
On Tue, Oct 6, 2009 at 1:39 AM, Peter Robinett wrote:
>
> Thanks, all. While David Bernard's plan to update the maven plugin is
> very welcome, the fact that Scala Actors don't work for Comet actors
> suggests that I should switch to the Sun JVM.
>
Keep in mind I was on Ubuntu 8.04 (granted this
I'm deploying a Lift application into JBoss as another WAR alongside
the rest of our application in a separate WAR, and I'm running into
problems with the context path rewriting. I've deployed my WAR with an
appropriate jboss-web.xml file which sets the context path to /myapp,
and now I'd
On Tue, Oct 6, 2009 at 9:50 AM, Oleg G. wrote:
>
> Thanks for all the answers and especially for David's clarification.
> It would be really cool to upgrade the 'keeping the meaning with the
> bytes' thing (http://blog.lostlake.org/index.php?/archives/19-Keeping-
> the-meaning-with-the-bytes.html
Dear Ismael,
i got buried under some other work and forgot to thank you for this note. If
you look further down on the web page you referenced you will see that the
pom.xml snippets they include have the characters escaped as you suggested.
i cut and pasted these into my pom.xml for my experiments
Stefan,
thanks for your reply. :)
to anwser your questions: I have no experience with Java and I only
made some very simple static websites, years ago. I will try to listen
to you and try to make a very simple website with Lift. But if -IF-
I've succeeded in doing that, I hope you will excuse me
Thanks for all the answers and especially for David's clarification.
It would be really cool to upgrade the 'keeping the meaning with the
bytes' thing (http://blog.lostlake.org/index.php?/archives/19-Keeping-
the-meaning-with-the-bytes.html) to allow extension/customization.
> Generally, yes. I
Hi Lifters,
I'm building a REST server and a separate stand-alone DHTML client
which won't necessarily be hosted on the same server. Some browsers do
not support cross site Ajax, hence JSONP (i.e. callback support).
My DHTML client now makes calls like the following, using jQuery:
GET /api/ver
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 PropertyResourceBundle.
Am I missing something? Or
I understand this is solved, would you care to shine some light on
making an image a button with lift?
either making a button with the image as an icon, or making an image
that is made form my snippet.
Thanks
On Sep 24, 3:52 pm, Indrajit Raychaudhuri wrote:
> One more trick learned at the cos
On Tue, Oct 6, 2009 at 8:20 AM, Tim Nelson wrote:
>
> On Tue, Oct 6, 2009 at 10:10 AM, David Pollak <
> feeder.of.the.be...@gmail.com> wrote:
>
>>
>> I don't care for the pattern, but it comes from Scala history... so
>>
>> In the days of Scala 2.3, an inner object had different class and met
We try to make Lift accessible to a wide range of folks who want to build
web sites. However, there are lower-bounds on what we can do. By and
large, PHP is a great place to start in terms of mapping simple HTTP
requests into simple web pages with a little RDBMS storage.
Personally, I don't think
On Tue, Oct 6, 2009 at 9:03 AM, harryh wrote:
>
> > This is a feature request and I just committed an implementation to my
> > branch.
>
> This looks great. If there is anyway it could get committed to master
> in time for M6 (which is coming out any day now right?) that would be
> very very hel
Never mind, I found it.
Glenn
On Oct 6, 9:02 am, glenn wrote:
> Sounds like it might work for me. What package and class
> is render found in.
>
> Glenn
>
> On Oct 6, 8:47 am, harryh wrote:
>
> > For now I am doing this. It's not so bad.
>
> > def xmlToJson(xml: Elem): JsExp = {
> > val jso
> This is a feature request and I just committed an implementation to my
> branch.
This looks great. If there is anyway it could get committed to master
in time for M6 (which is coming out any day now right?) that would be
very very helpful to me.
Thanks for your work on this stuff Joni!
-harr
Sounds like it might work for me. What package and class
is render found in.
Glenn
On Oct 6, 8:47 am, harryh wrote:
> For now I am doing this. It's not so bad.
>
> def xmlToJson(xml: Elem): JsExp = {
> val json = Xml.toJson(xml) map {
> // some mappings specific to my json needs
> }
>
You are using a dispatch snippet, which means the name after "." in
the lift tag is passed to the dispatch method of your snippet, rather
than using reflection to find a method with the same name. So, you
need to add:
case "addGame" => addGame
to your def dispatch
-Ross
On Oct 6, 2009, a
For now I am doing this. It's not so bad.
def xmlToJson(xml: Elem): JsExp = {
val json = Xml.toJson(xml) map {
// some mappings specific to my json needs
}
JsRaw(Printer.compact(render(json))
}
JsonResponse(xmlToJson(xml))
On Oct 6, 11:17 am, David Pollak
wrote:
> Please open a tick
On Oct 6, 3:52 am, Stefan Langer wrote:
> Not ment as a offence but you are in way over your head!
This is a case of running before walking I think.
Ko, web app development encompasses *many* aspects, and jumping in
with a Functional/OO hybrid language based framework may not be the
best idea i
On Tue, Oct 6, 2009 at 10:10 AM, David Pollak wrote:
>
> I don't care for the pattern, but it comes from Scala history... so
>
> In the days of Scala 2.3, an inner object had different class and method
> visibility than a val instantiated in the same way. So, if you had:
>
> object foo exten
I have added a mapping of game_state to the DispatchSnippet GameState.
This works for game_state.list, but fails for game_state.addGame,
shown below.
What did I screw up this time?
WARN - Snippet Failure: SnippetFailure(/ ->
ParsePath(List(index),,true,false),Full(game_store.addGame),Stateful
Sni
On Oct 6, 12:52 am, Stefan Langer wrote:
> Not ment as a offence but you are in way over your head!
While I agree. Linus Torvalds was in much the same place. He has
to somewhere :)
> A couple of things:
> 1. You say you are a non-programmer but I assume you do understand Scala? Or
> else
Please open a ticket for this. We need to get the rest of Lift playing well
with Joni's excellent JSON library.
On Tue, Oct 6, 2009 at 7:43 AM, glenn wrote:
>
> I want to pass the result of Xml.toJson to JsonResponse. How can I do
> that, when JsonResponse takes a JsExp as
> a parameter, not a
On Tue, Oct 6, 2009 at 7:52 AM, Kris Nuttycombe
wrote:
>
> One major reason for the "inner object" pattern is that when you have
> a singleton object extending a trait, it is possible for the trait to
> reflect upon that object's class to obtain information like the name
> of the field. You'll see
One major reason for the "inner object" pattern is that when you have
a singleton object extending a trait, it is possible for the trait to
reflect upon that object's class to obtain information like the name
of the field. You'll see this pattern used throughout Lift (AnyVar
subclasses RequestVar
I want to pass the result of Xml.toJson to JsonResponse. How can I do
that, when JsonResponse takes a JsExp as
a parameter, not a JValue.
Glenn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to
On Oct 2, 7:55 pm, Dave wrote:
> Hi all-
>
> I posted this on stackoverflow but I figure its probably relevant here
> too. I checked out the post with David and Steve Yen corresponding
> but I am still at a loss and am curious if any progress has been made
> in this direction. So, here goes.
Hi Everyone,
I have a comet actor that binds XHTML. The XHTML corresponds to a
snippet:
XHTML for comet actor ->
When the comet actor receives a certain message, the render method of
the comet actor binds the following XHTML ->
The Discuss snippet's "invite" meth
Well, I am only a beginner myself but here are my 2 cents:
- My guess is that they are declared as inner objects to make it
possible to reach certain global field properties through the
companion MetaMapper object.
- As far as I know traits cannot be directly instantiated, only
extended or mixed
Thanks David. The command I was trying to remember was deploy-war but I kept
using run-war. The names are not quite precise. run-war should be called
build-and-run-war, and deploy-war is really run-with-war. If those names
were not so horribly long, that is.
On Tue, Oct 6, 2009 at 3:05 AM, David B
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 default. I want to be able to change thes
Hi,
I fixed this but it will slip M6. You can build a fixed version from
branch if you need it now. Please see the changeset 'Scala XML
support...':
http://github.com/dpp/liftweb/commits/joni_wip_xml
Cheers Joni
On Oct 5, 9:22 pm, harryh wrote:
> Xml.toJson (in M5) is converting this:
>
> htt
On Tue, Oct 6, 2009 at 12:01 AM, Kevin Wright wrote:
>
> On Mon, Oct 5, 2009 at 10:54 PM, Jack Widman
> wrote:
> > I'm not sure English is Turing Complete. Also not sure how prominent it
> will
> > be in 50 years ... :)
>
> Nor I, but I'm certain that Turing was (Queen's) English complete... :)
Thanks, all. While David Bernard's plan to update the maven plugin is
very welcome, the fact that Scala Actors don't work for Comet actors
suggests that I should switch to the Sun JVM.
Peter
On Oct 6, 8:50 am, David Bernard wrote:
> yuicompressor 2.3.x doesn't work with openjdk
> (https://bugs.
Not ment as a offence but you are in way over your head!
A couple of things:
1. You say you are a non-programmer but I assume you do understand Scala? Or
else it is pointless to use Lift as it is based on the Scala language and
relies heavily on its features. Knowledge of Java is also a plus cause
Sorry if its a stupid question, but why?
I like the idea very much and trying to understand all the aspects.
Fields declared as 'objects' can't be overridden. Is it intended? If
so why?
Consider following oversimplified example:
trait Field
trait Prop1
trait Prop2
trait Prop3
class Pe
To create a war :
mvn package
To deploy (outline), (war are bundles that need a WebApp server to run
(eg : jetty, tomcat, glassfish, jboss,...):
# install jetty on your server (not maven)
## start jetty
## try http://jetty.host:jetty.port/ (eg: http://127.0.0.1:8080/)
## stop
# put your .war int
79 matches
Mail list logo