On 23 Jun 2009, David Pollak wrote:
Jeppe, I just checked in code (it'll take 45 minutes to hit the Maven
repo) that has global LocParams for each SiteMap. The SiteMap
constructor is now:
SiteMap(globalParamFuncs: List[PartialFunction[Box[Req],
Loc.LocParam]], kids: Menu*)
You can put
Hi,
We need to do quite a lot of charting in our app and after evaluating
several libraries we've settled on Flot (for now at least :-)
So I was happy to discover there was already some Flot integrations in
Lift. After having looked a bit at this, it seems there are some things
missing that we
Derek
Would you distinguish between what is achievable in a specific ORM
such as Hibernate from JPA in this statement or would you think it
applies to all. I've got to go with hibernate in any case because of
widespread use of UserTypes. Unlike Greg, in my case I can hand-craft
all my hibernate
I've not spoken with Francois for some time, but I'll ask him next time he's
online if he's able to make changes to the flot stuff. He's based in Chilli
so should be online later on.
Cheers, Tim
On 24/06/2009 09:15, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Hi,
We need to do quite a
Hello guys,
I'm following my path through lift, and there is some part that are
still not really clear for me.
First question: what parts of lift are thread safe ? In particular, does
the request/response handling cycle is thread safe ? I thing so, but I
didn't found any doc that assert
On Jun 24, 12:10 pm, fan...@gmail.com fan...@gmail.com wrote:
Hello guys,
I'm following my path through lift, and there is some part that are
still not really clear for me.
First question: what parts of lift are thread safe ? In particular, does
the request/response handling cycle is
marius d. a écrit :
Yes it is thread safe. It is one of the most fundamental design scopes
of lift. Do you have any specifics in mind that you need answers?
No, in fact I took as an assumption the thread-safety of
request/response (and I saw some thread local call in the lift code),
but it
On Jun 24, 2:18 pm, fan...@gmail.com fan...@gmail.com wrote:
marius d. a écrit :
Yes it is thread safe. It is one of the most fundamental design scopes
of lift. Do you have any specifics in mind that you need answers?
No, in fact I took as an assumption the thread-safety of
People using MySQL might also want to consider putting their database
connection information in a props file. See
http://groups.google.com/group/liftweb/browse_thread/thread/763cbe16259ce3ea.
Perhaps something to add to the wiki?
Peter
On Jun 23, 12:48 pm, David Pollak
Hello Everyone,
Thanks for all your suggestions and the version numbers -- I'll give
them a try.
I tried NetBeans 6.7RC3 yesterday, btw, but its maven+scala support
has a major bug with regard to compiler errors, so it's no better than
my experience with Eclipse at this time. (The plugin
On Wed, Jun 24, 2009 at 12:58 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
On 23 Jun 2009, David Pollak wrote:
Jeppe, I just checked in code (it'll take 45 minutes to hit the Maven
repo) that has global LocParams for each SiteMap. The SiteMap
constructor is now:
Works for me. Thanks for the quick fix.
--~--~-~--~~~---~--~~
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
I'm getting this one on server reloads if I have mvn scala:cc running in
one terminal and mvn jetty:run in another. Happens whenever I make a
code change that gets redeployed:
ERROR - Failed to Boot
java.lang.NullPointerException: Looking for Connection Identifier
ConnectionIdentifier(lift)
Folks,
The folks in the ESME project have been hosting demo versions of ESME on
http://stax.net/
I had the pleasure of speaking with the CEO of
Stax yesterday. I really like his vision of where he wants to take
Stax. Plus, I think that Stax offers everything that GAE offers plus
a lot more
Are you using JNDI or your own connection manager to connect to the RDBMS?
On Wed, Jun 24, 2009 at 6:50 AM, Nolan Darilek no...@thewordnerd.infowrote:
I'm getting this one on server reloads if I have mvn scala:cc running in
one terminal and mvn jetty:run in another. Happens whenever I make a
Would be neat to have a Lift application template when creating a new
stax app. And the fact they are using Amazon EC2 is really great.
Br's,
Marius
On Jun 24, 4:53 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
The folks in the ESME project have been hosting demo versions of
Very nice!
On Mon, Jun 22, 2009 at 10:30 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
I was working on something to help make it easier to deal with one to many
relationships. I'm attaching it (OneToMany.scala) along with a class that
uses it (partially work in progress), although it's a
I haven't looked at the CRUDify trait in a while, but I think that what you
want is something like:
val entries =
Menu(Loc(Home, List(index), Home)) ::
Menu(Loc(Layous, Layouts.listPath, Layouts, Layouts.menus: _*) ::
User.sitemap
Using the listPath method makes sure that
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 subset of an application server feature set within a servlet
container. OpenEJB already does something like this:
http://openejb.apache.org/
Just the other day Lift said it was going to go for a short walk after
lunch, but it came back at 2am smelling of cheap vodka. sigh
On Tue, Jun 23, 2009 at 5:31 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
I hate it when Lift lies... it sucks rubber donkey lungs!!
I've just checked
Wait a second. I have plenty of templates that have multiple elements in
them. What exactly is the problem you're seeing here?
Derek
On Tue, Jun 23, 2009 at 10:09 PM, Nolan Darilek no...@thewordnerd.infowrote:
Cool deal, mvn test showed me the issue.
Apparently, templates can only have a
On Wed, Jun 24, 2009 at 3:25 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Oh... I get why you did the Hidden thing... I'd do the following:
case Full(Req(path, _, _)) if !User.loggedIn_? path != List(profile,
login) path != path != List(profile, lost_password) =
Well, in my real-world experience I've never had very complex models and
I've never used TABLE-PER-CLASS either, so I don't really have a feel for
what's not possible. Generally I think that JPA (which is a subset of
Hibernate) covers a good portion of people's needs for ORM, but it
definitely has
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
Ah, so this would be a top-level template (no lift:surround).
Derek
On Wed, Jun 24, 2009 at 9:16 AM, Kris Nuttycombe
kris.nuttyco...@gmail.comwrote:
The error was occurring if you had more than a single root element. Thus:
div
h2/
p/
/div
works whereas
h2/
p/
caused the
On 06/24/2009 08:54 AM, David Pollak wrote:
Are you using JNDI or your own connection manager to connect to the RDBMS?
I'm new to this, but I'm guessing the latter. In any case, I haven't
touched whatever values the snapshot sets up in Boot.scala, nor have I
set any properties, so it's stock
On 06/24/2009 09:40 AM, Derek Chen-Becker wrote:
Wait a second. I have plenty of templates that have multiple elements
in them. What exactly is the problem you're seeing here?
Using 1.1, I have the following in templates-hidden/welcome.html:
h2Welcome/h2
pPut welcome details here./p
I have account with http://javaprovider.net they offer good service
for java hosting
Thanks
Warren
On Jun 16, 7:00 am, Harshad RJ harshad...@gmail.com wrote:
Mark,
Try VPSLink.
http://vpslink.com/?ref=7J32ZZ
The cheapest plan is about 6.6$ p/mo and you will get a discount of 10% if
you
Yes. Since it's a full template and not a fragment (using lift:surround /)
it has to conform to normal XML rules. In particular, XML can only have one
root element.
Derek
On Wed, Jun 24, 2009 at 9:08 AM, Nolan Darilek no...@thewordnerd.infowrote:
On 06/24/2009 09:40 AM, Derek Chen-Becker
On Wed, Jun 24, 2009 at 7:49 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
On Wed, Jun 24, 2009 at 3:25 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Oh... I get why you did the Hidden thing... I'd do the following:
case Full(Req(path, _, _)) if !User.loggedIn_? path !=
Can you use actors with Stax? My understanding was that GAE could not
support actors.
Mark Lynn
Sabado Technologies
On Jun 24, 2009, at 9:53 AM, David Pollak wrote:
Folks,
The folks in the ESME project have been hosting demo versions of
ESME on http://stax.net/
I had the pleasure of
On Wed, Jun 24, 2009 at 7:06 AM, Mark Lynn m...@sabado.com wrote:
Can you use actors with Stax?
Yes. And MySQL, so there's no persistence lock-in like with BigTable.
My understanding was that GAE could not support actors.
Mark Lynn
Sabado Technologies
On Jun 24, 2009, at 9:53 AM,
Agreed - this does really look very good... DPP, do you know how they
are doing the generation of applications? I guess they must have some
templating system and im just wondering if its something like our
existing archetypes and if they could be modified to become stax
compatible or whatever.
On Wed, Jun 24, 2009 at 9:02 AM, Timothy Perrett timo...@getintheloop.euwrote:
Agreed - this does really look very good... DPP, do you know how they
are doing the generation of applications? I guess they must have some
templating system and im just wondering if its something like our
Hi all,
I'm using CRUDify on one of my models and I'd like to display some
additional data on the view template. I believe that I need to
override one of the model definitions with some sort of reference to
my own XHTML file. Which one? _viewTemplate? Or perhaps the
viewTemplate method?
Thanks,
I've been working on the provider side of oauth to authenticate api
calls.
I was looking at the http-authentication example, but I'm not sure if
want to go that route. I would like to be able to specify
authentication for paths in the same place that I define them (in a
DispatchPF).
I'd also
I've added an issue for this.
On Wed, Jun 24, 2009 at 9:49 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
We should probably have a lift:dont_ignore/ tag to surround stuff like
this and to complement the lift:ignore/ tag. Anyone want to add that
snippet?
On Wed, Jun 24, 2009 at
Well, it's the viewTemplate method, but it's supposed to return a NodeSeq,
so if you're pulling from a file you'll need to do the file load yourself.
You can do that with LiftRules.loadResourceAsXml:
...
override def viewTemplate = LiftRules.loadResourceAsXml(foo) openOr
pError loading template/p
I had the same problem a while ago. I'm not sure if I fixed it then, but I
think it had to do with the db still being open possibly. When the code changes
does the servlet get undeployed?
You might need to run derby in server mode.
Lately I've been launching jetty without maven, and to get it
On 24 Jun 2009, Peter Robinett wrote:
Hi all,
I'm using CRUDify on one of my models and I'd like to display some
additional data on the view template. I believe that I need to
override one of the model definitions with some sort of reference to
my own XHTML file. Which one?
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
Anyone know what kind of pricing they have? Do they have a free level like
GAE?
On Wed, Jun 24, 2009 at 12:43 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Jun 24, 2009 at 9:02 AM, Timothy Perrett
timo...@getintheloop.euwrote:
Agreed - this does really look very good...
How would you customize the edit view, say to allow editing all child
entities on the same screen?
On Wed, Jun 24, 2009 at 2:01 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
On 24 Jun 2009, Peter Robinett wrote:
Hi all,
I'm using CRUDify on one of my models and I'd like to display
They will have a free level
On Jun 24, 2009 11:46 AM, Naftoli Gugenheim naftoli...@gmail.com wrote:
Anyone know what kind of pricing they have? Do they have a free level like
GAE?
On Wed, Jun 24, 2009 at 12:43 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Jun 24, 2009 at
David,
Cool. About 6 weeks ago i started down the path of evaluating them, but saw
no free service and stopped; and then the GAE noise began.
Best wishes,
--greg
On Wed, Jun 24, 2009 at 12:08 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
They will have a free level
On Jun 24, 2009
Tim Nelson a écrit :
[...]
I did install their SDK and from what I can tell it's basically some
Groovy scripts that use Ant + Ivy.
Gradle perhaps ? http://www.gradle.org/
--
Francois Armand
http://fanf42.blogspot.com
--~--~-~--~~~---~--~~
You received this
Hi,
A while ago, I asked if it was possible to use something like MappedEnum
and have some sensible values inserted into the database instead of
integers.
I got the feeling this was not the case, so I've created MappedEnumString
(attached) which maps Enumerations into string values.
Example:
I think they use Gant. http://gant.codehaus.org/
On Wed, Jun 24, 2009 at 3:10 PM, fan...@gmail.com fan...@gmail.com wrote:
Tim Nelson a écrit :
[...]
I did install their SDK and from what I can tell it's basically some
Groovy scripts that use Ant + Ivy.
Gradle perhaps ?
Hi Jeppe
Great to see you are interested in the flot widget.
My current to-do list for the flot widget, is:
- create more Lift JsExp and JsCmd to modify a already displayed flot
graph. They should be used in AJAX and Comet applications
- update to a more recent version of the javascrrit
Looks very nice.
One thing I'm wondering, what if I wanted the displayed value outside of the
mapper, such as TestTypes.Item1.displayValue. Would you use an implicit
conversion to provide this or is the
display value conceptually always part of a mapper object.
I have a rough implementation
Is this the correct URL to check on the status of the Hudson build?
If so, is it stuck?
--Bryan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
I'm using http://hudson.scala-tools.org/job/Lift/.
On Jun 24, 9:08 pm, Bryan germ...@gmail.com wrote:
Is this the correct URL to check on the status of the Hudson build?
If so, is it stuck?
--Bryan
--~--~-~--~~~---~--~~
You received this message because you
I was able to get the latest lift-example application deployed without
a problem: http://helloworld.hoffrocket.staxapps.net/. It's running
against a mysql DB that they're hosting, not h2.
I got an nginx 502 gateway down with a more substantial app, but their
log files were all blank, so I have
Thanks for all the answers guys.
I managed to fix the id problem, I needed the Hibernate specific class
GenericGenerator to fix it, which of cource is less pretty then using
only JPA. Someone has an example of how to make it work with MySql and
only JPA annotations? Current version:
@Entity
Try upgrading your hibernate version from 3.3.1.ga to 3.3.2.GA.
Derek, can you look into upgrading the archetype to this release as
well? I recall 3.3.1.ga having some packaging issues.
--Bryan
On Wed, Jun 24, 2009 at 6:29 PM, David Personsdhwpers...@gmail.com wrote:
Thanks for all the
David,
The GenericGenerator annotation was the solution i found worked for me for
Hibernate 3.3.2GA, and the one i suggested you investigate. i'm glad you've
gotten past that one.
Best wishes,
--greg
On Wed, Jun 24, 2009 at 3:29 PM, David Persons dhwpers...@gmail.com wrote:
Thanks for all
Jon,
Sweet!
Best wishes,
--greg
On Wed, Jun 24, 2009 at 3:11 PM, jon jonhoff...@gmail.com wrote:
I was able to get the latest lift-example application deployed without
a problem: http://helloworld.hoffrocket.staxapps.net/. It's running
against a mysql DB that they're hosting, not h2.
I
I can't seem to find anyway to get to those two values. I've been
searching all over the request class/object and no luck.
I'm writing a RESTful web service that uses basic auth and for some
reason jQuery likes to send things in the above mentioned format
(http://user:passw...@foo.org). I've
I stopped the stuck job.
On Wed, Jun 24, 2009 at 7:09 PM, Bryan germ...@gmail.com wrote:
I'm using http://hudson.scala-tools.org/job/Lift/.
On Jun 24, 9:08 pm, Bryan germ...@gmail.com wrote:
Is this the correct URL to check on the status of the Hudson build?
If so, is it stuck?
60 matches
Mail list logo