I'm sure that I'm missing something obvious here, but I'm having a bit
of difficulty figuring out this error:
XML Parsing Error: prefix not bound to a namespace
Location: http://localhost:8080/gcsi-admin-lift/orders/list
Line Number 79, Column 11:
tdorder:id //td
--^
The template
On Tue, Sep 9, 2008 at 10:09 AM, Oliver [EMAIL PROTECTED] wrote:
Actually, is this the essence of the cookie. Why has the object been
detached in the example Kris gives - is there something wrong with
RequestVar lifecycle?
Right; sorry, I should have been more clear about my question. I
Hi, all,
In looking at the code in Log and Props, I found that I could
conceivably set up log4j by creating a 'default.log4j.xml' file. I
added this to src/main/resources and added the following to my
pom.xml:
filters
the scope on the persistence
pom so that the javax.persistence's scope is provided and the Hibernate
and HSQLDB are test. Let me know what you find or if that helps.
Derek
On Tue, Sep 9, 2008 at 9:24 AM, Kris Nuttycombe [EMAIL PROTECTED]
wrote:
On Tue, Sep 9, 2008 at 10:09 AM, Oliver [EMAIL
That possibility had occurred to me. Perhaps the best thing is just to
create a separate object for the persistence context that defines both
persistence transaction operations. You'd then have implementations
for both JTA and RESOURCE_LOCAL type persistence units and store that
in the
but it seemed
a lot cleaner.
Derek
On Wed, Sep 10, 2008 at 12:39 PM, Kris Nuttycombe
[EMAIL PROTECTED] wrote:
Hrm. I think that I need to do something extra there to extract and
bind against just the order:items element to avoid re-binding over
the entire contents of the snippet.
Marius, can
Thanks a lot, Martin. That's definitely useful to know, and, wow...
too much magic.
On Wed, Sep 10, 2008 at 2:23 PM, Martin Ellis [EMAIL PROTECTED] wrote:
On Wed, Sep 10, 2008 at 4:27 PM, Kris Nuttycombe
[EMAIL PROTECTED] wrote:
The only question I have is thread safety - it doesn't seem
It's ugly, but this works:
(new java.util.ArrayList[Subscription](items)).flatMap(...)
I guess that Scala is uncomfortable imposing order on something that's
not explicitly ordered?
Kris
On Wed, Sep 10, 2008 at 4:23 PM, Kris Nuttycombe
[EMAIL PROTECTED] wrote:
I quickly found out that Group
I'm going to be dealing with these sorts problems in the next couple
of weeks, so I'm also interested in any experiences either of you have
(and will be sure to share my own once I get there.) My initial plan
had been to try to integrate Acegi as well; I'll let you know how it
goes when I get to
on the wrapped object to get a scala.List. That may
be less ugly.
--j
On Wed, Sep 10, 2008 at 4:17 PM, Kris Nuttycombe
[EMAIL PROTECTED] wrote:
It's ugly, but this works:
(new java.util.ArrayList[Subscription](items)).flatMap(...)
I guess that Scala is uncomfortable imposing order on something
, ...)
Kind of ugly. I still can't find the example that David posted but it seemed
a lot cleaner.
Derek
On Wed, Sep 10, 2008 at 12:39 PM, Kris Nuttycombe
[EMAIL PROTECTED] wrote:
Hrm. I think that I need to do something extra there to extract and
bind against just the order:items element
It appears that if I use lift:embed .../ to embed a template,
bindings that I have declared that would be interpreted properly in
the embedding template are not propagated to the embedee. Is this by
design? How can I facilitate this sort of template reuse?
I had hoped that lift:embed might be
On Thu, Sep 11, 2008 at 3:49 PM, David Pollak [EMAIL PROTECTED] wrote:
If you are trying to embed a lift:embed .../ in the body of a snippet...
e.g.:
lift:MySnippet
lift:embed .../
/lift:MySnippet
That is indeed essentially what I was trying to do; in the application
I'm building I have
thing (give Hudson about 2 hours to get the code into the
Lift Maven respository).
Kris Nuttycombe wrote:
On Thu, Sep 11, 2008 at 3:49 PM, David Pollak [EMAIL PROTECTED] wrote:
If you are trying to embed a lift:embed .../ in the body of a snippet...
e.g.:
lift:MySnippet
lift:embed
Very cool, this works exactly as I had hoped. I'll put together a bit
of documentation together on the wiki this evening.
Thanks again,
Kris
On Thu, Sep 11, 2008 at 4:52 PM, David Pollak [EMAIL PROTECTED] wrote:
Kris Nuttycombe wrote:
Wow... Thank you! I've been involved with some
(LiftServlet.scala:475)
On Thu, Sep 11, 2008 at 4:10 PM, David Pollak [EMAIL PROTECTED] wrote:
lift:MySnippet eager_eval=true
lift:embed...
/lift:MySnippet
will do the right thing (give Hudson about 2 hours to get the code into the
Lift Maven respository).
Kris Nuttycombe wrote:
On Thu, Sep
Just thought I should point out that
http://demo.liftweb.net/lift/simple/ is puking:
Message: java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
This is because Hibernate only understands Java enums, not Scala
Enumerations. However, you could easily write a custom type mapping
for Scala enumerations and use the Hibernate @Type annotation - it's
not JPA canon (why didn't they forsee the need for customized
mappings?), but if you're using
Hi, all,
I'm muddling about with forms, and am having problems getting a
function called from a form submission. Here's the relevant part of my
snippet code:
class Subscriptions {
def list(xhtml : NodeSeq) : NodeSeq = {
Orders.orderForDisplay.is.openOr(throw new
IllegalStateException(No
Well, I figured out what's going on. RequestVar and SessionVar depend
upon their *class name* for uniqueness. So, you can't just create a
RequestVar instance and expect uniqueness, and in fact if you create a
RequestVar as a member of a reusable superclass like my JNDIResource,
even with a
I've been trying to find the time to build out an extension to Derek's
sample app, but between it being crunch time at work and trying to
spend some time with my 1 year old, I haven't gotten around to it. I
should be able to find a couple of hours in the next week or so to
work on it, though.
I'm happy to assign the IP; although I need it for work I did the
development on my own time. Just let me know what you need.
Kris
On Mon, Oct 6, 2008 at 10:21 AM, David Pollak
[EMAIL PROTECTED] wrote:
On Mon, Oct 6, 2008 at 9:10 AM, Kris Nuttycombe [EMAIL PROTECTED]
wrote:
I've cloned
Congratulations, Derek, and thanks again for all your help!
Kris
On Mon, Oct 6, 2008 at 11:12 AM, David Pollak
[EMAIL PROTECTED] wrote:
Folks,
Derek Chen-Becker has just joined the Lift committers. One might ask What
took so long? Derek's been an awesome contributor to the Lift community
Also, if it makes it easier I'm happy to provide the changes as a
patch, and I'm a committer on the Jakarta Commons project so I'm
familiar with the process of sending a CLA if that helps.
Krsi
On Mon, Oct 6, 2008 at 10:28 AM, Kris Nuttycombe
[EMAIL PROTECTED] wrote:
I'm happy to assign the IP
On Mon, Oct 6, 2008 at 7:53 AM, David Pollak [EMAIL PROTECTED] wrote:
Unfortunately, DB4O's choice of license and business model drives them away
from JVM-land and toward CLR-land.
I've had pretty extensive chats with the DB4O people and would really like
to do something with them related
at 4:01 PM, Kris Nuttycombe [EMAIL PROTECTED]
wrote:
This artifact cannot legally be distributed in any Maven repository;
you have to download and install it locally.
I've removed the JPA stuff from the sites pom.xml file pending resolving
this issue. Basically, Lift should not install
I'm happy to test on Glassfish this weekend. Just let me know what
branch to pull from.
Kris
On Fri, Oct 10, 2008 at 3:14 PM, Derek Chen-Becker
[EMAIL PROTECTED] wrote:
Well, I have it all working under Jetty using Atomikos as the underlying JTA
provider. I'd like to test it out under JBoss
:
OK, I think I know how to create a new branch, but being a Git newb I really
don't want to nuke anything. Do I just do a git branch my new branch
name in my local repo?
Thanks,
Derek
On Fri, Oct 10, 2008 at 3:21 PM, Kris Nuttycombe [EMAIL PROTECTED]
wrote:
I'm happy to test
I should be able to sort out any glassfish/hibernate issues with the
demo, as my Lift/JPA/JTA/Hibernate/Glassfish app is running happily
and going into production on Tuesday. In general, I haven't run into
any issues whatsoever; all you need is the
Hi, all,
I was just trying to figure out how to configure a Lift webapp to use
Java EE container-based security. Since Lift runs as a servlet filter,
I'm not sure how to configure the web.xml file since
security-role-ref is a member of the servlet tag. Has anyone done
this yet? If not, is there
On Tue, Nov 25, 2008 at 11:24 AM, Derek Chen-Becker
[EMAIL PROTECTED]wrote:
We just had a bit of a discussion on integrating JPA with the new Record
stuff over on the committers list and unintentionally got into some
substance discussion that would be better handled on the main list. Let me
I've actually found that building a Lift project is a fairly effective means
of learning Scala, because Lift tends to use a lot of idiomatic Scala that
you don't necessarily see in context when reading the Artima book. It can be
a lot to take on at once, but I've found that being exposed to and
I agree that a compiler plugin seems a bit problematic; using one would mean
that JPA-enabled Lift apps are no longer really pure scala.
It seems to me that the principal problem is that JPA doesn't really live up
to the ideal of keeping the meaning with the bytes, which the Record/Field
design
So the short answer is, if you want to use Field as a structural type and
override functions on that type, you're better off defining a new Field
subtype or a trait with the appropriate behavior than doing it inline as an
anonymous class, if you want to avoid the performance hit.
I'm okay with
/lift:Show.users
/table
On Fri, Dec 5, 2008 at 7:36 PM, Kris Nuttycombe
[EMAIL PROTECTED]wrote:
Very nice! On the minor typo front:
lift:Util.out
Please Log In bDude/b
/lift:Uitl.out
Should be
lift:Util.out
Please Log In bDude/b
/lift:Util.out
Kris
On Fri, Dec 5, 2008 at 7:18
Hi, Derek,
Have you considered making ScalaEntityManager a trait that can be mixed into
something that provides an EntityManager, rather than an abstract class
decorating one? I've taken that approach with good results; I think it makes
it a bit more flexible with respect to how the underlying
somewhere?
Derek
On Thu, Jan 8, 2009 at 10:52 PM, Derek Chen-Becker
dchenbec...@gmail.comwrote:
I actually show book.layout as being part of Lyx:
/usr/share/lyx/layouts/book.layout
Bizarre...
On Thu, Jan 8, 2009 at 10:01 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote
/share/lyx/layouts/book.layout
Bizarre...
On Thu, Jan 8, 2009 at 10:01 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
It seems that upgrading to Ubuntu Intrepid has for some reason made me
unable to build Tyler/Derek/Marius's Lift book. I'm a total LaTeX noob - can
somebody help me out
If you want to render a model 30 different ways in 30 different contexts, it
kind of sucks though, doesn't it?
Or what if, shock horror, you don't know how the eventual system is going to
want to render the model (i.e., the person doing the rendering won't be able
to change the model code.) Not
My bug tracking wishlist:
1) Pluggable integration with source control systems so that fixed bugs can
easily be associated with the relevant patch sets in the vcs.. The rise of
distributed version control systems like Git has had me thinking about the
possibility of providing a patch as a link or
The GPL doesn't come into effect unless you distribute software based upon
the GPL'ed code. The AGPL extends the definition of distribution to using
the software to provide a service on the web.
Kris
On Fri, Jan 9, 2009 at 8:45 PM, Josh Suereth joshua.suer...@gmail.comwrote:
If you keep a good
code?
Chas.
Kris Nuttycombe wrote:
Oh, I'm not complaining about the way User is handled - my response was
more about the general hate towards MVC upthread. Having a sensible
default for a standard use case is great, even when I'll probably never
use the default.
In my Lift app, my
Oh, wow, somehow I'd missed that. This is something that I've definitely
been needing (and attempting to work around the perceived lack of.)
But wait... is there any way for the inner snippet to get state from the
outer snippet?
Thanks!
Kris
On Tue, Jan 13, 2009 at 11:05 AM, David Pollak
Globals again? :(
Guess I'll have to stick with chooseTemplate.
On Wed, Jan 14, 2009 at 11:50 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Jan 14, 2009 at 10:48 AM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
Oh, wow, somehow I'd missed that. This is something
much difficulty, and I'd like to avoid writing Java as much as
possible. Is there some advantage to using POJOs?
Chas.
Kris Nuttycombe wrote:
Hi, Chas,
Sorry it's taken me so long to respond to this - I've been pretty buried
for the past week.
Here's an example of what I'm doing
- the
persistence layer gets updated correctly when the transaction associated
with the request completes. The only bit I'm not sure about with that is the
behavior of removes.
Kris
Chas.
Kris Nuttycombe wrote:
I'm not sure it's that thorough; it's just a copy/paste from my app. :)
The reason
It occurs to me that it might be useful for AnyVar to implement map and
flatMap to make updating a var holding an immutable value a little easier.
Would anyone object if I added those methods?
Kris
--~--~-~--~~~---~--~~
You received this message because you are
On Wed, Jan 14, 2009 at 5:31 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Wed, Jan 14, 2009 at 4:27 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
It occurs to me that it might be useful for AnyVar to implement map and
flatMap to make updating a var holding an immutable
On Wed, Jan 14, 2009 at 5:55 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Wed, Jan 14, 2009 at 4:52 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
On Wed, Jan 14, 2009 at 5:31 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Jan 14, 2009 at 4:27 PM
On Wed, Jan 14, 2009 at 6:10 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Wed, Jan 14, 2009 at 5:06 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
On Wed, Jan 14, 2009 at 5:55 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Jan 14, 2009 at 4:52 PM
Cool! What did you use it for?
On Thu, Jan 15, 2009 at 9:06 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
I used Kris's AnyVar.update feature today. It's great. Thanks Kris!
David
--
Lift, the simply functional web framework http://liftweb.net
Collaborative Task
On Thu, Jan 29, 2009 at 4:47 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Thu, Jan 29, 2009 at 3:37 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
Hm. Forgive me if I'm a little dense today, but since it doesn't declare
any contract, what is the benefit of knowing
Heh, this one just bit me too. I can't say I didn't warn myself, though:
// This is way too dependent upon an implementation detail of the
superclass.
override def cleanupFunc : Box[() = Unit] = {
...
}
Kris
On Wed, Feb 4, 2009 at 1:47 PM, David Pollak
to
dispose?
Thanks,
Kris
On Feb 4, 11:56 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
I've just realized that I'm a complete idiot.
I need to totally re-do the clean-up mechanism.
Please give me an hour.
On Wed, Feb 4, 2009 at 3:06 PM, Kris Nuttycombe
kris.nuttyco
: EntityManager) = t.is.begin()
override protected def dispose(em : EntityManager) = t.is.commit()
override def em = this.is
}
On Thu, Feb 5, 2009 at 1:13 PM, Kris Nuttycombe
kris.nuttyco...@gmail.comwrote:
David, I'm a little confused by how to use registerCleanupFunc after your
most recent
On Thu, Feb 5, 2009 at 1:43 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
On Thu, Feb 5, 2009 at 12:13 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
David, I'm a little confused by how to use registerCleanupFunc after your
most recent set of changes. It now appears
I presume that I'm still okay to commit all of the scaladoc updates I've
been working on? I'll probably have all of lift-utils (with the exception
of the parser combinator stuff which I don't understand) fully documented
either tonight or tomorrow morning, with lift-webkit soon to follow.
Kris
NetBeans works well for me. I've always found that NetBeans's Maven
integration is superior to that for Eclipse, and the fact that the Scala
plugin interoperates smoothly with the Maven integration is a big plus for
me. The Scala autocomplete functionality and automatic syntax checking in
NetBeans
, 2009 at 9:27 AM, Kris Nuttycombe
kris.nuttyco...@gmail.comwrote:
NetBeans works well for me. I've always found that NetBeans's Maven
integration is superior to that for Eclipse, and the fact that the Scala
plugin interoperates smoothly with the Maven integration is a big plus for
me. The Scala
What version of Maven are you using? I'm getting the following errors:
knuttyco...@knuttycombe-ubuntu:~/tmp$ mvn -DarchetypeCatalog=local
archetype:generate
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
OldArchetype:lift-jpa-archetype:0.11-SNAPSHOT
The version in my archetype is 1.1-SNAPSHOT, so I wonder if you're getting
an older version in your repo. Could you try nuking your .m2/repo and see if
you still get the same error?
Derek
On Fri, Mar 13, 2009 at 9:38 AM, Kris Nuttycombe kris.nuttyco
that part of the POM. Let me fix that and commit the
changes and then we can re-test.
Thanks!
Derek
On Fri, Mar 13, 2009 at 11:11 AM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
How are you installing the archetype as a plugin? After clearing out
the repo and running an install
at 12:01 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
Done.
On Fri, Mar 13, 2009 at 10:41 AM, Derek Chen-Becker
dchenbec...@gmail.com wrote:
Actually, I see that you did that against git. Can you commit your
changes?
Thanks,
Derek
On Fri, Mar 13, 2009 at 11:40 AM, Derek
13, 2009 at 12:52 PM, Derek Chen-Becker
dchenbec...@gmail.com wrote:
1.0, baby!
http://scala-tools.org/mvnsites/scalajpa/
I've been too busy to put up a nice blog entry on it, but it's on my todo
list :(
Derek
On Fri, Mar 13, 2009 at 12:47 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com
on it, but it's
on my todo list :(
Derek
On Fri, Mar 13, 2009 at 12:47 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com mailto:kris.nuttyco...@gmail.com
wrote:
I actually haven't deployed an archetype onto a remote
I'm also using joda-time, and very pleased with it. In fact, I use it
in my Lift project - via JPA with the provided Hibernate extensions
for mapping of DateTime, Period, etc.
Kris
On Tue, Mar 31, 2009 at 1:54 PM, TylerWeir tyler.w...@gmail.com wrote:
For an internal project I used JodaTime,
Hi, David,
I can give you a good example of a class hierarchy that I use in my
application (via JPA). In fact, it is a pair of coupled model
hierarchies.
The primary hierarchy is based in a class PaymentSource which has
subclasses such as CreditCard, CheckingAcct, and PayPalAcct. This is
then
If lift-core doesn't contain any classes, could it be changed to a pom
artifact type instead?
Kris
On Wed, Apr 1, 2009 at 8:09 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
That's right. The lift-core.jar file has never contained any classes. It's
a marker for Maven. lift-core
Something that occurred to me recently along these lines - perhaps
someone can disabuse me of this notion. In Java, such recursive types
are necessary because you don't have abstract types. To refer to the
implementation type in the declaring class you have to use the
self-type.
But in Scala,
Hi, Sam,
I'm a Java/Scala developer living in Boulder, so if you'd like to meet
some time and talk about your project just let me know. I'm fully
bogged down with work at the moment so I'm not really looking for
work, but I'm always glad to hear about other locals who are using
these tools.
I sort of see Wolfram Alpha as simply an incredibly sophisticated
calculator instead of an information discovery tool. What were you
trying to compute about polyadic pi-calculus?
Alpha seems to be trying to put all sorts of different kinds of data
into a common, hugely high-dimensional space so
There may well be another way to do this that I'm unaware of, but I
would put the configuration for each of these executions in a separate
profile, with the activation based upon some property.
Kris
On Thu, Jun 11, 2009 at 12:49 PM, Meredith
Gregorylgreg.mered...@gmail.com wrote:
Lifted,
This reminds me somewhat of the Wicket approach, which would use a
namespaced attribute of the textarea tag to inform the binding
logic. I've been wanting to keep the styling of my lift-generated tags
in the markup as well, so maybe I'll toy a bit with creating a version
of bind() and the form
We'd still need some attribute to disambiguate in the case of multiple
textarea tags, wouldn't we?
Kris
On Wed, Jun 17, 2009 at 2:51 PM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
I can see a set of methods that look like:
textarea(f: String = Unit)(n: NodeSeq) that will slurp the
Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Jun 17, 2009 at 2:07 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
We'd still need some attribute to disambiguate in the case of multiple
textarea tags, wouldn't we?
I don't think so. The only NodeSeq being passed to the function
Hi, and welcome to Lift!
On Thu, Jun 18, 2009 at 10:46 AM, DFectuososantiago1...@gmail.com wrote:
Hi! I'm starting to use lift/scala(I don't know either) and already I
have a couple of (very very basic) questions.
I'm reading The definitive guide to lift and even tho it's been
enough to
Ah, this makes sense to me. Final fields in Hibernate-manage objects
will almost certainly cause problems in my experience (at least using
field-based access; I've no experience with property-based mappings.)
Kris.
On Thu, Jun 18, 2009 at 3:09 PM, Meredith
Gregorylgreg.mered...@gmail.com wrote:
I've always called this recursive type parameterization. It's useful
when the base class needs to know the type that it's eventually
instantiated as, usually so that it can provide implementations of
methods where dispatch is based upon the instantiated type. I've found
myself using the pattern
,
--greg
On Mon, Jun 22, 2009 at 8:55 AM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
This may be off the mark, but I'm wondering if the reason that
you're
having difficulty with the parallel inheritance hierarchy problem is
not your use of TABLE_PER_CLASS inheritance. In my application
that illustrates the problem. Changing the
inheritance
strategy to JOINED makes no difference. Hibernate still does the wrong
thing.
Best wishes,
--greg
On Mon, Jun 22, 2009 at 8:55 AM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
This may be off the mark, but I'm wondering if the reason
The error was occurring if you had more than a single root element. Thus:
div
h2/
p/
/div
works whereas
h2/
p/
caused the template not found erroneous exception before David fixed
it. Thanks David!
Kris
On Wed, Jun 24, 2009 at 8:40 AM, Derek Chen-Beckerdchenbec...@gmail.com wrote:
I hadn't seen openejb before, thanks for the reference!
Kris
On Wed, Jun 24, 2009 at 8:35 AM, Derek Chen-Beckerdchenbec...@gmail.com wrote:
The line is blurring. With EJB 3.1 (Java EE 6) there is talk of using
various profiles so that you can essentially deploy a WAR file that
bootstraps a
Perhaps something a touch more intuitive like lift:template/? It
would feel odd to have to tell lift not to ignore stuff.
Kris
On Wed, Jun 24, 2009 at 9:49 AM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
We should probably have a lift:dont_ignore/ tag to surround stuff like
this and to
This does not hide the type of MSequitor, but:
trait MBrace[C[X] : MBrace[C,X],A] {
def nest( a : A ) : C[A]
def flatten[T : C[C[A]]]( bsq : T ) : C[A]
}
// a monad that is a Seq
trait MBraceSeq[C[X] : MBrace[C,X] with Seq[X],A] extends MBrace[C,A]
trait MSequitor[A] extends Seq[A] with
If you're using JPA, pagination is pretty trivial. Here's what I use
in my app to provide it; the links stuff is primitive and needs
improvement but works.
import net.liftweb.util.Helpers._
import net.liftweb.http.SHtml._
import scala.xml._
class Paginator[A](val queryBase : String, val
Hi, all,
I'm looking for some examples of uses of ajaxForm in cases where
multiple form elements are included and processed on submit. Can
someone point me in the right direction? The only examples I found in
the example apps on github were related to Comet.
Thanks,
Kris
of working with ajax forms is to actually use jsonForm.
Br's,
Marius
On Jun 30, 8:39 pm, Kris Nuttycombe kris.nuttyco...@gmail.com wrote:
Hi, all,
I'm looking for some examples of uses of ajaxForm in cases where
multiple form elements are included and processed on submit. Can
someone point
Hi, all,
Have there been recent changes made to liftAjax.js? I am encountering
new errors from an ajaxSelect() today that were not present yesterday.
Firebug complains:
Use of getBoxObjectFor() is deprecated. Try to use
element.getBoundingClientRect() if possible.
[Break on this error]
To answer my own question, looking over the commit log 28595307 looks
extremely suspicious. I can revert it locally but would prefer a
mainline fix, and don't want to attempt it myself. Marius?
Kris
On Wed, Jul 1, 2009 at 3:33 PM, Kris
Nuttycombekris.nuttyco...@gmail.com wrote:
Hi, all,
Have
, 12:40 am, Kris Nuttycombe kris.nuttyco...@gmail.com wrote:
To answer my own question, looking over the commit log 28595307 looks
extremely suspicious. I can revert it locally but would prefer a
mainline fix, and don't want to attempt it myself. Marius?
Kris
On Wed, Jul 1, 2009 at 3
Hi, David,
Thanks for taking some time to look at this problem. I'm a little
concerned about the approach, though - should Lift really behave
significantly differently in test mode than it does in production
mode? This seems like it would lend to the possibility of subtle bugs
that don't show up
On Sat, Jul 25, 2009 at 3:18 PM, Devon Tuckerdevonrtuc...@gmail.com wrote:
Hi all,
I've been working with Lift for about a little while now; there are
still plenty of aspects of Lift I haven't touched yet. One thing I am
curious about at this point though is the rationale behind having one
ROWID is indeed a pseudo-column that isn't even stable, to my
knowledge. I've always know it as a 0-based index over the rows
returned from a query.
As of 9i, at least, Oracle insisted that you implement
auto-incrementing columns manually using a sequence and an associated
trigger. I presume
I think that the following really misses the point of dependency injection:
On Wed, Sep 2, 2009 at 11:39 AM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
Let's say we're running in test mode, in Boot.scala:
if (Props.testMode) {
MyAppRules.paymentGateway = () = MockPaymentGateway
}
On Wed, Sep 2, 2009 at 4:30 PM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
On Wed, Sep 2, 2009 at 1:27 PM, Kris Nuttycombe kris.nuttyco...@gmail.com
wrote:
I think that the following really misses the point of dependency
injection:
On Wed, Sep 2, 2009 at 11:39 AM, David
On Wed, Sep 2, 2009 at 11:05 PM, Chris Lewisburningodzi...@gmail.com wrote:
DPP's explanation of how to mock infrastructure code (bound to S, etc)
made since, but it still feels a bit sketchy. Again, this may be my
misunderstanding, but he's saying to do something like replace the value
of
This is a great analysis, Chris, thank you. I'll be saving this one
away for my next discussion of DI and IOC - the Law of Demeter point
is a particularly salient one that had been implicit in my thinking
but really needs to be discussed.
As usual, when people have different axioms communication
While your updated list will be modified by the loadUsers closure,
the for comprehension will only be executed on the initial rendering
of the snippet, not as part of the execution of your loadUsers or
processUsers callbacks. So the state of the RequestVar will never be
reset.
Kris
On Fri,
Hi, David,
Is the RC available from a public Maven repo, or did you have to
install it locally?
Kris
On Fri, Oct 2, 2009 at 4:27 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Folks,
I have pushed a branch of Lift that compiles against Scala 2.7.7.RC1 to the
Lift repository
One major reason for the inner object pattern is that when you have
a singleton object extending a trait, it is possible for the trait to
reflect upon that object's class to obtain information like the name
of the field. You'll see this pattern used throughout Lift (AnyVar
subclasses RequestVar
1 - 100 of 154 matches
Mail list logo