OK, things are working well with RequestVar, but now I need to know
how to kill it!
After I create and save my record, if I refresh the browser, I get
another record created. I did a temporary hack-fix with:
if(! myRecord.saved_?)
but I would just like to kill the RequestVar after the first
I'm giving today a presentation for Transylvania JUG ... I'll email
you my material.
Br's,
Marius
On Jun 25, 8:04 am, Wilson MacGyver wmacgy...@gmail.com wrote:
Hi,
I'm doing a presentation on lift to my local java user group next month.
I'm wondering if any of you have slides on lift
All,
The following code works without going through the M-P-O construction. It
enjoys approximately the same brevity as a Haskell type class.
// smallest expression of monad i can find
trait MBrace[C[_] : MBrace[C,A],A] {
def nest( a : A ) : C[A]
def flatten[T : C[C[A]]]( bsq : T ) : C[A]
}
You can find all of DPP's preso's here: http://is.gd/1cUi0
Cheers, Tim
--~--~-~--~~~---~--~~
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
Wouldn't this work with the Scala XML parser?
xml:group
h2Welcome/h2
pPut welcome details here./p
/xml:group
On 25/06/2009, at 1:08 AM, Nolan Darilek wrote:
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
Are you using the builtin support for basic authentication in lift? If
not, please see my example here: http://is.gd/1cYhR
The format you mention is standard HTTP Basic, and in accordance with
the RFC's - it should be Base64 encoded. Lift supports both HTTP basic
and HTTP digest.
Cheers, Tim
Wilson MacGyver a écrit :
Hi,
I'm doing a presentation on lift to my local java user group next month.
I'm wondering if any of you have slides on lift that I can borrow/leverage? :)
I did a presentation some weeks ago, the slides are under a creative
common licence, so use them if you
I did a presentation some weeks ago, the slides are under a creative common
licence, so use them if you want !
http://fanf42.blogspot.com/2009/06/tour-of-scala-ossgtp-paris-oss-user.html
OK, just ignore this message, it was a *Scala* presentation, not a
*Lift* one - sorry, I read your post
On 25 Jun 2009, Francois Bertrand wrote:
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
-
Thank you very much!
On Thu, Jun 25, 2009 at 2:16 AM, marius d. marius.dan...@gmail.com wrote:
I'm giving today a presentation for Transylvania JUG ... I'll email
you my material.
Br's,
Marius
On Jun 25, 8:04 am, Wilson MacGyver wmacgy...@gmail.com wrote:
Hi,
I'm doing a
heheh, no problem. I did the one on Scala back in Feb. :)
On Thu, Jun 25, 2009 at 7:31 AM, Francois Armandfan...@gmail.com wrote:
I did a presentation some weeks ago, the slides are under a creative common
licence, so use them if you want !
On Thu, Jun 25, 2009 at 1:12 AM, Oliver Lambert olambo...@gmail.com wrote:
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
Guys,
I just want to say that I haven't started using Lift yet but I already love
it. This community is very supportive and responsive. Keep up the awesome
work!
Jeremy
On Thu, Jun 25, 2009 at 7:21 AM, Wilson MacGyver wmacgy...@gmail.comwrote:
heheh, no problem. I did the one on Scala back
The code Derek included:
// Set the up the RequstVar to initialize a new MyUserClass by default
object userVar extends RequestVar[MyUserClass](MyUserClass.create)
By default creates a MyUserClass instance.
Maybe you want to init the RequestVar as an Empty Box and then
conditionally modify it.
All,
Again -- many thanks to the posters and responders on this thread. i've
moved on to attempt to use
ScalaQueryhttp://github.com/szeiger/scala-query/tree/masteras the
target for the SQL persistence. Stefan Szeiger describes his work
It's not strictly Lift question...
Is connection pool a feature of MySQL JDBC driver? It is a feature of
MySQL ODBC driver...
Looking into this article
http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html
it's not clear to me wheather connection pool is
This lift page renders incorrectly in IE:
http://liftweb.net/docs/getting_started.html
The text is much too far to the right. My coworker pointed this out
to me and I reproduced the problem, let me know if you have any
problems identifying or reproducing the problem.
This is a known issue - I'll get round to rebuilding the site soon (it was
originally thrown up in a matter of hours so it not the smoothest) so we can
eliminate these kinds of bugs.
Thanks
Tim
On 25/06/2009 17:43, samreid samrr...@gmail.com wrote:
This lift page renders incorrectly in
I've used JPA with MySQL in the past and I don't recall having to specify a
generator to get auto-incremenet IDs working. Does the schema for this
particular entity have AUTO_INCREMENT set for the id column?
Derek
On Wed, Jun 24, 2009 at 5:29 PM, David Persons dhwpers...@gmail.com wrote:
The MySQL driver may have facilities for connection pooling, but generally
you use a pool provider (dbcp, c3po, etc) or write your own.
Derek
On Thu, Jun 25, 2009 at 11:31 AM, ph pkirsa...@gmail.com wrote:
It's not strictly Lift question...
Is connection pool a feature of MySQL JDBC driver?
Sleeping on it the snippet would be as simple as
def group(c : scala.xml.NodeSeq) : scala.xml.NodeSeq =
scala.xml.Group(c)
which would allow for:
lift:group
h2Welcome/h2
pPut welcome details here/p
/lift:group
The advantage is that it is in the lift name space...
Marc
On
I have a form such as:
lift:Customer.newCustomer form=POST
divnewCustomer:firstName/newCustomer:firstName/div
divnewCustomer:lastName/newCustomer:lastName/div
divnewCustomer:submit //div
/lift:Customer.newCustomer
and a bind:
bind(newCustomer, xhtml,
firstName - text(XXX),
lastName
Naftoli, you would overload the _editTemplate field or the
editTemplate method, I imagine.
Peter
On Jun 24, 11:49 am, Naftoli Gugenheim naftoli...@gmail.com wrote:
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
On Thu, Jun 25, 2009 at 10:49 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
On Thu, Jun 25, 2009 at 1:12 AM, Oliver Lambert olambo...@gmail.com
wrote:
Looks very nice.
One thing I'm wondering, what if I wanted the displayed value outside of
the mapper, such as
24 matches
Mail list logo