Re: [Lift] anybody used OPA?

2010-02-23 Thread Martin Ellis
On 22 February 2010 21:45, Raoul Duke rao...@gmail.com wrote:
 This is related to Lift how? It appears to be a framework itself...

 i figure people who use Lift are the kinds of people who might have
 their ear to the ground for other approaches to the web problem, and
 might have insight into Competitor X, Y, or Z. i've certainly seen
 people talk about other Java solutions before, admittedly ML is
 further afield, although given Scala, not that much.

I must admit, my initial interest in Scala came from prior use of ML.

I can't answer your question, I'm afraid, but can offer some other
links you might find interesting if you haven't seen them already:

Ur/Web - web application language/framework.
http://impredicative.com/ur/

Yeti - ML-like language on the JVM.
http://wiki.github.com/mth/yeti/

Martin

-- 
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



Re: [Lift] OSGi example, what to do to make it run?

2010-02-05 Thread Martin Ellis
On 5 February 2010 05:00, philip philip14...@gmail.com wrote:
 I downloaded the git source and made a OSGi jar package by running the
 maven, now what do I do with it?

 I see its a jar file with the manifest for OSGi, I guess I can load it
 into Apache Felix, but doesn't Liftweb need tomcat or jetty to run? So
 I don't really understand how its going to run.

I've also puzzled over this.  I've figured out that you can point
pax-runner at the hello.composite file.

I'd love to see a tutorial on how experienced OSGI developers set up
their the development environment, and how they work the
edit/compile/redeploy cycle.  It's very obvious for mvn jetty:run
(just wait for the scanner, or use JavaRebel).  It's not so obvious
how people work with OSGI containers.  The best I've figured is to use
the pax assembly: stuff to point at target classes, and run update
bundle-id for each edit/compile cycle - it's a bit clunky.

Any offers/suggestions?  (Sorry, I realise the question more about
OSGI than lift)

Martin

-- 
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



[Lift] Re: problems logging

2009-05-19 Thread Martin Ellis

 On May 17, 10:33 pm, Timothy Perrett timo...@getintheloop.eu wrote:
 Can you verify the log4j.xml file is being read?


On Mon, May 18, 2009 at 9:38 PM, Channing Walton channingwal...@mac.com wrote:
 Not sure how I can tell.

Specifying -Dlog4j.debug on the command line should prompt log4j to tell you
what it's doing.

Martin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Why XML tags, not attributes, for lift markup?

2009-05-19 Thread Martin Ellis

Hi,

I was wondering why lift markup uses XML elements to reference
snippets, rather than using namespaced attributes in the way that (I
think) Wicket and Tapestry do?  Or like Plone's TAL, which is the
first place I saw such a thing.

The reason I ask is this: I'm sure I've read somewhere that David P
has used these frameworks before (the Java ones, at least)... so it
seems most unlikely that such a design was never considered.  Perhaps
it was just an arbitrary choice?  Or was there something more to it
than that?

I hope this question doesn't sound like criticism - I'm just curious. :o)

Martin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Progress on JPADemo and JTA

2008-10-10 Thread Martin Ellis

On Fri, Oct 10, 2008 at 10:37 PM, Derek Chen-Becker
[EMAIL PROTECTED] wrote:
 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?

I think you want: git checkout -b branchName

git branch on it's own won't switch to the new branch.

Martin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: expired sessions and log in

2008-10-05 Thread Martin Ellis

On Sun, Oct 5, 2008 at 7:28 PM, Charles F. Munat [EMAIL PROTECTED] wrote:

 I'm working on an app in which users may spend significant time editing
 a form before submitting it. It's possible during this time that their
 session could time out. My concern is that they might submit a long
 edit, discover that their session has timed out, log in, and lose the
 edit. (They can probably back up and resubmit, but these are not very
 savvy users.)

 I'd like it to remember their update, hold it until they log back in,
 then send them a prompt to ask if they want to:

 a) complete the update,
 b) cancel the update,
 c) return to the edit form (with their recent edits included, though not
 yet saved).

 Any ideas for how to go about this?

I guess it's still true that:

  The best way to deal with the particular situation (browser
  open, don't want the session to disappear), is to put a hidden
  CometActor on the page that does nothing other than keep
  the session alive. - David Pollack
  
http://groups.google.com/group/liftweb/browse_thread/thread/e98f2f75cc4461e4/10a16b586e879b11


Martin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Caching JPA entities and JPA vs Hibernate

2008-10-01 Thread Martin Ellis

On Tue, Sep 30, 2008 at 11:54 PM, Tim Perrett [EMAIL PROTECTED] wrote:

 Having an issue with ehcache.xml being picked up. The docs say that it
 need to be on the classpath - I've tried having it in META-INF, WEB-
 INF/classes/META-INF but yet nothing seems to work. It never gets
 picked up...?

 Where can i stick it so that its forced to be read?

IIRC, it needs to be at the top of the classpath, not under META-INF.

Martin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Many to many in Lift mapper

2008-09-20 Thread Martin Ellis

On Sat, Sep 20, 2008 at 10:01 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
 I can't find any examples of a many-to-many relationship using Lift's
 mapper. Am I missing one? How does one map two classes in a many-to-many
 bidirectional relationship?

Using the HasManyThrough class:

http://liftweb.net/index.php/HowTo_setup_composite_keys

Martin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---