[Lift] Re: Rails -> Lift

2009-04-09 Thread Charles F. Munat
it really would help to have such a > document to help people decide. > > On Thu, Apr 9, 2009 at 5:58 AM, Charles F. Munat wrote: >> I'm writing a proposal for a presentation on moving from Rails to Lift. >> >> A couple of stumbling blocks that I've mentioned are

[Lift] Re: Rails -> Lift

2009-04-09 Thread Charles F. Munat
Ah, I get it now. Jacob Grydholt Jensen wrote: > No, he is talking about *developers* switching from rails to lift, not > projects. > > /grydholt > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" grou

[Lift] Re: Rails -> Lift

2009-04-09 Thread Charles F. Munat
Sorry, but I haven't got a clue what you're talking about. Chas. Warren Henning wrote: > You're proposing to scrap working code? > > Isn't that trying to fix something that isn't broken? > > Warren > > On Wed, Apr 8, 2009 at 8:58 PM, Charles F.

[Lift] Rails -> Lift

2009-04-08 Thread Charles F. Munat
I'm writing a proposal for a presentation on moving from Rails to Lift. A couple of stumbling blocks that I've mentioned are: 1. Understanding and taking advantage of immutable constructs. 2. Getting the hang of the view-centric approach to MVC. Before I go much further, I'd like to poll this

[Lift] liftAjax Yahoo issue?

2009-04-06 Thread Charles F. Munat
I'm using YUI to build an application interface. I built it in plain HTML and it runs just fine, but when I copy and paste that code into my lift app -- only difference: the liftAjax.js script -- I get the following errors in Firebug: uncaught exception: [Exception... "Component returned failu

[Lift] Re: Advice on Ramping Up

2009-04-04 Thread Charles F. Munat
f not, just ask on the > mailing list and > someone will no doubt help you right quick! > > Good luck! > > Tim > > > On 03/04/2009 23:01, "Charles F. Munat" <mailto:c...@munat.com

[Lift] Re: Advice on Ramping Up

2009-04-03 Thread Charles F. Munat
you right quick! > > Good luck! > > Tim > > > On 03/04/2009 23:01, "Charles F. Munat" wrote: > >> I'd suggest that you start working in Lift, then when you encounter >> something that doesn't make sense to you, refer to the PiS book

[Lift] Re: Advice on Ramping Up

2009-04-03 Thread Charles F. Munat
I'd suggest that you start working in Lift, then when you encounter something that doesn't make sense to you, refer to the PiS book (unfortunate acronym). It helps if you have the PDF version because you can search. The index is OK, but often insufficient. This is the approach I used to get st

[Lift] Re: Need for lightweight JPA archetype

2009-04-03 Thread Charles F. Munat
; > Crack on is what I say - make a branch, knock yourself out and then > post to the list before merging to master > > Cheers, Tim > > On Apr 2, 7:17 pm, "Charles F. Munat" wrote: >> Yup. But there seem to be a few candidates... >> >> Timothy Perre

[Lift] Re: Open Source Bridge Conference CFP (& Discount)

2009-04-03 Thread Charles F. Munat
I'm pretty close to Portland. What do you have in mind? Chas. David Pollak wrote: > Folks, > > It'd be great to see some Lift and/or Scala presentations at this > conference. > > Thanks, > > David > > -- Forwarded message -- > From: *Keith Fahlgren* mailto:abdela...@gmail.co

[Lift] Re: The Lift 1.1 list

2009-04-03 Thread Charles F. Munat
Have you looked at Windmill? http://www.getwindmill.com/ From what I've heard it's pretty cool. Chas. David Pollak wrote: > > > On Thu, Apr 2, 2009 at 10:09 AM, Bill Venners > wrote: > > > Hi David, > > On Thu, Apr 2, 2009 at 9:28 PM, David Pollak >

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Charles F. Munat
; Cheers, Tim > > On Apr 2, 6:02 pm, "Charles F. Munat" wrote: >> Where is the code for these archetypes and how tricky is it to create them? >> >> Chas. > > > --~--~-~--~~~---~--~~ You received this message because you ar

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Charles F. Munat
module jar and > webapp modules separately. To answer your question, I think that you > should be able to just duplicate the existing project, although I think > that you should be able to handle enforcing login and SSL via SiteMap > for just the portions you want to protect. >

