[Lift] rendering embedded svg

2009-01-04 Thread Meredith Gregory
Lifted, Here http://svn.biosimilarity.com/src/open/GraphL/trunk/ you will find the source code for a Scala+Lift application in progress. It's a demonstration of a compositional (read algebraic datatype) for graphs. If you've got graphviz installed and the dot program on your path, then mvn

[Lift] Re: rendering embedded svg

2009-01-04 Thread Meredith Gregory
Lifted, i see my problem with the svg -- forgot to build the nodes from the string. As usual, my stupidity overfloweth. Best wishes, --greg On Sun, Jan 4, 2009 at 10:10 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Lifted, Here http://svn.biosimilarity.com/src/open/GraphL/trunk/ you

[Lift] Questions about User object and class

2009-01-05 Thread Meredith Gregory
Lifted, i'm looking at this code in githubhttp://github.com/dpp/liftweb/tree/master/lift-mapper/src/main/scala/net/liftweb/mapper/ProtoUser.scala. Lines 258 and 274 - 279 would indicate to me that an object derived from this class -- as i think the User object is in the std lift project archetype

[Lift] testing 1 2 3

2009-01-07 Thread Meredith Gregory
Lifted, My mail to this list seems to be bouncing. Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 806 55th St NE Seattle, WA 98105 +1 206.650.3740 http://biosimilarity.blogspot.com --~--~-~--~~~---~--~~ You received this message

[Lift] neophyte lift ajax question

2009-01-12 Thread Meredith Gregory
Lifted, i have been using the AJAXForm example from the hellodarwin sample as a template for my simple little experiments with lift. Occasionally, i have gotten XML Parsing Error: prefix not bound to a namespace Location: http://localhost:8080/AJAXREPLForm Line Number 72, Column 46:label

[Lift] Re: neophyte lift ajax question

2009-01-12 Thread Meredith Gregory
), submit - submit(?(Send), () = println(value: + who.openOr() + :: + param(whoField))), who - who.openOr() ) } } Note the bind(hello, above. Not sure if I'm understanding your question exactly, but hope that helps. Chas. Meredith Gregory wrote: Lifted, i have

[Lift] Re: neophyte lift ajax question

2009-01-12 Thread Meredith Gregory
still get the unknown namespace error. Best wishes, --greg On Mon, Jan 12, 2009 at 1:22 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Chas, That's exactly what i thought. But, that would be a bug -- unless i've misunderstood something -- because, then the effect of the bind is bleeding

[Lift] Re: neophyte lift ajax question

2009-01-12 Thread Meredith Gregory
12, 2009 at 1:58 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Chas, et al, To clarify - Suppose you only had the ajax form in the site menu. You would never call the bind. So, the namespace would not be set up and the form should/would not work. As long as the ajax form

[Lift] scalac java compilation

2009-01-13 Thread Meredith Gregory
Scalads and lasses, i believe i've hit a bug in the scalac java compilation. i'm not 100% certain. To verify i need a way to tell scalac *not* to compile java files in the mvn build process for a lift app. i will briefly describe a portion of my build process. i'm building several DSLs. i use

[Lift] Re: scalac java compilation

2009-01-13 Thread Meredith Gregory
to (com.biosimilarity.naturalselection.model.dataset.Absyn.TupleStructCond,A) [INFO] On Tue, Jan 13, 2009 at 11:34 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: Scalads and lasses, i believe i've hit a bug in the scalac java compilation. i'm

[Lift] Re: scalac java compilation

2009-01-13 Thread Meredith Gregory
, Josh Suereth joshua.suer...@gmail.comwrote: Use an older version of the maven plugin (like 2.8) *or* wait till I have the free time to make the option. -Josh On Tue, Jan 13, 2009 at 2:34 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Scalads and lasses, i believe i've hit a bug

[Lift] was there a breaking change to lift?

2009-01-14 Thread Meredith Gregory
Lifted, i've got a lift app that was working just fine until i - mvn clean; mvn -U compile; mvn jetty:run Now i'm getting when i point the browser at localhost:8080 HTTP ERROR: 500 net.liftweb.http.SessionMaster$.mailbox_$eq(Lscala/actors/MessageQueue;)V RequestURI=/ Caused by:

[Lift] Re: was there a breaking change to lift?

2009-01-14 Thread Meredith Gregory
, 2009 at 2:17 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: David, Thanks for the quick response. Unfortunately, i still see the same behavior. Best wishes, --greg Here's the relevant fragment of my pom.xml project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http

[Lift] Re: was there a breaking change to lift?

2009-01-14 Thread Meredith Gregory
~/.m2) and see if that fixes things. Thanks, David On Wed, Jan 14, 2009 at 2:17 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: David, Thanks for the quick response. Unfortunately, i still see the same behavior. Best wishes, --greg Here's the relevant

