David Pollak wrote:
If you're cool with looking up the snippet by class/method name use the
plain old snippet. If you want some control before the method gets
invoked (e.g., changing the behavior based on current session state),
use the dispatch snippet.
Is there a good example of this
Is there a good example of this in the example sites somewhere? I'm a
bit confused but intrigued.
http://github.com/dpp/liftweb/tree/master/sites/example/src/main/scala/net/liftweb/example/snippet/CountGame.scala
That should help you get started
Cheers, Tim
OK, I have two mapped classes:
class Page extends KeyedMapper[Long, Page] {
def findPageSections: List[PageSection] =
PageSection.findAll(PageSection.page, this.id)
}
and
class PageSection extends KeyedMapper[Long, PageSection] {
object page extends MappedLongForeignKey(this, Page)
Very helpful. Thanks!
Tim Perrett wrote:
Is there a good example of this in the example sites somewhere? I'm a
bit confused but intrigued.
http://github.com/dpp/liftweb/tree/master/sites/example/src/main/scala/net/liftweb/example/snippet/CountGame.scala
That should help you get started
Is it permGen OOM or Heap OOM?
On Wed, Oct 8, 2008 at 7:21 PM, David Pollak [EMAIL PROTECTED] wrote:
Folks,
I've been using NetBean pretty successfully... except for projects that
refer to complex parser combinator files (e.g., Lift's Textile parser.)
NetBeans looks for stuff on the
Guys,
I've spent some time gutting my extremely boiler plate paypal code now
its in master. I've only implemented the PDT data types and response
so far, but im going to do IPN tomorrow / over the weekend.
So then, its all properly immutable now and is just generally a lot
more sensible. To use
Erik Engbrecht wrote:
I haven't tried this, but if possible I'd suggest moving them into a
separate libary and only letting NetBeans see the compiled jar.
Unfortunately, that doesn't work. Anything that is seen as part of the
project is parsed. So, I can't edit the Lift Example code
On Thu, Oct 9, 2008 at 1:55 PM, Erik Engbrecht [EMAIL PROTECTED] wrote:
As a side note, I bet the Eclipse plugin has the same problem.
It'd be much appreciated if someone could give this a try ...
Cheers,
Miles
--~--~-~--~~~---~--~~
You received this message
Charles F. Munat wrote:
OK, I have two mapped classes:
class Page extends KeyedMapper[Long, Page] {
def findPageSections: List[PageSection] =
PageSection.findAll(PageSection.page, this.id)
}
and
class PageSection extends KeyedMapper[Long, PageSection] {
object page extends
I'm very close to getting this working. I can look up the EM via JNDI as
well as the UserTransaction, but I'm getting a weird error with Atomikos:
Message: java.lang.RuntimeException: Transaction Service Not Running?
com.atomikos.icatch.jta.J2eeUserTransaction.checkSetup(Unknown Source)
Outstanding! And just in time. I need to implement PayPal functionality
on a site next week. Thank you very much, Tim.
Chas.
Tim Perrett wrote:
Guys,
I've spent some time gutting my extremely boiler plate paypal code now
its in master. I've only implemented the PDT data types and response
Sweet - I'll be implementing IPN soon as well, so we'll have the
braces and belt as it were. My plan for that right now is two fold:
a) A hadnling class that is implemented as part of a DispatchPf setup,
and a subsequent ResponseState to satisfy the paypal POST to the
client web server. Perhaps
Ah! I thought that's what the QueryParams were, but they weren't in your
original post so I was confused. Excellent. Thanks a lot.
Chas.
David Pollak wrote:
Charles F. Munat wrote:
OK, I have two mapped classes:
class Page extends KeyedMapper[Long, Page] {
def findPageSections:
Of course I'll be happy to pass along suggestions, bugs I find, etc.
This is a good opportunity to get something like this into the wild, as
this is a paying client and they are *very* aggressively pushing me to
get PayPal online ASAP. I hope to start implementing this next week if I
can get
There are two projects I'm working on that will use the PayPal module in
the next month as well.
Rock and Roll!
Charles F. Munat wrote:
Of course I'll be happy to pass along suggestions, bugs I find, etc.
This is a good opportunity to get something like this into the wild, as
this is a
15 matches
Mail list logo