[Lift] Re: Need for lightweight JPA archetype

2009-04-02 Thread Charles F. Munat
Where is the code for these archetypes and how tricky is it to create them? Chas. Timothy Perrett wrote: > I guess if your deploying into an "enterprise container", then EAR is > fine, however if your deploying into Jetty then you don't have the > possibility of deploying to EAR. I just think th

[Lift] Re: Menu widget bugginess

2009-04-02 Thread Charles F. Munat
ooks like plain old divs, so I'll check it out when I get a break. Thanks! Chas. Viktor Klang wrote: > Hello Chas, > > Can it be related to this: > http://webdemar.com/webdesign/superfish-jquery-menu-ie-z-index-bug/ > > Cheers, > Viktor > > On Thu, Apr 2, 2009

[Lift] Re: Widget CSS

2009-04-02 Thread Charles F. Munat
not change that. > > Do you have an example of the conflict? > > Br's, > Marius > > On Apr 2, 7:47 am, "Charles F. Munat" wrote: >> I've been playing with the very cool TableSorter widget. Nice work. >> >> One hassle though -- it inserts i

[Lift] Re: Need for lightweight JPA archetype

2009-04-01 Thread Charles F. Munat
Hmmm. This brings up something I've been meaning to ask about. I have a public JPA app which has a log-in only maintenance area. I'm thinking about moving the maintenance part to a subdomain and serving it via SSL. I think it would be easier to pull out a separate sub-project, so I might have

[Lift] Re: Widgets

2009-04-01 Thread Charles F. Munat
te: > We have a bit in the book, chapter 12. > > Derek > > On Wed, Apr 1, 2009 at 2:22 PM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > > I haven't had a chance to play around with the Lift widgets yet. Is > th

[Lift] Current snapshot

2009-04-01 Thread Charles F. Munat
If I want to use the MenuWidget, what is the current version I should have in my pom.xml (for both the latest and greatest lift, and the latest widgets). Currently, I have this: net.liftweb lift-webkit 1.0 net.liftweb lift-widgets 1.0

[Lift] Widget CSS

2009-04-01 Thread Charles F. Munat
I've been playing with the very cool TableSorter widget. Nice work. One hassle though -- it inserts its stylesheet *after* my stylesheet, so it overrides my styles. I could change things locally, but that's a hassle. Might be able to add "important" qualifiers or some trick like that, but it w

[Lift] Menu widget bugginess

2009-04-01 Thread Charles F. Munat
I'm running the Lift Menu widget on my Mac via mvn jetty:run, then looking at it in IE Tester running in Windows XP Pro in a VMWare virtual machine on a Fedora 9 box on the same network. (Whew.) In IE 8 it works fine. In IE 7 and IE 6, on the CalendarWeekView and CalendarDayView pages, the th

[Lift] Re: The Lift 1.1 list

2009-04-01 Thread Charles F. Munat
+1 Anything to get away from that damn Java Date/Calendar crap. Agreed on need to review API. Chas. Timothy Perrett wrote: > I think your right Jorge... 2.8 brings some important changes that > could quite possibly have some pretty significant breaking changes in > the Lift API. > > I also agr

[Lift] Re: Lift AJAX and IE6