[Lift] Re: was there a breaking change to lift?

2009-01-14 Thread Meredith Gregory
[INFO] [ERROR] BUILD FAILURE [INFO] On Wed, Jan 14, 2009 at 3:12 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: David, Excellent. i needed a nap

[Lift] Re: was there a breaking change to lift?

2009-01-14 Thread Meredith Gregory
\ -DarchetypeVersion=0.9\ -DremoteRepositories=http://scala-tools.org/repo-releases \ -DgroupId=$1 -DartifactId=$2 On Wed, Jan 14, 2009 at 3:30 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: David, Progress... now the breakage is in a new place. The code

[Lift] Re: was there a breaking change to lift?

2009-01-14 Thread Meredith Gregory
and was vetted and blessed. ;-) Best wishes, --greg On Wed, Jan 14, 2009 at 3:36 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Yeah, it should be 0.10, not 0.9 My god... you're still on 0.9? On Wed, Jan 14, 2009 at 3:32 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: David

[Lift] Re: Bug in with-param ?

2009-01-22 Thread Meredith Gregory
David, Do you have a schema to govern lift tags so that this sort of syntactic constraint could be statically checked? Best wishes, --greg On Thu, Jan 22, 2009 at 2:11 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Jan 22, 2009 at 12:33 PM, Tim Perrett

[Lift] Fwd: lift production experience was Re: [scala-user] Are there any Scala friend small embeddable HTTP Severs?

2009-01-22 Thread Meredith Gregory
P.S. the liftweb alias escaped the cc line -- Forwarded message -- From: Meredith Gregory lgreg.mered...@gmail.com Date: Thu, Jan 22, 2009 at 2:38 PM Subject: lift production experience was Re: [scala-user] Are there any Scala friend small embeddable HTTP Severs? To: David Pollak

[Lift] Re: Bug in with-param ?

2009-01-22 Thread Meredith Gregory
David, If you can give me some quick and dirty informal description of the constraints, i can code up a schema in short order. Best wishes, --greg On Thu, Jan 22, 2009 at 2:20 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Jan 22, 2009 at 2:18 PM, Meredith Gregory

[Lift] web logic

2009-01-23 Thread Meredith Gregory
David, i just noticed this paragraph. Perhaps some sort of pi-calculus based way of describing web app logic would allow for better reasoning. I've noodled with doing some sort of stuff with pi-calculus in Lift. I stopped the exploration because I was unable to find reasonable language

[Lift] Re: Jorge's birthday ...

2009-01-30 Thread Meredith Gregory
Jorge, chestit rozden den Best wishes, --greg On Fri, Jan 30, 2009 at 8:32 AM, Tim Perrett he...@timperrett.com wrote: lol! This is like the most global happy birthday greeting ever! ;-) On Jan 30, 4:04 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: ¡Feliz cumpleaños, señor!

[Lift] Re: Tic Tac Toe, Lift Style

2009-01-30 Thread Meredith Gregory
David, Thanks for this! i'm looking forward to diving in. Best wishes, --greg On Fri, Jan 30, 2009 at 5:18 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I've committed up a Tic Tac Toe example:

[Lift] Re: [SOLVED] Req lazy val xml not working

2009-01-30 Thread Meredith Gregory
Tim, In this last email i'm trying to parse this sentence XML request processing should not work perfectly Is this - a philosophical stance - a warning, or - a typo? Best wishes, --greg On Fri, Jan 30, 2009 at 3:14 PM, Tim Perrett he...@timperrett.com wrote: Ok, found the

[Lift] Re: [SOLVED] Req lazy val xml not working

2009-01-30 Thread Meredith Gregory
David, i figured, but i know some people with really strong opinions about XML. ;-) Best wishes, --greg On Fri, Jan 30, 2009 at 8:04 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Jan 30, 2009 at 7:02 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Tim

[Lift] Re: Tic Tac Toe, Lift Style

2009-01-30 Thread Meredith Gregory
David, i'm probably just misusing git, but this is what happens for me bash-3.2$ git clone http://github.com/dpp/lift-samples/tree/c5d22b8bca126ea518107f231a27353b63841ef8/tictac Initialized empty Git repository in /Users/lgm/work/src/projex/biosimilarity/tictac/.git/ fatal:

