[Lift] TextileParser

2009-10-25 Thread jack
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

[Lift] Re: About the localization with lift:loc !

2009-10-25 Thread Neil.Lv
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 feeder.of.the.be...@gmail.com wrote: Please make sure your

[Lift] Re: About the localization with lift:loc !

2009-10-25 Thread Neil.Lv
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 feeder.of.the.be...@gmail.com wrote: Please make sure your

[Lift] Re: TextileParser

2009-10-25 Thread ktz
Hi Jack, Add following code to pom.xml. dependency groupIdnet.liftweb/groupId artifactIdlift-textile/artifactId version1.1-SNAPSHOT/version /dependency On Oct 25, 3:23 pm, jack jack.wid...@gmail.com wrote: I am trying to use TextileParser and so I am importing it but

[Lift] Re: Is there a built-with-lift list?

2009-10-25 Thread Jeppe Nejsum Madsen
David Pollak feeder.of.the.be...@gmail.com writes: 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/ I can add

[Lift] Re: About the localization with lift:loc !

2009-10-25 Thread Jeppe Nejsum Madsen
David Pollak feeder.of.the.be...@gmail.com writes: Please make sure your lift-core_zh_CN.properties was saved as UTF-8 Unless, lift does it's own property loading, property files need to be in ISO-8859: When saving properties to a stream or loading them from a stream, the ISO 8859-1 character

[Lift] Re: Is there a built-with-lift list?

2009-10-25 Thread Timothy Perrett
My latest lift app: http://mediapro09.xmpie.com A technical breakdown can be found on my blog :-) Cheers, Tim Sent from my iPhone On 25 Oct 2009, at 09:57, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: David Pollak feeder.of.the.be...@gmail.com writes: A quick list of public sites (there

[Lift] Re: About the localization with lift:loc !

2009-10-25 Thread Timothy Perrett
Neil, This is normal practice with java localisation - the best thing is do write all your strings then use native2ascii or similar tooling to convert it into the unicode representation. Glad you found my article helpful. Cheers, Tim On Oct 25, 5:02 am, Neil.Lv anim...@gmail.com wrote:    if

[Lift] Re: Proposal : Lift ticketing system

2009-10-25 Thread monty chen
+1, good pr Proposal. On 10月25日, 上午11时17分, Naftoli Gugenheim naftoli...@gmail.com wrote: 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

[Lift] About the ajaxButton's confirm ?

2009-10-25 Thread Neil.Lv
Hi all, I use the ajaxButton to delete the record from the database, and How can the ajaxButton surpport the confirm dialog when clicking the delete button(ajaxButton) ? 1:) I use this method that it will be show the confirm dialog when clicking the delete button, but it never call

[Lift] Re: Proposal : Lift ticketing system

2009-10-25 Thread Marius
Should this topic be correlated with Derek's http://groups.google.com/group/liftweb/browse_thread/thread/a3d046c7159a4f39?hl=en ? On Oct 25, 5:17 am, Naftoli Gugenheim naftoli...@gmail.com wrote: How about we integrate the wiki, blog, forum, and issue tracker into the CMS? ;) Seriously,

[Lift] lift-json serialization primitive types

2009-10-25 Thread Christophe Dehlinger
Hi, Is there a way to configure lift-json's case class serialization so that it uses Joda DateTimes instead of java.util.Date ? I'd like to known how to make the simple following code work as expected: import net.liftweb.json._ import org.joda.time._ case class MyCaseClass(dt: DateTime) object

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-25 Thread David Pollak
I made my decision. It's not open for any more debate (that's what happens when there's a BDFL around... he can make a final decision). I listened to your position as you have articulated it in this thread. I seriously and deeply considered your position and those of others. But I made a

[Lift] Re: Proposal: Lift-unstable branch (was Are we willing to make a breaking change for Joda Time?)