2009-04-01 Thread Charles F. Munat
get into debug mode (or even if it's possible). I'm using Apache 2.0 to proxy to a single instance of Jetty 6 running the Lift app. (Multiple Lift apps in multiple Jetty instances.) More shortly... Chas. David Pollak wrote: > > > On Wed, Apr 1, 2009 at 1:25 PM, Charles F

[Lift] Lift AJAX and IE6

2009-04-01 Thread Charles F. Munat
I just got around to testing a couple of my Lift sites on IE6 and the results are depressing. One problem is that there is a recurrent JavaScript error. I presume this is coming from the Lift AJAX script since it pops up like clockwork. Does anyone know anything about this? Also, is the Lift A

[Lift] Widgets

2009-04-01 Thread Charles F. Munat
I haven't had a chance to play around with the Lift widgets yet. Is there any documentation anywhere about them? Chas. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email

[Lift] Re: Welcome Jonas Bonér to the Lift committer s

2009-03-30 Thread Charles F. Munat
Chas. Josh Suereth wrote: > > > On Mar 30, 2009, at 6:25 PM, "Charles F. Munat" wrote: > >> I'd have to second David on this. If it ain't broke... >> > > Keep coding until it is? > > Although the standard use case in java for aspects is n

[Lift] Re: Welcome Jonas Bonér to the Lift committer s

2009-03-30 Thread Charles F. Munat
I'd have to second David on this. If it ain't broke... David Pollak wrote: > > > On Mon, Mar 30, 2009 at 11:26 AM, Lee Mighdoll > wrote: > > Welcome Jonas! > > I'd been thinking that some judicious use of aspectJ might be a nice > fit for lift. Rumo

[Lift] Re: Welcome Jonas Bonér to the Lift committer s

2009-03-30 Thread Charles F. Munat
Welcome, Jonas! David Pollak wrote: > Folks, > > Please join me in welcoming Jonas as a Lift committer. I had the > pleasure of meeting Jonas as QCon in London this month. Jonas, Tim, and > I went out a grabbed a few pints and chatted. I think Jonas has a lot > to contribute to Lift. > >

[Lift] Re: Disappearing white space

2009-03-30 Thread Charles F. Munat
Will do. In the meantime, a workaround is to use non-breaking spaces: This & That  :: My Site Chas. David Pollak wrote: > Please file a defect and assign it to me. > > On Sat, Mar 28, 2009 at 3:34 AM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > >

[Lift] Disappearing white space

2009-03-28 Thread Charles F. Munat
When I add a title in a head element to a template that is surrounded by the default template, and the title has a character entity or a lift tag in it, the white space surrounding that entity is deleted. Examples This & That Comes out This&That, and :: My Site

[Lift] Re: Absolute Beginner

2009-03-25 Thread Charles F. Munat
Programming in Scala is not for absolute-never-programmed-before beginners, but you don't need to know any Java to use it. You'll probably have to learn a little bit of Java as you go along with Scala anyway, but not much in my experience. Chas. Randinn wrote: > Thinking on it further it seem

[Lift] Re: lift:Menu.group

2009-03-25 Thread Charles F. Munat
an and >>> 2) I need a way to add class="active" to the li_item. Both are not >>> possible with Menu.item, Menu.group, or Menu.builder. Let me know if >>> I am mistaken. If I am not not, may I put in a feature request for >>> these items. For th

[Lift] Re: AJAX and IE6. No love.

2009-03-25 Thread Charles F. Munat
ersion is Vista compatible but it worked fine on XP). > > Hope that helps and that you find a solution (that was one of the > harder bugs I ever had to track down, thus the extensive writeup). > > Cheers, > -D > > [1] http://extjs.com/forum/showthread.php?t=45673 > [2] http://te

[Lift] Re: State and binding

2009-03-24 Thread Charles F. Munat
I think that the two of you are using "break" in different ways. Alex, you mean it doesn't do what the user expects it to do. Marius, I think, means that the application crashes. I agree that this is a nasty behavior. One could say that it's the user's responsibility to keep track of their ses

[Lift] Re: lift:Menu.group

2009-03-24 Thread Charles F. Munat
me know if > I am mistaken. If I am not not, may I put in a feature request for > these items. For the time being I will just hard code it as follows > (which is not a big deal to me at this time): > > > Foo1 > Foo2 > Foo3 > > > Thanks again for the great suppo

[Lift] Re: AJAX and IE6. No love.

2009-03-24 Thread Charles F. Munat
Will do. David Pollak wrote: > Charles, > > If you could post an example site (or send me code to run locally), I'll > work on finding a solution for you. > > Thanks, > > David > > On Tue, Mar 24, 2009 at 12:22 PM, Charles F. Munat <mailto:c...@m