[Lift] Re: Tic Tac Toe, Lift Style

2009-01-30 Thread Meredith Gregory
-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS] bash-3.2$ git --version git version 1.6.0.4 bash-3.2$ On Fri, Jan 30, 2009 at 9:13 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: David, i'm probably just misusing git, but this is what happens for me bash-3.2$ git clone http://github.com/dpp

[Lift] Re: [scala] Welcome to scala-xml!

2009-01-31 Thread Meredith Gregory
Alex, This is probably way out of scope, but since someone brought up XPath, i couldn't resist... LINQ-like support for XQuery? Best wishes, --greg On Fri, Jan 30, 2009 at 3:34 PM, Alex Cruise a...@cluonflux.com wrote: Hi folks! I'm Alex Cruise (obviously!) I'm a software architect at

[Lift] Re: migration tools?

2009-02-04 Thread Meredith Gregory
Lifted, It turns out that Hibernate already supplies this functionalityhttp://www.hibernate.org/hib_docs/tools/reference/en/html/reverseengineering.html . Best wishes, --greg On Mon, Feb 2, 2009 at 1:45 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Tim, Thanks for your note. i

[Lift] Using Quaere in Scala

2009-02-05 Thread Meredith Gregory
Scalads and lasses and Lifted, Does anyone have any experience with using Quaere under Scala? In particular, i'm wondering if anyone has already done implementations for flatMap, etc? This would seem a quick and relatively painless way to get type safety on top of a nearly LINQ implementation that

[Lift] Re: Using Quaere in Scala

2009-02-05 Thread Meredith Gregory
Jorge, Much obliged. Best wishes, --greg On Thu, Feb 5, 2009 at 12:10 PM, Jorge Ortiz jorge.or...@gmail.com wrote: You may want to look at this http://szeiger.de/blog/2008/12/21/a-type-safe-database-query-dsl-for-scala/ --j On Thu, Feb 5, 2009 at 11:21 AM, Meredith Gregory

[Lift] lift jetty configuration question

2009-02-11 Thread Meredith Gregory
Lifted, Suppose i generate an instance of the basic lift archetype and then start up jetty. If i point two different browsers at localhost:8080 they both go to the same instance state. So, if i - start up a browser, point it at localhost:8080, then login in - then start up another browser,

[Lift] Re: confusion about lift-archetype-version versus lift version

2009-02-12 Thread Meredith Gregory
Tim, David, Thanks! Best wishes, --greg On Thu, Feb 12, 2009 at 5:33 AM, Tim Perrett he...@timperrett.com wrote: Sorry my bad - I should have pointed that out. On Feb 12, 12:31 pm, David Bernard david.bernard...@gmail.com wrote: 0.11 isn't released the correct version number is

[Lift] basic lift question

2009-02-12 Thread Meredith Gregory
Lifted, Suppose i've got the following fragment of lift tags lift:surround with=default at=content !-- Begin Easy Widgets plugin HTML markup -- div a onclick=AddWidget('widget1.html'); return false href=# title=Add an activity align=right+ Create an activity/a /div ...

[Lift] Re: lift jetty configuration question

2009-02-12 Thread Meredith Gregory
on another TCP port other than 8080? And by other browser do you mean two seperate apps (like firefox and safari) or just two seperate windows in the same app? Cheers Tim On Feb 12, 2:27 am, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, Suppose i generate an instance of the basic

[Lift] Re: lift jetty configuration question

2009-02-12 Thread Meredith Gregory
, what would happen when you log in? If you can tell me a little more about your use case, I'll work on a solution. Thanks, David On Thu, Feb 12, 2009 at 9:09 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: Tim, Essentially, i want every request for http://localhost:8080 to start

[Lift] Re: lift jetty configuration question

2009-02-12 Thread Meredith Gregory
Perrett he...@timperrett.com wrote: This might be a stupid suggestion, but cant you just use two different browsers to be logged in with two users at the same time? Im guessing you want to demo some kind of comet behavior or similar between two users? Tim On Feb 12, 5:25 pm, Meredith Gregory

[Lift] Re: basic lift question

2009-02-12 Thread Meredith Gregory
. If you can just point me at some examples, i can probably work out most of what i need. Best wishes, --greg On Thu, Feb 12, 2009 at 9:23 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Feb 12, 2009 at 9:08 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted

[Lift] Re: [scala] typed browser scripting languages?

