[Lift] Re: Ajax error/notice/warning works but no class attribute is specified

2008-11-13 Thread Marius
Hi, Please see http://liftweb.net/index.php/HowTo_style_the_error/warning/notice_messages 3. You can use construct like S.error(msg_id, Error message) for both Ajax and non Ajax request however styling the messages differs a bit: 3.1 For Non-Ajax the styling is given by lift:error_class as

[Lift] Re: Problem with UTF-8 accented passed to 'submit' text field

2008-11-13 Thread sbocq
Yes but did you tried with hé!? :-) I'm using Eclipse IDE or Notepad++. The last issue Error in processing html page was because Eclipse defaults to cp1252 encoding on Windows for saving files. I went Window-Preferences-General- Workspace menu to change the default to UTF-8, saved the files

[Lift] Re: Ajax error/notice/warning works but no class attribute is specified

2008-11-13 Thread Ramzi BEN YAHIA
Very helpful, Thanks! Ramzi On Thu, Nov 13, 2008 at 1:36 PM, Marius [EMAIL PROTECTED] wrote: Hi, Please see http://liftweb.net/index.php/HowTo_style_the_error/warning/notice_messages 3. You can use construct like S.error(msg_id, Error message) for both Ajax and non Ajax request

[Lift] Re: Problem with UTF-8 accented passed to 'submit' text field

2008-11-13 Thread sbocq
I'm using Eclipse IDE or Notepad++. The last issue Error in processing html page was because Eclipse defaults to cp1252 encoding on Windows for saving files. I went Window-Preferences-General- Workspace menu and changed the default to UTF-8 to save the html files in the correct format and the

[Lift] Re: JQuery BlockUI

2008-11-13 Thread Erick Fleming
Got it. Thanks David On Thu, Nov 13, 2008 at 11:01 AM, David Pollak [EMAIL PROTECTED] wrote: On Wed, Nov 12, 2008 at 8:55 PM, Erick Fleming [EMAIL PROTECTED]wrote: I'm playing with some of the JQuery features, specifically ModalDialog, but I don't see the blockUI Plugin included. In

[Lift] Concatenating lists of nodes

2008-11-13 Thread Charles F. Munat
If I have a list thus: List(spanA/span,spanB/span,spanC/span) How can a get a NodeSeq thus from this: spanA/spanspanB/spanspanC/span I'm sure this is drop-dead simple, but it's still not obvious to me... Thanks, Chas. --~--~-~--~~~---~--~~ You received

[Lift] Output for trees

2008-11-13 Thread Charles F. Munat
If I have an entity thus: @Entity class Category { var name : String = } and another: @Entity class Example { var name : String = var exampleType : String = @ManyToOne var parent : Category = new Category() } And this data: Category A B C Example black

[Lift] Re: Concatenating lists of nodes

2008-11-13 Thread Jorge Ortiz
A NodeSeq is really just a Seq[Node]. And a List[Node] is also a Seq[Node]. Hence a List[Node] is a NodeSeq. scala import scala.xml.NodeSeq import scala.xml.NodeSeq scala val n: NodeSeq = List(spanA/span, spanB/span, spanC/span) n: scala.xml.NodeSeq = spanA/spanspanB/spanspanC/span --j On Thu,

[Lift] Re: Concatenating lists of nodes

2008-11-13 Thread Charles F. Munat
Sigh... I knew it had to be drop-dead simple. Not sure how I kept getting List(span...) output instead of span.../span out. Works now. Thanks. Chas. Jorge Ortiz wrote: A NodeSeq is really just a Seq[Node]. And a List[Node] is also a Seq[Node]. Hence a List[Node] is a NodeSeq. scala

[Lift] Re: Output for trees

2008-11-13 Thread David Pollak
I think you're going to have to do this one manually. Attached, please find some less than efficient code. On Thu, Nov 13, 2008 at 10:30 AM, Charles F. Munat [EMAIL PROTECTED] wrote: If I have an entity thus: @Entity class Category { var name : String = } and another: @Entity

[Lift] Re: Concatenating lists of nodes

2008-11-13 Thread Matt Harrington
On Thu, Nov 13, 2008 at 10:32 AM, Matt Harrington [EMAIL PROTECTED] wrote: Take a look at List.mkString(). It inherits from Iterable. ---Matt Erm, I'll retract this. :) ---Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Lift] Re: Output for trees

2008-11-13 Thread Charles F. Munat
That's kind of what I figured. Thanks for the code. I'll look through it. Chas. David Pollak wrote: I think you're going to have to do this one manually. Attached, please find some less than efficient code. On Thu, Nov 13, 2008 at 10:30 AM, Charles F. Munat [EMAIL PROTECTED]

[Lift] Re: Problem with UTF-8 accented passed to 'submit' text field

2008-11-13 Thread Sebastien Bocq
Sorry for the double posts... There is like a big delay between the time I post and the time it appears on the mailing list and it is not easy to write twice exactly the same text, hum hum... Sebastien --~--~-~--~~~---~--~~ You received this message because you

[Lift] Re: Problem with UTF-8 accented passed to 'submit' text field

2008-11-13 Thread David Pollak
On Thu, Nov 13, 2008 at 12:46 PM, Sebastien Bocq [EMAIL PROTECTED]wrote: Sorry for the double posts... There is like a big delay between the time I post and the time it appears on the mailing list and it is not easy to write twice exactly the same text, hum hum... New members of the group

[Lift] Olio

2008-11-13 Thread Jorge Ortiz
There's a new Apache Incubator project called Olio: Olio is a is a web2.0 toolkit to help evaluate the suitability, functionality and performance of web technologies. Olio defines an example web2.0 application ( an events site somewhat like yahoo.com/upcoming) and provides three initial

[Lift] Re: does this code make any sense?

2008-11-13 Thread David Pollak
Very interesting defect you found. There's a map of functions associated with the session. That map was not being updated for functions created during a partial update. I've committed a fix and tested it with the enclosed code. Thanks for finding the defect. As a matter of style, I don't

[Lift] Re: Two years loving Scala

2008-11-13 Thread Oscar Picasso
For me: + very nice language: it's really a pleasure to code with scala + very nice community: high quality discussions, very helpful, very smart people, very clever answers without being condescending, very responsive + good documentation (Programming with Scala) + a very good web framework