[Lift] AJAX and IE6. No love.

2009-03-24 Thread Charles F. Munat
I have a survey online that updates the server via AJAX when individual form fields are blurred. Works beautifully in Firefox, Opera, IE7, etc. But in IE6 there are some serious problems. Unfortunately, the users of this survey are corporate, and some of them are forced to use IE6 (DEATH to la

[Lift] Re: State and binding

2009-03-24 Thread Charles F. Munat
id Pollak wrote: > > > On Tue, Mar 24, 2009 at 11:02 AM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > > I remain confused by a lot of this stuff. > > Here is an example: > > I have a site that creates pages dynamically based on information i

[Lift] Re: State and binding

2009-03-24 Thread Charles F. Munat
I remain confused by a lot of this stuff. Here is an example: I have a site that creates pages dynamically based on information in a database. A good example is bio pages. Users add their bios, and then the bios are available through a URL. Now if I use, for example, the user's ID in the URL,

[Lift] Re: lift:Menu.group

2009-03-24 Thread Charles F. Munat
David Pollak wrote: > What's the best practice: > > For more information about . For more > information about . > > Or > > For more information about foo1. For more > information about foo2. > > > The latter. This allows you to move the pages around on the filesyste

[Lift] Re: in a heap o' trouble

2009-03-23 Thread Charles F. Munat
> > -Xmx1024m > > > > ${scala.version} > > > > > > > > > > org.scala-tools > > maven-scala-plugin > > >

[Lift] Re: Welcome Charles Munat to the Lift committers

2009-03-21 Thread Charles F. Munat
Thanks, everyone. I will try to do only smart things. (I'll begin by not spamming the list with thank yous. This one is generic, but heartfelt.) Chas. Lee Mighdoll wrote: > Welcome! Soon, Lift will be unstoppable. > > On Sat, Mar 21, 2009 at 3:48 AM, Timothy Perrett > wrote: > > > We

[Lift] Re: Menu widget

2009-03-21 Thread Charles F. Munat
+1 I am understanding exactly what you have in mind and think it's a great idea. I wrote some kludgy code months ago (I knew zero about Scala back then -- now I know *infinity* times more! :-) to do pretty much the same thing, and I ended up completely rewriting the Menu snippet to my own nee

[Lift] Re: in a heap o' trouble

2009-03-20 Thread Charles F. Munat
As I suspected. David Pollak wrote: > > > On Fri, Mar 20, 2009 at 3:13 PM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > > AH HA! I thought so. In fact, I was busy searching Google for > exactly this. > > Thank you very much. I can ge

[Lift] Re: in a heap o' trouble

2009-03-20 Thread Charles F. Munat
> > > -Xmx1024m > > ${scala.version} > > > > > org.scala-tools > maven-scala-plugin > > > -Xmx1024m > > > ${scala.version} >

[Lift] in a heap o' trouble

2009-03-20 Thread Charles F. Munat
Suddenly, my Lift app won't compile. Maven complains that it is out of heap space. I have set Maven with MAVEN_OPTS=-Xmx768M -- which should be doubling the heap space. No effect. I removed all the code I added since the last time it compiled. No effect. What could possibly be causing this? I'

[Lift] Re: Welcome Charles Munat to the Lift committers

2009-03-20 Thread Charles F. Munat
People have been trying to have me committed for years. Someone finally succeeded. Is there anything David can't do? Chas. David Pollak wrote: > Folks, > > I am pleased to welcome Charles Munat to the list of Lift committers. > Now, many of you, including some other Lift committers, look at

[Lift] Re: JPA inheritance

2009-03-20 Thread Charles F. Munat
ge :) (google) > > Viktor, > Rogue Software Architect > > 20 mar 2009 kl. 20.24 "Charles F. Munat" skrev: > >> Ooooh. That's really good to know. Where did you find that? >> >> Chas. >> >&g

[Lift] Re: Book Announcement: Exploring Lift: Scala-based Web Framework

2009-03-20 Thread Charles F. Munat
Outstanding. TylerWeir wrote: > Derek, Marius and I are happy to announce: > > Exploring Lift: Scala-based Web Framework > > http://www.apress.com/book/view/1430224215 > > Lift is an exciting new framework that leverages the Scala programming > language to offer an innovative approach to creat

[Lift] Re: Mapper to Record ORM

2009-03-20 Thread Charles F. Munat
Heh, heh. I built http://tridosha.com/ in 1999. It is still running pretty much unchanged. (Which is too bad, because significant amounts of data on the site are out of date. But it's built in Cold Fusion and I haven't the tools or the knowledge to work on it. And the owners are too poor, I gu

[Lift] Re: JPA inheritance

2009-03-20 Thread Charles F. Munat
gt; Chas, > > If you want the object to tell you what it is can you not use some > form of reflection? > > Tim > > > On 20/03/2009 11:03, "Viktor Klang" <http://viktor.kl...@gmail.com>> wrote: > > > > On Fri

[Lift] Re: JPA inheritance... now it won't compile

2009-03-20 Thread Charles F. Munat
NG] at scala.tools.nsc.Global$Run.compile(Global.scala:667) [WARNING] at scala.tools.nsc.Main$.process(Main.scala:73) [INFO] [ERROR] BUILD FAILURE Viktor Klang wrote: > > > On Fri, Mar 20, 2009 at 11:43