2009-02-13 Thread Meredith Gregory
David, Thanks! Has anybody used this? Best wishes, --greg On Fri, Feb 13, 2009 at 2:47 PM, David Pollak feeder.of.the.be...@gmail.com wrote: http://haxe.org On Fri, Feb 13, 2009 at 2:46 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Scalads, lasses and Lifted, Does anyone

[Lift] Re: strange interaction with jQuery

2009-02-15 Thread Meredith Gregory
much like in the static example. I don't think there is a way of detecting such behavioral things at compile time. Br's, Marius On Feb 13, 10:38 pm, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, Attached is a minimal example of a strange interaction between lift

[Lift] slightly off topic hibernate question

2009-02-16 Thread Meredith Gregory
Lifted, Does anyone have experience with using the hibernate reverse-engineering stuff under maven? Everything i've stumbled on is ant-driven. Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 806 55th St NE Seattle, WA 98105 +1 206.650.3740

[Lift] Re: slightly off topic hibernate question

2009-02-17 Thread Meredith Gregory
Chen-Becker dchenbec...@gmail.comwrote: I've only used it under Eclipse. I would assume that there should be some way to call an ant script from Maven, though... Derek On Mon, Feb 16, 2009 at 1:16 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, Does anyone have experience

[Lift] Re: slightly off topic hibernate question

2009-02-17 Thread Meredith Gregory
together some sample code in private. Derek On Tue, Feb 17, 2009 at 10:59 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, i've successfully taken a pretty complex ActiveRecord-gen'd db structure (deployed on MySQL) to JPA with two cmdline invocations and pretty minimal

[Lift] Re: slightly off topic hibernate question

2009-02-17 Thread Meredith Gregory
Derek, i found the JPA demo -- it seems to have been added recently. i don't know JPA -- at all -- so i don't know if it's idiomatic, but the code in the sample is easily read. Whoever did it did a nice job. Best wishes, --greg On Tue, Feb 17, 2009 at 10:31 AM, Meredith Gregory lgreg.mered

[Lift] Re: slightly off topic hibernate question

2009-02-17 Thread Meredith Gregory
, Charles F. Munat c...@munat.com wrote: That would be Derek, I believe. And it is very nicely done. Greg -- I'll send you some code off list. Chas. Meredith Gregory wrote: Derek, i found the JPA demo -- it seems to have been added recently. i don't know JPA -- at all -- so i don't know

[Lift] Re: slightly off topic hibernate question

2009-02-17 Thread Meredith Gregory
Chas, Thanks! Best wishes, --greg On Tue, Feb 17, 2009 at 11:20 AM, Charles F. Munat c...@munat.com wrote: That would be Derek, I believe. And it is very nicely done. Greg -- I'll send you some code off list. Chas. Meredith Gregory wrote: Derek, i found the JPA demo -- it seems

[Lift] Re: uh, oh... can't find classes

2009-02-18 Thread Meredith Gregory
Lifted, i definitely vote to get this feature somewhere in the backlog. i've been bitten by this 3 times. Best wishes, --greg On Wed, Feb 18, 2009 at 7:18 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Feb 18, 2009 at 6:56 AM, Tim Perrett he...@timperrett.com wrote:

[Lift] quick question about JPADemo

2009-02-18 Thread Meredith Gregory
Derek or other Lifted, Is the string fed to the instance of ScalaEntityManager as persistenceName to name of the DB? Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 806 55th St NE Seattle, WA 98105 +1 206.650.3740 http://biosimilarity.blogspot.com

[Lift] Re: Regression!

2009-02-18 Thread Meredith Gregory
nasty bug related to XHTML namepsaces that's further poked by jQuery. Marius is working on a fix and it should be out tomorrow. Please try Safari or Chrome for testing and see if the problems are the same. Thanks, David On Wed, Feb 18, 2009 at 2:07 PM, Meredith Gregory lgreg.mered

[Lift] Re: Regression!

2009-02-18 Thread Meredith Gregory
- the Somebody clicked the link does scroll by, but the widget does not appear Best wishes, --greg On Wed, Feb 18, 2009 at 2:19 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: David, i'm testing in FF and Safari. i get the very same behavior. Best wishes, --greg On Wed, Feb 18, 2009 at 2

[Lift] Re: Regression!

2009-02-18 Thread Meredith Gregory
PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Are you using the ScalaJPA module? Logs would be appreciated if it's not too much trouble, otherwise I can try to put together my own test project. Thanks, Derek On Wed, Feb 18, 2009 at 4:27 PM, Meredith Gregory lgreg.mered...@gmail.com