2009-10-25 Thread David Pollak
Kris, I'm all for an unstable branch. I like exploration. I doubt I can spend a lot of time contributing to the branch, but using the powers of Maven and Git, I think it would be pretty easy to have such a branch. The breaking change issue was a small part of why I rejected Derek's proposal.

[Lift] Re: confusing error on missing bind

2009-10-25 Thread bob
indeed, you are correct. i thought the message was coming from Lift! On Oct 24, 8:11 pm, Kris Nuttycombe kris.nuttyco...@gmail.com wrote: 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

[Lift] Re: About the ajaxButton's confirm ?

2009-10-25 Thread Marius
Please use this definition of the ajax button: def ajaxButton(text: NodeSeq, jsFunc: Call, func: () = JsCmd, attrs: (String, String)*): Elem I described the functionality here:

[Lift] Re: YUI Compressor Fatal Error

2009-10-25 Thread David Bernard
FYI: I released a new version of yuicompressor-maven-plugin (same code but use yuicompressor-2.4.2) Note that the groupId was changed, and that the plugin is not yet available on central repo : repository nameoss.sonatype.org - github-releases/name idoss.sonatype.org-releases/id

[Lift] 1.1

2009-10-25 Thread jack
I have been using lift 1.0. What is the best way to upgrade to 1.1? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this

[Lift] Re: 1.1

2009-10-25 Thread Timothy Perrett
Jack, This question has been asked quite a number of times recently on list. Change: version1.0/version on the liftweb dependencies in your pom.xml to be: version1.1-SNAPSHOT/version That will give you the latest HEAD build. If you want a known point in time, use M6: version1.1-M6/version

[Lift] Re: 1.1

2009-10-25 Thread Jack Widman
Thanks Tim. And next time I will search more before asking. On Sun, Oct 25, 2009 at 2:26 PM, Timothy Perrett timo...@getintheloop.euwrote: Jack, This question has been asked quite a number of times recently on list. Change: version1.0/version on the liftweb dependencies in your pom.xml

[Lift] Re: 1.1

2009-10-25 Thread Timothy Perrett
Your welcome Jack. Have fun. Cheers, Tim On 25 Oct 2009, at 18:28, Jack Widman wrote: Thanks Tim. And next time I will search more before asking. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To

[Lift] Re: Submitting a form and returning results

2009-10-25 Thread ben
I worked around this in the end with a stateful snippet, not sure it feels right though ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To

[Lift] Re: lift-json serialization primitive types

2009-10-25 Thread Joni Freeman
Hi, Serializing joda-time is not supported. Last week a type hint mechanism was added to support serialization of polymorphic Lists. This could be generalized a bit so that users can provide de-/ serializers for any type. This could be done for instance using a pair of partial functions.

[Lift] The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist

2009-10-25 Thread Timothy Perrett
Guys, Im getting the below when building a fresh pull of lift - It doesnt even appear to be looking at scala-tools, despite it being defined. Very odd, any ideas? Cheers, Tim [INFO] Searching repository for plugin with prefix: 'scala'. [INFO] org.apache.maven.plugins: checking for updates

[Lift] Re: Proposal : Lift ticketing system

2009-10-25 Thread Naftoli Gugenheim
Did my Peek cause it to go in a separate thread? If so, sorry! - Mariusmarius.dan...@gmail.com wrote: Should this topic be correlated with Derek's http://groups.google.com/group/liftweb/browse_thread/thread/a3d046c7159a4f39?hl=en ? On Oct 25, 5:17 am,

[Lift] Register new StatefulSnippet

2009-10-25 Thread Naftoli Gugenheim
This may be more of a feature request than a question. I generally use StatefulSnippets rather than RequestVars. I have several places in my Lift webapp where one should be redirected to a screen managed by a StatefulSnippet. Until recently I thought it would suffice to use S.mapSnippet to map

[Lift] How to give a time lmit to display a message