[Lift] Re: JPA inheritance... never mind

2009-03-20 Thread Charles F. Munat
OK, I really am tired... How about this: (b: BaseEvent) match { case b: Seminar => ... case b: Event => ... case _ => ... } Sigh... Thanks anyway! Chas. Charles F. Munat wrote: > Not really. What I want to do is have the object tell me what it is. > Un

[Lift] Re: JPA inheritance

2009-03-20 Thread Charles F. Munat
h a bunch of if statements. I know there's a better way. Just can't see it at 3:45 AM. Chas. Viktor Klang wrote: > > > On Fri, Mar 20, 2009 at 9:37 AM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > > I have a BaseEvent object from which vario

[Lift] JPA inheritance

2009-03-20 Thread Charles F. Munat
I have a BaseEvent object from which various other events (e.g. Seminar) inherit. I want to pull them all out in a query, so they come out as BaseEvents. But then as I'm looping through them, I want to find out what type of event they really are. There is an "event_type" column in the database

[Lift] Re: horizontal navbar drop-downs

2009-03-20 Thread Charles F. Munat
It doesn't say anything about licensing on the site, but it's a jQuery plugin. I presume that if we can bundle jQuery, we can bundle Superfish. Chas. Derek Chen-Becker wrote: > That's awesome. Are there restrictions that would prevent us from just > including the superfish script file (and CSS

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread Charles F. Munat
You should take a look at Superfish: http://users.tpg.com.au/j_birch/plugins/superfish/ It's probably the best looking and slickest of the menu bars I've seen, and it can work horizontally or vertically. It's pretty accessible to persons with disabilities as it's basically implemented via CSS,

[Lift] Re: Google Analytics

2009-03-17 Thread Charles F. Munat
g the > GA script? > > Derek > > On Tue, Mar 17, 2009 at 6:31 AM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > > Is anyone else using Google Analytics? I am getting this strange > JavaScript error: > > operation is not supported"

[Lift] Google Analytics

2009-03-17 Thread Charles F. Munat
Is anyone else using Google Analytics? I am getting this strange JavaScript error: operation is not supported" code: "9 var pageTracker = _gat._getTracker("UA-5774043-2"); The Google scripts are supposed to be placed right before the closing body tag, but Lift inserts its own script in there

[Lift] Re: Where to continue after "Getting Started"?

2009-03-17 Thread Charles F. Munat
I wrote it about as quickly as I could type it, so maybe ten minutes? It's not difficult when you *live* it 18 hours a day... Timothy Perrett wrote: > Chas, > > That took me a good 5 mins to read so i've no idea how long it took > you to write!! Good work that man... a great comparison. > > Ti