[Lift] Re: Regression!

2009-02-18 Thread Meredith Gregory
will pass the request right onto the container and all will work as you expect. In Boot: LiftRules.liftRequest.append { case Req(n :: Nil, _, _) if n.startsWith(widget) n != widgets = false } Thanks, David On Wed, Feb 18, 2009 at 2:26 PM, Meredith Gregory lgreg.mered

[Lift] Re: [scala] typed browser scripting languages?

2009-02-18 Thread Meredith Gregory
Lifted, Scalads and Lasses, Today i recalled that the skydeck http://skydeck.com/ folks had done an OCaml - JS compiler http://code.google.com/p/ocamljs/ and then dogfooded for their offerings. i've not played with it, myself, but the skydeck site is pretty nifty. Best wishes, --greg On Sun,

[Lift] Re: [scala] typed browser scripting languages?

2009-02-18 Thread Meredith Gregory
Mark, Many thanks for this feedback. Do you know of any connection between the HaXe codebase and the skydeck folks' ocamljs? Best wishes, --greg On Sun, Feb 15, 2009 at 2:28 PM, Mark Chadwick mark.chadw...@gmail.comwrote: Thanks! Has anybody used this? Yes. I've used haxe extensively.

[Lift] Re: [ANN] Lift 1.0 is released

2009-02-26 Thread Meredith Gregory
David, i think i can speak for all concerned: very many thanks for the focus, energy and do-what-it-takes-to-get-it-done-ness you've brought to bear on this project! Best wishes, --greg On Thu, Feb 26, 2009 at 12:28 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Two years ago, today,

[Lift] java parser?

2009-02-26 Thread Meredith Gregory
Scalads, lasses and Lifted, i find myself in the situation where i need to parse a bunch of java source. Unfortunately my google-fu is not up to snuff to ferret out good open source java parsers. i'm wondering what the state of the scala java parsing is? i assume it's available 2.7.3. Is it

[Lift] Re: Design + Logo Tweaks

2009-02-26 Thread Meredith Gregory
Ron, Thanks for the pointers. You know Chas Munat has a good deal of learnin' about logo design. i'd solicit an opinion from him. i do think your idea of cloud imagery for the header is timely. It's a little too 'hello kitty' for my personal taste, but my eye is just too idiosyncratic to provide

Re: [scala] Re: [Lift] Re: java parser?

2009-02-26 Thread Meredith Gregory
Ricky, Aha! i was off-by-1 on the number of c's. Thanks. Best wishes, --greg On Thu, Feb 26, 2009 at 2:30 PM, Ricky Clarkson ricky.clark...@gmail.comwrote: No, I was pointing at javac, as in the Java compiler. 2009/2/26 Meredith Gregory lgreg.mered...@gmail.com Derek, et al, Thanks

[Lift] Re: java parser?

2009-02-26 Thread Meredith Gregory
interesting result of the non-utf-8ness: after a certain number of warnings from the scala built-in java compiler the mvn build process just craps out with no error reportage. It just falls over. Best wishes, --greg On Thu, Feb 26, 2009 at 2:25 PM, Meredith Gregory lgreg.mered...@gmail.comwrote

[Lift] Re: jetty dependency weirdness

2009-02-26 Thread Meredith Gregory
. Thanks, David On Thu, Feb 26, 2009 at 3:35 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, i'm suddenly unable to build. Anyone else experiencing this particular division of joy? Best wishes, --greg bash-3.2$ mvn compile [INFO] Scanning for projects... [INFO

[Lift] Re: OS X lift installer

2009-02-27 Thread Meredith Gregory
On Feb 27, 3:59 pm, Meredith Gregory lgreg.mered...@gmail.com wrote: Jon, The only thing i needed to do to get that running was sudo port install maven2 ... export PATH=/opt/local/bin:$PATH This assumes, however, that you are already using macports. Best wishes, --greg

[Lift] Re: chaining servlets

2009-03-02 Thread Meredith Gregory
, and Jersey also autogenerates the WADL description of the service -- which is going to come in handy for other stuff we're doing. On Mon, Mar 2, 2009 at 3:16 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Tim, et al, Thanks for the many responses. Here's the overall context. i've got a group

[Lift] Re: chaining servlets

2009-03-02 Thread Meredith Gregory
, --greg On Mon, Mar 2, 2009 at 1:00 PM, Viktor Klang viktor.kl...@gmail.comwrote: On Mon, Mar 2, 2009 at 8:51 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, scalads and lasses, Does anybody have a working sample of chaining the lift servlet with a 3rd party servlet? i'm

