As far as I remember David said once, that Mapper will be anyway a part of
Lift and it will be not deprecated.
Regards,
Mateusz
On Thu, Mar 19, 2009 at 8:31 PM, Alex a...@liivid.com wrote:
I have been looking through Lift documents trying to figure out what
to do about an ORM for my first
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,
Guys,
I might only have 8 years of experience with working with the Servlet-stack,
but the main reason that Lift is hooked into a Filter is that Lift filters
requests... ;)
Hooking it in as a Servlet would only be feasible if we'd have a two-pass
system where:
The request first goes through the
I am trying to render a list of items using bind without success. I
have reduced it to a clean liftweb project with the following in
HelloWorld.scala
def fruits(xhtml:NodeSeq) = {
List(apple, orange, banana).flatMap(
fruit = bind(f, xhtml, name - fruit)
)
}
And this in
Not really. What I want to do is have the object tell me what it is.
Unless I'm really misunderstanding isInstanceOf, I have to iterate
through all the possibilities. Plus, my brain is probably just fried,
but I'm not seeing how to use it in a match, so I'm having to run
through a bunch of if
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.
Unless I'm really misunderstanding
On Fri, Mar 20, 2009 at 11:43 AM, Charles F. Munat c...@munat.com wrote:
Not really. What I want to do is have the object tell me what it is.
Unless I'm really misunderstanding isInstanceOf, I have to iterate
through all the possibilities. Plus, my brain is probably just fried,
but I'm not
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 viktor.kl...@gmail.com wrote:
On Fri, Mar 20, 2009 at 11:43 AM, Charles F. Munat c...@munat.com wrote:
Not really. What I want to do is have the object
Viktor, I guess you didn't see my other never mind email as it went
out about six minutes before you sent this. I arrived at the same
conclusion. Duh.
But now I'm running out of heap space when I try to compile. I shut
everything down, rebooted. Still breaks. I pulled out all the code I'd
If you need the Class:
org.hibernate.proxy.HibernateProxyHelper.getClassWithoutInitializingProxy(obj)
On Fri, Mar 20, 2009 at 12:08 PM, Timothy Perrett
timo...@getintheloop.euwrote:
Chas,
If you want the object to tell you what it is can you not use some form of
reflection?
Tim
On
Chas,
I have no clue since I don't know what your code looks like.
But just increase the heap size? Maybe you just hit the roof?
Cheers,
Viktor
On Fri, Mar 20, 2009 at 12:55 PM, Charles F. Munat c...@munat.com wrote:
Viktor, I guess you didn't see my other never mind email as it went
out
There's no real reason to make it go away even when we have Record, so you
can safely use it.
Derek
2009/3/20 Mateusz Fiołka mateusz.fio...@gmail.com
As far as I remember David said once, that Mapper will be anyway a part of
Lift and it will be not deprecated.
Regards,
Mateusz
On Thu,
Potentially in a few version of Lift it will become deprecated, but that
wont be anytime soon and it will be supported by the commit team for the
foreseeable future.
Cheers, Tim
On 20/03/2009 13:28, Derek Chen-Becker dchenbec...@gmail.com wrote:
There's no real reason to make it go away even
What am I missing? I assume there is a problem with the fruits method
signature. Do snippet methods havve to return NodeSeq?
Yes, if you change it to this, you'll be good to go:
def fruits(xhtml:NodeSeq): NodeSeq = {
List(apple, orange, banana).flatMap(
fruit = bind(f, xhtml,
I might only have 8 years of experience with working with the
Servlet-stack, but the main reason that Lift is hooked into a Filter is that
Lift filters requests... ;)
But, if OSGi does not support filters then another solution will need to be
identified. For example, what if all requests are
On Fri, Mar 20, 2009 at 2:23 PM, Chad Skinner chadwskin...@gmail.comwrote:
I might only have 8 years of experience with working with the
Servlet-stack, but the main reason that Lift is hooked into a Filter is that
Lift filters requests... ;)
But, if OSGi does not support filters then
On Fri, Mar 20, 2009 at 1:52 AM, Viktor Klang viktor.kl...@gmail.comwrote:
Guys,
I might only have 8 years of experience with working with the
Servlet-stack, but the main reason that Lift is hooked into a Filter is that
Lift filters requests... ;)
Hooking it in as a Servlet would only be
The only breakage that I can see is that Req.request is going to turn from
an HttpServletRequest to Box[HttpServletRequest] The rest will be under the
covers.
This is pretty damn exciting.
On Mar 20, 10:24 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Fri, Mar 20, 2009 at 1:52
On Fri, Mar 20, 2009 at 6:23 AM, Chad Skinner chadwskin...@gmail.comwrote:
I might only have 8 years of experience with working with the
Servlet-stack, but the main reason that Lift is hooked into a Filter is that
Lift filters requests... ;)
But, if OSGi does not support filters then
On Fri, Mar 20, 2009 at 12:45 AM, Charles F. Munat c...@munat.com wrote:
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.
Sounds reasonable. However, I'd prefer not to bundle it with Lift webkit,
Sure, I'll bundle it as part of the widgets module along with some code do
handle the nitty-gritty of emitting the full menu and enabling superfish.
Derek
On Fri, Mar 20, 2009 at 9:30 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Fri, Mar 20, 2009 at 12:45 AM, Charles F. Munat
On Fri, Mar 20, 2009 at 9:37 AM, Derek Chen-Becker dchenbec...@gmail.comwrote:
I'm looking at the code and I can't figure out how to make SiteMap emit the
entire menu tree, other than to modify Lift core. The sitemap Menu class
specifically tests against the current path to determine whether
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 creating web applications.
Lift provides enormous
Great, thanks. Any response to my second question? I couldn't find
information:
Is there somewhere I can read about the design goals, migration path,
and development status of Record?
On Mar 20, 8:09 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
I've got 8+ active projects that use
On Friday March 20 2009, TylerWeir wrote:
Derek, Marius and I are happy to announce:
Exploring Lift: Scala-based Web Framework
http://www.apress.com/book/view/1430224215
...
How does this book relate to your open-source book:
- http://github.com/tjweir/liftbook/tree
-
On Fri, Mar 20, 2009 at 11:33 AM, Alex a...@liivid.com wrote:
Great, thanks. Any response to my second question? I couldn't find
information:
Is there somewhere I can read about the design goals, migration path,
and development status of Record?
Nowhere. Marius and I have been chatting
It's the exact same content.
Thanks,
Tyler
...
How does this book relate to your open-source book:
- http://github.com/tjweir/liftbook/tree
- http://groups.google.com/group/the-lift-book
Randall Schulz
--~--~-~--~~~---~--~~
You received this message
In my bag of knowledge :) (google)
Viktor,
Rogue Software Architect
20 mar 2009 kl. 20.24 Charles F. Munat c...@munat.com skrev:
Ooooh. That's really good to know. Where did you find that?
Chas.
Viktor Klang wrote:
If you need the Class:
org.
hibernate.
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
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 creating web
On Fri, Mar 20, 2009 at 12:38 PM, Charles F. Munat c...@munat.com wrote:
Heh, heh. I built http://tridosha.com/ in 1999.
Very cool.
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
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 Charles'
contribution to Lift and the community and say, yeah, he's a committer.
Well, now he is.
Welcome Charles!
Thanks,
David
--
Lift, the simply
You must know how to sweet talk Google. It's rarely that forthcoming
with me. I'm going to try to figure out how to increase the heap size
and see if that works. But is there some way that a compiler can get
into an infinite loop?
Chas.
Viktor Klang wrote:
In my bag of knowledge :) (google)
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
Welcome Charles ... I know I'm on the list of people that always
thought you're already a committer ... so now my confusion is gone !
Glad to have you on board and not over it :)
On Mar 20, 9:49 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
I am pleased to welcome Charles Munat
To clarify, it's *intended* to be the exact same content. I'm trying to make
sure that any changes and feedback we receive makes it into both versions
but it's possible that they may be slightly out of sync. In any case, and
differences other than formatting should be very, very minor.
Derek
On
Glad to have you aboard!
Derek
On Fri, Mar 20, 2009 at 1:49 PM, David Pollak feeder.of.the.be...@gmail.com
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 Charles'
contribution to Lift and
Hi Tyler,
Congratulations. I'm going to have to buy a new bookshelf to hold all
these Scala books.
Bill
On Fri, Mar 20, 2009 at 12:08 PM, TylerWeir tyler.w...@gmail.com wrote:
Derek, Marius and I are happy to announce:
Exploring Lift: Scala-based Web Framework
This is a n00b question, but I've spent a bit too much time trying to
find where a number of the Lift classes are defined. I installed the
PocketChange app, and I can get it to run (although the current
version is quiet broken and I had to create a postgres db user) but
when I open it as a
On Fri, Mar 20, 2009 at 1:46 PM, Alex a...@liivid.com wrote:
This is a n00b question, but I've spent a bit too much time trying to
find where a number of the Lift classes are defined. I installed the
PocketChange app, and I can get it to run (although the current
version is quiet broken and
Hey Everyone,
This stumped me for a few minutes. I thought I was looking at some
Scala Ninja Moves but in reality I think that the HTML version of the
Getting Started docs has tildas instead of double quotes in a lot of
places. Can anyone else confirm?
Thanks,
Larry
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?
Derek if you want to build menu the widget by all means go ahead. I
just don't want to duplicate the effort by having us work on the same
thing. (If you do please update the ticket owner)
Br's,
Marius
On Mar 20, 5:48 pm, Derek Chen-Becker dchenbec...@gmail.com wrote:
Sure, I'll bundle it as
In your pom.xml file:
plugin
groupIdorg.scala-tools/groupId
artifactIdmaven-scala-plugin/artifactId
version2.9/version
executions
execution
goals
goalcompile/goal
goaltestCompile/goal
/goals
Wow. I totally missed that. Unfortunately, I'm not very familiar with
tex4ht, so I really need to dig into that to figure out what the heck is
going on there. From what I can tell, it's only doing it for code listings.
Are you seeing it anywhere else?
Derek
On Fri, Mar 20, 2009 at 2:59 PM,
I think the best way is if you open the pom.xml as a project. Then add the
Scala facet to the module. IntelliJ should download the required maven jars
for you as you load the maven project.
Bingo! I was creating a new project from source. When I opened the
pom as a project (I never would
AH HA! I thought so. In fact, I was busy searching Google for exactly this.
Thank you very much. I can get down off the roof now.
Is there anywhere online where all these Maven POM settings are
documented? I've been to the Maven site, but can't find it.
Chas.
David Pollak wrote:
In your
On Fri, Mar 20, 2009 at 3:13 PM, Charles F. Munat 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 get down off the roof now.
Is there anywhere online where all these Maven POM settings are
documented? I've been to
Bingo! I was creating a new project from source. When I opened the
pom as a project (I never would have thought of that) It actually
detected the Scala facet so I didn't even need to set it up.
It was not finding the jars otherwise, probably because it didn't use
the pom.xml.
So far
As I suspected.
David Pollak wrote:
On Fri, Mar 20, 2009 at 3:13 PM, Charles F. Munat c...@munat.com
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 get down off the roof now.
The mojo's are well documented both on scala-tools maven site and in
the code itself. I'm on my iPhone right now so can't paste the link
(damn you apple!) but it's all on scala-tools! If been looking for
specific options myself before and found it to be very well organized.
Tim
Sent from
I'm going through the recently announced book and JPA looks pretty
attractive. There is no mention of schema management - e.g. creating
and modifying tables. Is there any or is that all done manually?
--~--~-~--~~~---~--~~
You received this message because you
52 matches
Mail list logo