[Lift] Re: Where to continue after "Getting Started"?

2009-03-16 Thread Charles F. Munat
> I guess this is pretty vague, but so is my idea of Lift ;) I hope it > gives you an idea of where I am coming from. What I would really > really love to see is a comparison between the Lift Framework and the > Zend Framework, or Scala and PHP. > > Thanks for your attention. I really

[Lift] Re: Where to continue after "Getting Started"?

2009-03-16 Thread Charles F. Munat
I like the Programming in Scala book quite a bit. The index isn't as good as I'd like it to be, and I wish it had a bit more on Scala Swing (I'm building a Scala desktop app), but having the PDF version makes searching easy, and the dead trees version is a permanent fixture in my bathroom (whe

[Lift] Re: Error in Msgs

2009-03-16 Thread Charles F. Munat
P.S. If I'm not on board, does that mean I'm overboard? marius d. wrote: > Wow I could have swear that Charles is on bord ! LOL > > I'll commit it in a bit :) > > On Mar 16, 9:26 pm, "Charles F. Munat" wrote: >> Heh, heh. You don

[Lift] Re: Error in Msgs

2009-03-16 Thread Charles F. Munat
list verbosity != committer status (but you can be forgiven for thinking otherwise) Chas. marius d. wrote: > Wow I could have swear that Charles is on bord ! LOL > > I'll commit it in a bit :) > > On Mar 16, 9:26 pm, "Charles F. Munat" wrote: >> Heh

[Lift] !...@#$% Hibernate!

2009-03-16 Thread Charles F. Munat
I am trying to permit upload of a profile photo to go with a member. My edit method is below. (I'm using id numbers in the URL, which explains the first part of the code. Sue me.) The problem is that no matter where I move the damn Model.merge() call, I get one of two outcomes on persisting a

[Lift] Default NodeSeq for message box

2009-03-16 Thread Charles F. Munat
Don't know if this will be useful to anyone else, but I wanted my error/warning/notice messages to replace a default bit of text (a tagline). After some fiddling, I came up with this, which works quite nicely. (Feel free to suggest improvements.) (Note: I removed some other code I didn't need

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-16 Thread Charles F. Munat
; > > 127.0.0.1 > mylovelydomain.com > > > > > > Its fairly self explanatory - this virtually hosts an application at the > root context "/" > > Does this help? > > Tim > > On 16/03/2009 19:29, "Charles F. Munat" wrot

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-16 Thread Charles F. Munat
ing long > polling. This means that if you have more than 500 simultaneous > connections to a server, it'll consume a ton of resources on Tomcat > and very few on Jetty. > > > > > Can you not use the context deployer in jetty to do what you

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-16 Thread Charles F. Munat
This means that if you have more than 500 simultaneous connections to a > server, it'll consume a ton of resources on Tomcat and very few on Jetty. > > > > > Can you not use the context deployer in jetty to do what you need? > > Thanks > > Tim

[Lift] Re: Error in Msgs

2009-03-16 Thread Charles F. Munat
Heh, heh. You don't want me sticking my nose in there... Chas. marius d. wrote: > You're right. Can you fix and commit it ? > > On Mar 16, 8:20 pm, "Charles F. Munat" wrote: >> Line 54 in net.liftweb.builtin.snippet.Msgs.scala reads: >> >>(st

[Lift] Error in Msgs

2009-03-16 Thread Charles F. Munat
Line 54 in net.liftweb.builtin.snippet.Msgs.scala reads: (styles \\ "error_msg" \\ "@class")), 1), It should read: (styles \\ "warning_msg" \\ "@class")), 1), Chas. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-16 Thread Charles F. Munat
comet support. > > Can you not use the context deployer in jetty to do what you need? > > Thanks > > Tim > > > On 16/03/2009 13:07, "Charles F. Munat" wrote: > >> Right now I'm running about a half dozen instances of Jetty (one per >> site)

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-16 Thread Charles F. Munat
nterface and an easy way to deploy, restart, monitor, etc. them. Chas. Timothy Perrett wrote: > > Phew :) > > Out of interest, why do you want to use glashfish rather than jetty? > > Tim > > On 16/03/2009 10:08, "Charles F. Munat" wrote: > >>

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-16 Thread Charles F. Munat
tation given >> that we're already 9 years into the new millenium (yeah, yeah, only 8) is >> that *everything* on the net would be UTF-8 unless explicitly forced to be >> something else. >> >> Derek >> >> On Sun, Mar 15, 2009 at 8:34 PM, David Pollak