[Lift] really stupid maven question

2009-03-02 Thread Meredith Gregory
Lifted, i've got all the classes i generate making a class to a Model object derived from the nice work that Derek did on the JPA demo. Now, here's the rub. For some reason it's compiling the generated classes before tackling the compilation of the model object. So... the compilation craps out.

[Lift] Re: [Jersey] jersey as filter

2009-03-02 Thread Meredith Gregory
, Meredith Gregory lgreg.mered...@gmail.com wrote: Alex, Interesting. Did you build with mvn? If so, what were your plugins/dependencies? Best wishes, --greg On Mon, Mar 2, 2009 at 6:01 PM, Alex Boisvert boisv...@intalio.comwrote: Greg, Something must be messed up in your

[Lift] Re: [Jersey] jersey as filter

2009-03-02 Thread Meredith Gregory
/filter-class /filter filter-mapping filter-nameJerseyFilter/filter-name url-pattern/*/url-pattern /filter-mapping filter-mapping filter-nameLiftFilter/filter-name url-pattern/*/url-pattern /filter-mapping /web-app On Mon, Mar 2, 2009 at 6:25 PM, Meredith Gregory lgreg.mered...@gmail.comwrote

[Lift] Re: [Jersey] jersey as filter

2009-03-03 Thread Meredith Gregory
, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, Well, at least i've got jetty launching and running with both filters. See the web.xml that worked below. Best wishes, --greg ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web

[Lift] Re: [Jersey] jersey as filter

2009-03-03 Thread Meredith Gregory
, then it was just me finding the wrong API docs online :) But the real question is: Does it work? :) Cheers, Viktor On Tue, Mar 3, 2009 at 4:00 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Viktor, Thanks. Jersey-1.0.2 *does* implement Filter. You can see that in the sources jar

[Lift] mvn scala:script

2009-03-03 Thread Meredith Gregory
Scalads, lasses and Lifted, i think i must not understand something about the mvn scala:script. i thought that args was how you accessed cmdline args. However, see the trace below. Best wishes, --greg bash-3.2$ mvn scala:script

[Lift] Re: mvn scala:script

2009-03-03 Thread Meredith Gregory
/ScalaScriptMojo.html#172 step 3 : the temp files are removed The only way I see to get some external parameter is using something like System.getProperty(args) in yourscript.scala with a -DscriptFile=yourscript.scala Jean-Luc 2009/3/3 Meredith Gregory lgreg.mered...@gmail.com Scalads

[Lift] Re: [Jersey] jersey as filter

2009-03-03 Thread Meredith Gregory
method. Frankly, i can't see a substantive difference between their sample and the one i've got -- apart from swapping out glassfish for jetty. Best wishes, --greg On Tue, Mar 3, 2009 at 7:50 AM, Meredith Gregory lgreg.mered...@gmail.comwrote: Viktor, The combined servlet is eating http requests

[Lift] jersey and lift side-by-side + request for link to URL rewrite example

2009-03-03 Thread Meredith Gregory
? The simpler the better for a bear of very little brains, like myself. Best wishes, --greg On Tue, Mar 3, 2009 at 3:08 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Viktor, et al, Well, i've scoped things down to just running the Jersey helloworld-webapp sample in jetty with Jersey

[Lift] Re: [Jersey] jersey as filter

2009-03-04 Thread Meredith Gregory
standalone and verified that it's working? Cheers, Viktor- Show quoted text - On Wed, Mar 4, 2009 at 12:08 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: Viktor, et al, Well, i've scoped things down to just running the Jersey helloworld-webapp sample in jetty with Jersey

[Lift] i can haz scala xml???

2009-03-04 Thread Meredith Gregory
Sir and Dame Scalahads, i was attempting to do something really simple-minded with scala.xml._ and it didn't perform according to Burak's tutorial. So, any clues about the following would be greatly appreciated. - When i type the following into Scala version 2.7.2.final repl, it all works

[Lift] Re: [scala] i can haz scala xml???

2009-03-04 Thread Meredith Gregory
Does that give you what you want (XML literals are part of the language) On Wed, Mar 4, 2009 at 1:10 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Sir and Dame Scalahads, i was attempting to do something really simple-minded with scala.xml._ and it didn't perform according to Burak's

[Lift] Re: [scala] i can haz scala xml???

