Yeah, it's saved as U8-UNIX encoding by the Ultraedit.
My IE's default language is zh_CN, but i get the same garbled in the
browser.
Like this in the browser.
###
555å Ž
###
Cheers,
Neil
On Oct 25, 7:19 am, David Pollak
wrote:
> Please make sure your lift-core_zh_CN.properties was saved a
if i use this code and it works correctly !
Code:
###
login = \u52a8\u4f5c
###
But it's so difficult to write code !
I don't know what happens with it .
Cheers,
Neil
On Oct 25, 7:19 am, David Pollak
wrote:
> Please make sure your lift-core_zh_CN.properties was saved as UTF
I am trying to use TextileParser and so I am importing it but I'm
getting the error.
value textile is not a member of package net.liftweb
What am I missing?
Jack
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Li
Seems to be a good idea, Glen is working on one...
http://github.com/glennSilverman/democritus
his could be folded over and fleshed out...
On Oct 25, 2:17 pm, Naftoli Gugenheim wrote:
> How about we integrate the wiki, blog, forum, and issue tracker into the CMS?
> ;)
> Seriously, maybe it wo
I was looking at Actor.scala, which contains SimpleActor, SimplestActor,
TypedActor, GenericActor, and ForwardableActor.
Some people will say, once you know what something does, who cares what it's
called? But names can really make a difference in learning curve, memorization,
and code readabil
Kmo b'ivrit, l'dugma? ;)
-
Derek Chen-Becker wrote:
The ticket is for Unicode text fields, so if you could try having a Lift app
schemify a new table and enter some unicode text that should test it.
Derek
On Fri, Oct 23, 2009 at 4:11 PM, Timothy Perrett wrot
Just want to mention that m2eclipse also had a problem. Thanks for addressing
it.
-
Indrajit Raychaudhuri wrote:
Plugin and extension versions are optional in Maven pom. Not providing
the version has a small advantage - it defaults to RELEASE and pulls up
Well if users would, for at least one release, explicitly say which time
library they want to use, this kind of bug would not occur.
It's not 'jt' per se; rather, as Derek said, it's having names that indicate
the implementation detail rather than simply what it does. It makes code less
readabl
How about we integrate the wiki, blog, forum, and issue tracker into the CMS? ;)
Seriously, maybe it would be a good idea to create a repo and list, and start
serious discussion on all aspects of its design. Maybe it could become a big
community project, with lots of feedback to Lift.
Cool sites! Thanks. I hope someday the list will show up on leftweb.net :)
On Sat, Oct 24, 2009 at 4:15 PM, David Pollak
wrote:
> A quick list of public sites (there are a fair number behind the firewall at
> places like SAP and Seimens):
>
> http://foursquare.com
> http://nofouls.com/
> http://
On Sat, Oct 24, 2009 at 5:18 PM, David Pollak
wrote:
> In general, it all sounds very good to me.
> What was your motivation (other than pure aesthetics)?
> If there are breaking changes to code, will they be super-obvious
> (compilation failures)?
>
Oh... and yeah, replacing NullLocParams with
You'll notice if you look at the page source that the error you saw is
actually generously provided by Firefox, not by Lift. There is an
overload of bind that you could use that allow you to provide a
default for any unbound value, although of course this can obscure
errors. For a while there was
My motivation was twofold: first, I wanted to be able to control
access to a Loc based upon the data in the Loc itself (hence the new
IfValue and UnlessValue) and in the process I realized that there was
a disconnect in type safety between for example the Title LocParam and
the Loc itself because
is that for Scala or Perl? :)
On Oct 24, 4:49 pm, Randinn wrote:
> This may not be it, but you can at least print out this list :)
>
> http://jim-mcbeath.blogspot.com/2008/12/scala-operator-cheat-sheet.html
>
> On Oct 24, 6:47 am, bob wrote:
>
>
>
> > >I'll repeat: there are no operators in sca
seriously, if you're suggesting that since function/method names don't
have to have any relationship to the algorithm therein, so using
punctuation should be fine, then why not just use single letters,
followed by an optional digit, and be done.
`When I use a word,' Humpty Dumpty said, in rather
the following error was the result of a bug in my app: i had an
element () in the template which I had forgotten to
bind in the snippet
>This page contains the following errors:
>error on line 18 at column 48: Namespace prefix queries on service is not
>defined
in a big red box
first, there is
On Sat, Oct 24, 2009 at 1:14 PM, Troy Noble wrote:
>
> I guess I need a little advice. I want to make sure we're on the
> right track.
>
> I lead a team of 3 folks and we are liftweb newbies... been doing
> things the hard way with mod_python & cheetah & hand-written AJAX +
> JavaScript with dht
Please make sure your lift-core_zh_CN.properties was saved as UTF-8
On Sat, Oct 24, 2009 at 11:31 AM, Neil.Lv wrote:
>
> Hi all,
>
> I create a props file in the resources folder /src/main/resources/
> i18n/lift-core_zh_CN.properties
>
> And i changed the "log.in" text value.
>
> Now i us
In general, it all sounds very good to me.
What was your motivation (other than pure aesthetics)?
If there are breaking changes to code, will they be super-obvious
(compilation failures)?
On Fri, Oct 23, 2009 at 5:04 PM, Kris Nuttycombe
wrote:
>
> Hi, all,
>
> I've been messing around with Loc
A quick list of public sites (there are a fair number behind the firewall at
places like SAP and Seimens):
- http://foursquare.com
- http://nofouls.com/
- http://innovationgames.ocm
- http://udorse.com/
On Sat, Oct 24, 2009 at 11:24 AM, jlist9 wrote:
>
> Oh I think it'll be very h
Derek,
I'd love to see your excellent talents pointed toward a ticketing system.
Think the idea of a ticketing system that's less modal and a lot more ajaxy
(and comety with live updates) would be a stellar thing to show off Lift's
goodies... plus I think it would lead to improving/enhancing Lift
Everywhere that Lift converts String -> Array[Byte], it uses "UTF-8" for
encoding. That happens when XML and Strings are converted to HTTP
responses.
On Sat, Oct 24, 2009 at 11:15 AM, jlist9 wrote:
>
> I've had problems with system/JVM default locale before.
> When no encoding/charset is specif
I guess I need a little advice. I want to make sure we're on the
right track.
I lead a team of 3 folks and we are liftweb newbies... been doing
things the hard way with mod_python & cheetah & hand-written AJAX +
JavaScript with dhtmlx components with no web framework (no django or
rails). Crazy
This may not be it, but you can at least print out this list :)
http://jim-mcbeath.blogspot.com/2008/12/scala-operator-cheat-sheet.html
On Oct 24, 6:47 am, bob wrote:
> >I'll repeat: there are no operators in scala
>
> s/operators/methods-with-operator-like-names/
>
> anywhere, here's a typical
>
> Scala is not like, for example, BASIC, where you can look up FOR, IF/
> THEN/ELSE. there's lots of individual and compound punctuation marks
> that are very difficult to search for online and in PDFs (try
> searching for "!").
>
This is where I am coming from, coding after a 16 or so year h
I have added the characterEncoding in the DB url, and it works now.
###
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://localhost/hello?characterEncoding=gbk
db.user=root
db.password=
###
Thanks very much ! :)
Cheers,
Neil
On Oct 25, 2:09 am, David Pollak
wrot
This brings to mind something I've been thinking about for a while -
what would folks think about the possibility of creating a
"lift-unstable" branch? Lift is only a couple of years old, and it
seems to me like it would be unfortunate to start stagnating
development due to concerns about backward
Hi all,
I create a props file in the resources folder /src/main/resources/
i18n/lift-core_zh_CN.properties
And i changed the "log.in" text value.
Now i use this code in my index.html page, and it doesn't corretly.
(garbled)
### it doesn't work
Log in
###
This informatio
At work, I configure the root pom.xml with (increase size of parent
pom.xml but define the rules for every children (idem for
dependencies))
org.scala-tools
maven-scala-plugin
2.12.2
org.codehaus.mojo
buildnu
On Sat, Oct 24, 2009 at 8:18 PM, bob wrote:
>
> why, it reformats your hard drive
>
oh snap
>
> On Oct 23, 6:17 pm, Viktor Klang wrote:
> > But if you name your method: "ashiuahsdyasdasd" what does it do?
> >
> >
> >
> >
> >
> > On Fri, Oct 23, 2009 at 9:47 PM, bob wrote:
> >
> > > >I'll rep
ERP systen or parts, which is what I'm working over on sourceforge. Ill post a
link when I get home. The models are built and just need apps in front of them.
Sent on the Now Network™ from my Sprint® BlackBerry
-Original Message-
From: jlist9
Date: Sat, 24 Oct 2009 11:20:43
To:
Subj
Feel free to suggest other ideas or vote on the ones proposed so far :)
On Sat, Oct 24, 2009 at 12:20 PM, jlist9 wrote:
>
> CMS, wiki, blog, forum also sound more interesting than bug tracking
> system to me :-)
>
> On Sat, Oct 24, 2009 at 11:13 AM, aw wrote:
> >
> > I don't mean to be negative
Oh I think it'll be very helpful to have one, from the perspective of someone
new to Lift. People would want to see the capability of a framework before
they adopt it. The demo is very nice but real sites are more convincing.
On Sat, Oct 24, 2009 at 10:47 AM, David Pollak
wrote:
>> I'd like to
CMS, wiki, blog, forum also sound more interesting than bug tracking
system to me :-)
On Sat, Oct 24, 2009 at 11:13 AM, aw wrote:
>
> I don't mean to be negative, but are other options being considered
> besides a ticketing system? I kind of wonder if the effort is worth
> it when excellent alt
why, it reformats your hard drive
On Oct 23, 6:17 pm, Viktor Klang wrote:
> But if you name your method: "ashiuahsdyasdasd" what does it do?
>
>
>
>
>
> On Fri, Oct 23, 2009 at 9:47 PM, bob wrote:
>
> > >I'll repeat: there are no operators in scala
>
> > s/operators/methods-with-operator-like-n
I've had problems with system/JVM default locale before.
When no encoding/charset is specified in new String(bytes[] data)
or String getBytes(), it uses the default locale. When the default
locale is not UTF-8, there will be a problem. I'm not sure where
the problem is, though.
You can capture th
I don't mean to be negative, but are other options being considered
besides a ticketing system? I kind of wonder if the effort is worth
it when excellent alternatives exist (like JIRA -- their Git
integration may interest you: https://plugins.atlassian.com/plugin/details/4984
-- I have used thei
On Sat, Oct 24, 2009 at 11:03 AM, Neil.Lv wrote:
>
> Yeah, i using the mysql to test my app.
>
> The is in my props file.
> ##
>db.driver=com.mysql.jdbc.Driver
>db.url=jdbc:mysql://localhost/hello
>
The above line is the problem. You're not telling the JDBC driver to
convert Stri
Yeah, i using the mysql to test my app.
The is in my props file.
##
db.driver=com.mysql.jdbc.Driver
db.url=jdbc:mysql://localhost/hello
db.user=root
db.password=
#
Cheers,
Neil
On Oct 25, 1:51 am, jlist9 wrote:
> I'm not familiar with how Lift handles strings
In my page the Charset is UTF-8, and thisi is my platform information.
Apache Maven 2.2.1 (r801777; 2009-08-07 03:16:01+0800)
Java version: 1.6.0_05
Java home: C:\Java\jdk1.6.0_05\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
On Sat, Oct 24, 2009 at 11:01 AM, jlist9 wrote:
>
> Does Lift assume that it gets text from browser in UTF-8?
>
Lift relies on the container to convert bytes to String correctly. All
containers except Tomcat do it right (using the encoding in the
Content-Type, and if that's absent defaulting to
Thanks David. You were right. I added this line:
conn.addRequestProperty("content-type", "text/xml")
and it works perfectly.
Thanks again.
GA
On Oct 23, 2009, at 7:36 PM, David Pollak wrote:
> In order to trigger XML parsing, you have to set the Content-Type to
> text/xml
>
> On Fri, Oct
On Sat, Oct 24, 2009 at 3:05 AM, Jeppe Nejsum Madsen wrote:
>
> Derek Chen-Becker writes:
>
>
> [...]
>
> > It's entirely subjective, but I just strongly dislike the idea of
> > using method names like jtNow, etc.
>
> I couldn't agree morecode just doesn't read nice anymore.
>
I'm cool with
Does Lift assume that it gets text from browser in UTF-8?
On Sat, Oct 24, 2009 at 10:57 AM, David Pollak
wrote:
>
>
> On Sat, Oct 24, 2009 at 10:51 AM, jlist9 wrote:
>>
>> I'm not familiar with how Lift handles strings but if the encoding
>> conversion
>> is what's missing, check out the Java S
On Sat, Oct 24, 2009 at 6:03 AM, Xuefeng Wu wrote:
>
> Hello,
>
> I create now lift project from M6 and find
> DependencyFactory.inject[Date] in HelloWorld.scala, but it don't work.
>
> I can not find the date at page, did I miss something?
>
This particular issue is fixed in SNAPSHOT.
The obje
On Sat, Oct 24, 2009 at 10:51 AM, jlist9 wrote:
>
> I'm not familiar with how Lift handles strings but if the encoding
> conversion
> is what's missing, check out the Java String class, look for work encoding
> or charset in java doc. Basically you can create a String with a specified
> encoding
On Sat, Oct 24, 2009 at 10:45 AM, Neil.Lv wrote:
>
> I just use the User's edit method that the ProtoUser ?
>
> What's method that i can do for conventing GBK to UTF-8 before
> saving ?
>
All Strings in Scala (and JVM) should render themselves correctly (e.g.,
carry around enough information t
I'm not familiar with how Lift handles strings but if the encoding conversion
is what's missing, check out the Java String class, look for work encoding
or charset in java doc. Basically you can create a String with a specified
encoding and use getBytes() to convert it to a different encoding.
Yo
On Sat, Oct 24, 2009 at 9:54 AM, jlist9 wrote:
>
> Hi all,
>
> I'd like to check out some sites/libraries built with Lift, open source
> or commercial. I wonder if there is a list somewhere?
>
Not yet.
>
> Thanks
>
> >
>
--
Lift, the simply functional web framework http://liftweb.net
Beginn
I just use the User's edit method that the ProtoUser ?
What's method that i can do for conventing GBK to UTF-8 before
saving ?
Cheers,
Neil
On Oct 25, 1:34 am, jlist9 wrote:
> It sounds like you aren't converting GBK encoding to UTF-8
> before you store the text?
>
> On Sat, Oct 24, 2009
On Sat, Oct 24, 2009 at 10:10 AM, Neil.Lv wrote:
>
> Hi all,
>
> I have a silly question about the Character Encoding in lift.
>
> My table is charset is utf8 in database.
>
> ###
> CREATE TABLE `users` ( .
> ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
> ###
>
> And in my boot.scala
It sounds like you aren't converting GBK encoding to UTF-8
before you store the text?
On Sat, Oct 24, 2009 at 10:10 AM, Neil.Lv wrote:
>
> Hi all,
>
> I have a silly question about the Character Encoding in lift.
>
> My table is charset is utf8 in database.
>
> ###
> CREATE TABLE `users`
Hi all,
I have a silly question about the Character Encoding in lift.
My table is charset is utf8 in database.
###
CREATE TABLE `users` ( .
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
###
And in my boot.scala file:
### the default code
LiftRules.early.append(makeUtf
Thanks davidB for pointing!
On 24/10/09 9:19 PM, David Bernard wrote:
>
> Not setting version of plugin :
> * create un-reproductible build (over time and developer configuration).
Just found this one too:
http://www.mail-archive.com/d...@maven.apache.org/msg82398.html. I had no
idea that the
Hi all,
I'd like to check out some sites/libraries built with Lift, open source
or commercial. I wonder if there is a list somewhere?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to
Not setting version of plugin :
* create un-reproductible build (over time and developer configuration).
* using le last release is not always a good idea (eg : the last 2
version of maven-eclipse-plugin introduce regression).
/davidB
On 2009-10-24, Indrajit Raychaudhuri wrote:
>
> Plugin and
I think it's a great idea.
I'm not sure if this would work, but if it appeared on github, we
could use it as an example app that new Lifters could study. Like
what we hoped PocketChange would be, but we have more of a need for a
ticket system, than a budget app.
On Oct 24, 10:21 am, Marius w
I'd LOVE TO SEE a ticketing system built in lift even though there are
so many other solutions out there.
The things that I'd like to see are:
1. When opening a Ticket I'd like to see fields like:
- Summary
- Description
- Severity
- Priority
- Assign to
- Followers. Submitter would
Plugin and extension versions are optional in Maven pom. Not providing
the version has a small advantage - it defaults to RELEASE and pulls up
the latest release automatically.
While it's possible that a plugin version would have backward incomplete
changes, in Lift we hardly do anything compl
The ticket is for Unicode text fields, so if you could try having a Lift app
schemify a new table and enter some unicode text that should test it.
Derek
On Fri, Oct 23, 2009 at 4:11 PM, Timothy Perrett wrote:
> Ahhh sorry I didn't see this before - I'm using lift mapper with SQL server
> at work
Hi,
I feel like I need to take a break from working *on* Lift for a little
while, but I'd like to do something with my time that would still benefit
Lift. Since we had a recent discussion on ticketing systems, and we had
talked a long time ago about dogfooding a ticket system, I thought that th
Hello,
I create now lift project from M6 and find
DependencyFactory.inject[Date] in HelloWorld.scala, but it don't work.
I can not find the date at page, did I miss something?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
looks cool. And if you're volunteering, then have at it.
:)
On Oct 23, 6:55 pm, Jim Barrows wrote:
> http://coderack.org/users/MetaSkills/entries/15-zombie-shotgun
>
> and yes, I'm volunteering. :)
>
> --
> James A Barrows
--~--~-~--~~~---~--~~
You received this m
Derek Chen-Becker writes:
[...]
> It's entirely subjective, but I just strongly dislike the idea of
> using method names like jtNow, etc.
I couldn't agree morecode just doesn't read nice anymore.
/Jeppe
--~--~-~--~~~---~--~~
You received this message be
64 matches
Mail list logo