[Lift] Re: Change default port 8080

2009-03-15 Thread Charles F. Munat
But if you want to change it permanently, you do it in the POM file (for the dev version that runs via Maven): org.mortbay.jetty maven-jetty-plugin / 5 6

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
> > OK, I can replicate this in our PocketChange app (also going against > a PostgreSQL DB). Let me dig a bit. > > Derek > > > On Sun, Mar 15, 2009 at 3:58 AM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > > Thi

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
One more >> interesting thing is that if I change my log code to: >> >> Log.info("testthis = " + (S.request.map({r => r.request.getCharacterEncoding >> + r.request.getParameter("testthis")}) openOr "not found!")) >> >> I get: >

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
d!")) > > I get: > > INFO - testthis = nullç > > Which seems to indicate that the character encoding for the POST isn't > being set. I tried overriding it: > > S.request.foreach{ r => r.request.setCharacterEncoding("UTF-8")} > > and that see

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
Marc Boschma wrote: >> When I use ç instead, the problem is that it is *not* converted >> to ç as it goes into the database, and then on the way out the XML >> interpreter does not recognize it as a character entity reference >> and so >> converts the & to &. > > I think this is due to using th

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
I just went back and tried changing it in the database itself, and that worked fine. So now I have a workaround, but it's one that creates a huge amount of work for me... :-( Chas. Charles F. Munat wrote: > Oh, sorry, Derek. My bad. I didn't mean to imply that you were sayin

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
thod for users; > they should just be able to type. I was just trying to explain why the > "&" is getting expanded. I think that the current behavior is not really > what anyone wants, and hopefully we can fix it in a transparent manner. > > Derek

[Lift] Re: OpenID defect and fix