2009-03-04 Thread Meredith Gregory
David, Thanks for the attention to the problem. i resolved the issue. There was a missing param in my programmatic call: cut-n-pasto. Best wishes, --greg On Wed, Mar 4, 2009 at 2:03 PM, David Pollak feeder.of.the.be...@gmail.comwrote: On Wed, Mar 4, 2009 at 1:16 PM, Meredith Gregory

[Lift] documentation for structural/partial type bounds

2009-03-04 Thread Meredith Gregory
Dam and Sir Scalahads, Where is the documentation for the structural/partial type syntax? i want to express a bound on a type that says it has to at least have method m with signature sig. Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 806 55th St NE Seattle, WA 98105

[Lift] Re: [scala] documentation for structural/partial type bounds

2009-03-04 Thread Meredith Gregory
David, Thanks! Best wishes, --greg On Wed, Mar 4, 2009 at 3:46 PM, David Pollak feeder.of.the.be...@gmail.comwrote: scala def doClose(in: {def close(i: Int): Unit}) {in.close(42)} doClose: (AnyRef{def close(Int): Unit})Unit On Wed, Mar 4, 2009 at 3:26 PM, Meredith Gregory lgreg.mered

[Lift] Re: [scala] documentation for structural/partial type bounds

2009-03-04 Thread Meredith Gregory
... On Thu, Mar 5, 2009 at 12:48 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: David, Thanks! Best wishes, --greg On Wed, Mar 4, 2009 at 3:46 PM, David Pollak feeder.of.the.be...@gmail.com wrote: scala def doClose(in: {def close(i: Int): Unit}) {in.close(42)} doClose

[Lift] Re: [scala] Re: Fwd: unexpected crashing behavior...

2009-03-04 Thread Meredith Gregory
Eric, Thanks for your note. If you look at the previous version of the code -- lower down in the thread -- there is no use of generics -- and i still get the crashing behavior. Best wishes, --greg On Wed, Mar 4, 2009 at 9:36 PM, Eric Willigers ewillig...@gmail.com wrote: Meredith Gregory

[Lift] generic programming question

2009-03-05 Thread Meredith Gregory
Mein Scalan und Liften, Please find below a very simplistic view of transform a POJO to an XML container. At it's heart is the recognition that a POJO is an in-memory representation of a relation. i would like to generalize this code to include other container types, e.g. JSON. i started down the

[Lift] Re: [Jersey] jersey as filter

2009-03-09 Thread Meredith Gregory
that passes things through to the next filter in the chain if Jersey does not match the URI. If you require this functionality please log an issue. Hope that helps, Paul. On Mar 3, 2009, at 3:32 AM, Meredith Gregory wrote: Lifted, Well, at least i've got jetty launching and running

[Lift] slicing off a web front end

2009-04-22 Thread Meredith Gregory
Lifted, After diving into what it takes to more or less auto-generate a decent starting point for a midtier from the backend of a RoR (or other) website, i'm now interested in the least painful way to slice off the frontend of an existing website and paste it onto a lift(ed) midtier. Suppose

[Lift] bitrot

2009-04-22 Thread Meredith Gregory
Lifted, Apparently i'm not keeping pace with the Jones'. The following code fragment used to work and now it doesn't. val entries = (Menu(Loc(Home, /, Home)) :: Menu(Loc(REPLForm.1, /AJAXREPLForm, R-E-P-L, If(User.loggedIn_? _, x))) :: Menu(Loc(GrammarSpec.1, /GrammarSpec,

[Lift] Re: bitrot

2009-04-22 Thread Meredith Gregory
at the Loc signature, but mine looks like this: Menu(Loc(Home, / :: Nil, Home)) or Menu(Loc(Home, List(/), Home)) Could that be the trouble? Chas. Meredith Gregory wrote: Lifted, Apparently i'm not keeping pace with the Jones'. The following code fragment used to work and now

[Lift] Re: slicing off a web front end

2009-04-25 Thread Meredith Gregory
at 5:14 PM, Meredith Gregory lgreg.mered...@gmail.com wrote: Tim, et al, Here http://svn.biosimilarity.com/src/open/pipe-cutter/'s a link to the root of the project. What it does can be summarized as follows. - scrape the frontend off Yahoo Pipes - implement a JRoR app to field

[Lift] Re: Feedback on screen cast, please

2009-04-27 Thread Meredith Gregory
David, Your screencast is very well done. There is one small change i would make to add a layer regarding the management of complexity. Make a change to the app: a small but noticeable change, like reorder the messages newest to oldest with a timestamp, or something. It would be ideal if