2009-10-25 Thread sunanda
Hi, I need to display a message only for few seconds using SetHtml. E.g. SetHtml(msg,Text(Hello)). How can I do this Thanks. Sunanda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group,

[Lift] Re: The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist

2009-10-25 Thread YING-KWANG TU
hi Tim, May I ask which version of lift is in question? master? 1.1-M6? Thank you. yk On Mon, Oct 26, 2009 at 3:12 AM, Timothy Perrett timo...@getintheloop.euwrote: Guys, Im getting the below when building a fresh pull of lift - It doesnt even appear to be looking at scala-tools,

[Lift] Re: About the ajaxButton's confirm ?

2009-10-25 Thread Neil.Lv
The work flow is like this: 1. When pressing the button, the js function will be executed, like the js confirm() method, if choose the 'NO' and nothing will be happen, but choose the 'YES' and the Ajax request is sent to the server 2. On server side Lift executes your scala

[Lift] How to use the many-to-many relationship in the lift Model ?

2009-10-25 Thread Neil.Lv
Hi all, Dose anybody know that how to use the many-to-many relationship in the lift model ? * We need to create a 3 models to represent the 3 tables ( teachers, students, teacher_student ) ex: teachers - id, name, sex, age, ... students - id, name, sex, age, ...

[Lift] Re: About the localization with lift:loc !

2009-10-25 Thread Neil.Lv
in the /index.html ### both of them are not work ! lift:loc locid=log.inLog in/lift:loc lift:loc id=log.inLog in/lift:loc ### Cheers, Neil On Oct 25, 6:27 pm, Timothy Perrett timo...@getintheloop.eu wrote: Neil, This is normal practice with java localisation - the best thing is do

[Lift] Re: How to use the many-to-many relationship in the lift Model ?

2009-10-25 Thread YING-KWANG TU
Neil, The following thread has very good information on many-to-many implementation: http://groups.google.com.my/group/liftweb/browse_thread/thread/5793917fee419f89 I can't summarize it for you but the thread above do give you some pointers. Cheers, yk On Mon, Oct 26, 2009 at 11:52 AM,

[Lift] Re: NetBeans is barfing on the new pom.xml structure

2009-10-25 Thread Indrajit Raychaudhuri
Thanks David, that's pretty much the plan for me too. If you come across something out of the way in the current build configs, feel free to point them. It would be very helpful. Cheers, Indrajit On 25/10/09 12:26 AM, David Bernard wrote: At work, I configure the root pom.xml with (increase

[Lift] Re: The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist

2009-10-25 Thread Indrajit Raychaudhuri
Tim, That's odd indeed. Hopefully your local repository is not broken. Can you please attempt it on the branch irc_wip_restruct_stage and see if it happens there too? If it still persists for you I'll take a look later in the day. Cheers, Indrajit On 26/10/09 12:42 AM, Timothy Perrett

[Lift] Re: How to use the many-to-many relationship in the lift Model ?

2009-10-25 Thread YING-KWANG TU
Neil, In a nutshell... assuming teacher is the main entity and student is another entity. You will need to: In your teachers class: 1. extend with ManyToMany trait 2. declare a students object of type MappedManyToMany(teacher_student, teacher_student.teacher_id,

[Lift] Re: How to use the many-to-many relationship in the lift Model ?

2009-10-25 Thread Naftoli Gugenheim
What is your intention regarding the students.teacher object? - YING-KWANG TUying.kwang...@gmail.com wrote: Neil, In a nutshell... assuming teacher is the main entity and student is another entity. You will need to: In your teachers class: 1. extend

[Lift] Re: Lift Actor names

2009-10-25 Thread Heiko Seeberger
I agree, the names could be improved. Is there still a chance to do so? Heiko 2009/10/25 Naftoli Gugenheim naftoli...@gmail.com I was looking at Actor.scala, which contains SimpleActor, SimplestActor, TypedActor, GenericActor, and ForwardableActor. Some people will say, once you know what