Hi,
As I am travelling a lot I often use my MacBook Air for coding. This morning
I ran into the following issue when trying to build Lift:
---
Test set: net.liftweb.textile.TextileSpecTest
David Pollak feeder.of.the.be...@gmail.com writes:
You can use:
Box.asA[Map[String, _]](in) which will return Full(in) if in is a
Map[String, _] or Empty if it's not. This helps in for comprehensions.
Ah, didn't know that. Very nice!
/Jeppe
Solved:
There is some trouble resolving the path of the javascripts library, with the
first / is ok and without it doesn't works.
override def _showAllTemplate =
lift:crud.all
head
script id=jquery-metadata src=/style/javascript/jquery-metadata.js
type=text/javascript/script
Hi Greg.
Have you had time to look at the JTA stuff?
Should I merge in master?
/Jonas
2009/7/7 Jonas Bonér jbo...@gmail.com:
Thanks Tim. Thanks for staying on top of it. Derek has already looked
at it and seemed to like it. But I'll wait until I get Greg's
feedback.
2009/7/7 Timothy
Awesome!
Where did you put this to get it to work?
It would be nice to have this built into Lift as an option since
tablesorter is very usefull for large lists of stuff.
mvh
Bjarte
On Fri, Jul 17, 2009 at 9:23 AM, Andrea Peruffoa.peru...@mcmspa.it wrote:
Solved:
There is some trouble
What are the use cases then? Why Mapper over Record? If the answer
is people are using it and we have to support it, then why would I
go down that path. There must have been a reason to create Record
over Mapper.
On Jul 11, 11:16 pm, Derek Chen-Becker dchenbec...@gmail.com wrote:
Mapper will
I don't see how it would help. How would the SHtml.hidden callback,
presumably defined deleteFileForm snippet method, know the filename?
That value somehow needs to be passed from the fileManager method to
the deleteFileForm.
I was hoping that the a snippet tag could take attributes where I
There are benefits to both approaches. I prefer the partial function
composition, but annotations on Pojos have their place.
Wait a few days, and I think there'll be some very good news on this front.
On Fri, Jul 17, 2009 at 7:28 AM, Timothy Perrett timo...@getintheloop.euwrote:
Hey guys,
On Thu, Jul 16, 2009 at 5:17 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Is your question why I would want multiple prefixes for a snippet? Or you
didn't understand my question?
Meanwhile I made myself an implicit so you can call bind on the NodeSeq and
chain binds.
For particularly
No, just replace your current hidden tag with SHtml's (use curly baces to embed
it in the xml). Their callbacks are executed when their form is submitted. You
could also just replace the submit button with an SHtml.submit which works
similarly but multiple submit buttons in the same form are
On Fri, Jul 17, 2009 at 7:30 AM, Jonathan Meeks jonathanme...@gmail.comwrote:
I don't see how it would help. How would the SHtml.hidden callback,
presumably defined deleteFileForm snippet method, know the filename?
That value somehow needs to be passed from the fileManager method to
the
I usually use the alternative namespaces in other methods:
bind(prefix, innerBind(xhtml), ...)
def innerBind(xhtml: NodeSeq): NodeSeq = bind(otherPrefix, xhmtl, ...)
On Fri, Jul 17, 2009 at 4:02 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
So how do you typically handle multiple calls to
So how do you typically handle multiple calls to bind? Do you do
bind(prefix, bind(prefix2, ...) ...)
Or do you just do
val xhtml2 = bind(..., xhtml, ...)
val xhtml3 = ...
With an implicit you can do
xhtml.bind(prefix,
bindParam...
).bind(prefix2,
...
)
-
I used:
(
{
// functions and local defs supporting the first bind...
bind(prefix1, _, ...)
} andThen {
// functions and local defs supporting the second bind...
bind(prefix2, _, ...)
}
)(xhtml)
once. I thought it was a decent layout for a
On Tue, Jul 14, 2009 at 6:19 PM, Xavi Ramirez xavi@gmail.com wrote:
Thanks Alex! That exactly what we need. Over the next couple of
days, I'm going to start organizing the existing wiki articles around
this outline.
In the mean time, is there a chance someone could help me get any of
Guys,
After playing around with integrating Lift and Jersey before the Jersey guys
did an 'official' integration and thinking hard about how i wanted to
reference locations in data structures via URLs, i realized that
zipperhttp://en.wikipedia.org/wiki/Zipper_%28data_structure%29(cf.
this
often it helps to do a dummy change and see if the compilation
correctly syncs with jetty's restart.
Once in a while jetty runs amok though (out of memory) - the kill and
restart
it's not really a solution but it helps to go on
in the end, I'm not a big fan of mvn scala:cc option since most of
I would like to know how to create a selectObj over a range of
integers. Do I have to use
val numList = List(0-0, 1-2, 2-3 ...)
def numbers = selectObj(numLists, Full(0), someFunc)?
It seems a load to have to create a list of pairs. And what does the
third param to selectObj look like in
this
selectObj((0 until 11).map(i = Pair(i, i.toString)),
Full(0),
i = println(the number chosen was + i + and 10 plus
that was + (10 + i)))
-Ross
On Jul 17, 2009, at 6:27 PM, glenn wrote:
I would like to know how to create a selectObj over a range of
integers. Do I
-
glenngl...@exmbly.com wrote:
I would like to know how to create a selectObj over a range of
integers. Do I have to use
val numList = List(0-0, 1-2, 2-3 ...)
def numbers = selectObj(numLists, Full(0), someFunc)?
It seems a load to have to create a list
I, too, want to get a better grip on managment of dates and times, and
for me the first step is to record everything as a UTC instance in my
DB (MySQL).
What I need to do is to have a way to make the client browser include
a 'Date' HTTP Header in every request. From that, I can get the
timezone
21 matches
Mail list logo