[Lift] namespace problem again

2009-04-29 Thread Meredith Gregory
Lifted, i'm getting the following error. i've run into this before and resolved it, but i can't for the life of me remember what i did. All my other lift sites are constructed pretty much isomorphic to this one. Any help would be greatly appreciated. Best wishes, --greg XML Parsing Error:

[Lift] Re: namespace problem again

2009-04-29 Thread Meredith Gregory
- ajaxCall(JsRaw($('#initialTimeField').attr('value')), s = updateInitialTime(s))) ) } br/ div id=resultChart{whatNode(evalStr())}/div /xml:group } } On Wed, Apr 29, 2009 at 10:51 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, i'm getting

[Lift] Re: namespace problem again

2009-04-29 Thread Meredith Gregory
. Is there a clean, simple model that will help me understand how to use bind? Best wishes, --greg On Wed, Apr 29, 2009 at 11:17 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: David, Thanks for the suggestion, but no joy. The error is the same. BTW, the only difference i could spot

[Lift] Re: namespace problem again

2009-04-29 Thread Meredith Gregory
, 2009 at 11:27 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted, It appears that the interface for binding a namespace is side-effecting. That's fine. But, i can't seem to understand the semantics. For example, - if one puts a call to bind at the beginning of a block

[Lift] Re: namespace problem again

2009-04-29 Thread Meredith Gregory
...@gmail.com wrote: On Wed, Apr 29, 2009 at 11:17 AM, Meredith Gregory lgreg.mered...@gmail.com wrote: David, Thanks for the suggestion, but no joy. The error is the same. BTW, the only difference i could spot between your proposal and mine was changing the -- to -. Yeah

[Lift] CometListener and CometActor

2009-04-29 Thread Meredith Gregory
David, et al, i wanted to attempt to recapitulate some version of the screencast for the comet stuff. Where does CometListener live? Best wishes, --greg [INFO] Compiling 2 source files to /Users/lgm/work/src/projex/biosimilarity/chart/target/classes [WARNING]

[Lift] really basic lift question

2009-04-29 Thread Meredith Gregory
Charles, et al, i'm trying to do something dead simple and it is exposing all kinds of ignorance on my part regarding lift. (Yay! i get to learn new stuff -- which would be great if i weren't under a terrible time crunch.) Now, all i want to do is create a form with - 3 text boxes - 1

[Lift] buttons and textbox

2009-05-02 Thread Meredith Gregory
Lifted, i'm putting together a little lift-based testharness in which to evaluate various solutions to the challenge Martin posted recently regarding scalable abstractions for a little lambda interpreter. You can get a copy of the app here http://svn.biosimilarity.com/src/open/rlambda/trunk/.

[Lift] Re: buttons and textbox

2009-05-03 Thread Meredith Gregory
. The code i have written is well-typed. Any help would be greatly appreciated. Best wishes, --greg On Sat, May 2, 2009 at 8:50 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Lifted, i'm putting together a little lift-based testharness in which to evaluate various solutions to the challenge

[Lift] Re: buttons and textbox

2009-05-03 Thread Meredith Gregory
Marius, et al, Put another way, what is the minimal code that will allow me to associate to the button click calling updateWhat with the string that is currently sitting in the textbox? Best wishes, --greg On Sun, May 3, 2009 at 12:51 AM, Meredith Gregory lgreg.mered...@gmail.comwrote

[Lift] Re: buttons and textbox

2009-05-03 Thread Meredith Gregory
is different from document.getElementById(whatField).value. I know it's a bit odd ... Br's, Marius On May 3, 10:51 am, Meredith Gregory lgreg.mered...@gmail.com wrote: Marius, Thanks for the tip! That gets me a little further. However, what i really don't understand is why it is that after i have

[Lift] textarea overrides?

2009-05-03 Thread Meredith Gregory
Lifted, i gave up on trying to understand how to to the brain-dead simple version of what i was trying to do and went for a more complex version. This works (better, anyways). However, i notice that despite the instructions to render the textarea with 1 row, it is rendering it with about 10 rows.

[Lift] Re: textarea overrides?

2009-05-03 Thread Meredith Gregory
Blueprint, and default sizes on the textareas is at the top of my list.) Chas. TylerWeir wrote: If you're using the standard CSS, it's likely blueprint is controlling the size: http://blueprintcss.org/blueprint/src/forms.css On May 3, 6:16 pm, Meredith Gregory lgreg.mered

  1   2   3   >