2009-03-15 Thread Charles F. Munat
I would argue the reverse. Naming consistency is forever. Breaking the API is once, and affects only a small number of developers. I, for one, when I start using OpenID, will be screwing that up over and over again as my brain refuses to remember which one is all caps and which is mixed case.

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
d node > to prevent that from happening. > > Derek > > On Sun, Mar 15, 2009 at 1:59 PM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > > That was my thinking. It doesn't explain why ç in gets changed to > &ccedil;, but it explains w

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
All I know is that >>>> between the actual POST and when my submit function is called, >>>> something is tweaking the string. I'm going to dig some more, but I >>>> wanted to post this in case it triggers any thoughts out there. >>>> >&

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
the ç into a form it gets stored as the unicode character > \u00E7 ... and also returns as that unicode character. > > Regards, > > Marc > > On 15/03/2009, at 11:36 AM, Charles F. Munat wrote: > >> I have a site that uses a lot of "special" characters (a re

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread Charles F. Munat
last one was input using dead keys (alt+,) on my linux (USA > International with dead keys) layout. Let me know if this doesn't > help; if not, could you send the code/template that's having issues? > > Derek > > > On Sat, Mar 14, 2009 at 6:

[Lift] Re: Slash and burn

2009-03-13 Thread Charles F. Munat
y any chance? What is > the difference that you see between a response for /page and /page/ ? > > Derek > > On Fri, Mar 13, 2009 at 4:33 AM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > > It would be advantageous for me, given the way I organize my sites

[Lift] Re: Bookmarkable never-expiring dynamic pages

2009-03-13 Thread Charles F. Munat
I have a lot of pages like this, so I should probably abstract out the code... Derek Chen-Becker wrote: > There may be a better way, but your approach looks very reasonable. > > Derek > > On Fri, Mar 13, 2009 at 6:32 PM, Charles F. Munat <mailto:c...@munat.com>> wrote

[Lift] Re: Why does HelloWorld index.html contain a snippet rather than a complete XHTML page?

2009-03-13 Thread Charles F. Munat
Maybe I'm not understanding the question, but it is perfectly possible to ignore the template and have index.html be anything you want. I have some pages that wrap the code with other templates (I use more than one, depending on the location on the site), and pages that stand alone. And I have

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread Charles F. Munat
So the you is plural... Derek Chen-Becker wrote: > Well, to give proper credit, Tyler and Kris both did a lot of initial > work on the archetype and I just fixed a few minor things. > > Derek > > On Fri, Mar 13, 2009 at 5:49 PM, Charles F. Munat <mailto:c...@munat.com>

[Lift] Re: Bookmarkable never-expiring dynamic pages

2009-03-13 Thread Charles F. Munat
> > The RewriteResponse class (not companion object, as you're using here) > also has a flag in the constructor to tell Lift to stop rewriting. > > Derek > > On Fri, Mar 13, 2009 at 5:34 PM, Charles F. Munat <mailto:c...@munat.com>> wrote: > > >

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread Charles F. Munat
OH HELL YEAH! THANKYOUTHANKYOUTHANKYOU. You rock. Chas. Derek Chen-Becker wrote: > OK, it built and deployed. I just confirmed that you can create it with: > > mvn archetype:generate \ >-DarchetypeRepository=http://scala-tools.org/repo-snapshots \ >-DarchetypeGroupId=net.liftweb \ >

[Lift] Bookmarkable never-expiring dynamic pages

2009-03-13 Thread Charles F. Munat
I have a lot of sites that involve dynamically-generate pages. OK, all of them do. So let's say that I have a "bios" page where I link to a bunch of individual bios (for Sam, Sally, and Sue). If Sam is user #1 and Sally and Sue are #2 and #3 respectively, I want to get to their bios like this:

[Lift] Re: Slash and burn

2009-03-13 Thread Charles F. Munat
> > > > > Sent from my iPhone > > > > > On 13 Mar 2009, at 14:27, Derek Chen-Becker > wrote: > > > > > Hmmm. I thought that this was what normally happened with > most web servers

[Lift] Slash and burn

2009-03-13 Thread Charles F. Munat
It would be advantageous for me, given the way I organize my sites, if requests for /page were served the same way as requests for /page/, or at least /page redirected to /page/. Is there an easy way to do this? Thanks, Chas. --~--~-~--~~~---~--~~ You received

[Lift] mvn compile logging level

2009-03-11 Thread Charles F. Munat
Anyone know how to tell maven to tell the compiler to show only errors, not info and warnings? Chas. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@google

[Lift] Re: Lift's documentation

2009-03-09 Thread Charles F. Munat
i in months... Chas. James Matlik wrote: > That thought did come to me, but you are correct. I can see > inconsistencies but don't know enough to be certain I wouldn't lead > others astray. It is also possible work in progress that I am seeing > mid-stream. > >

[Lift] Re: Lift's documentation

2009-03-09 Thread Charles F. Munat
You can actually update the wiki yourself, I think. It's probably faster that writing about it to the list, unless you're not sure you're correct... Chas. James Matlik wrote: > > I have found another inconsistency on the wiki at > http://wiki.liftweb.net/index.php?title=HowTo_run_examples. T

[Lift] JSON web service

2009-03-08 Thread Charles F. Munat
Does anyone have an example of a JSON web service running in Lift that they're willing to share? Just a basic REST CRUD example would be perfect. Anyone? Thanks, Chas. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[Lift] Re: How do you get Jorge's LinkShare Comet example to work?

2009-03-05 Thread Charles F. Munat
Damn. I was hoping that was a real site. Chas. Viktor Klang wrote: > scarred.by.ie6.com ;) > > On Thu, Mar 5, 2009 at 2:55 PM, Derek Chen-Becker > wrote: > > Anyone for registering IEateMyhtml.com ? > > On Thu, Mar 5, 2009 at

<    1   2   3   4   5   6   7   >