harryh har...@gmail.com writes:
I would love to add comments to my templates:
!-- Put the shiny new feature here as soon as we have time to build
it --
that got stripped out before being served to end users.
A few thoughts:
- Would also be nice if all excessive white space were stripped
David Pollak feeder.of.the.be...@gmail.com writes:
I've added code (it's in review board right now) that will automatically
farm any snippet with the do:lazy='true' attribute set.
So, lift:foo/ will execute the foo snippet inline.
lift:foo do:lazy=true/ will execute the foo snippet in
Totally agree Jeppe.
@dpp - what changes did you make? Are they in review board yet?
Cheers, Tim
On 23 Sep 2009, at 07:48, Jeppe Nejsum Madsen wrote:
harryh har...@gmail.com writes:
I would love to add comments to my templates:
!-- Put the shiny new feature here as soon as we have time
Could that be changed to lift:concurrent or lift:par etc. (see email on
scala-user from Marting Odersky mentioned the future use of 'seq' and 'par' in
concurrent collections)?
Why use a different prefix than everything else built in to lift? And 'lazy' is
arguably not what's happening.
Thanks.
Hello,
Doing that appears not to help the issue. The thing I called
customJSStr above now looks like
document.getElementById('foo').innerHTML = 'lift:a
key=F859002372055OWMbar/lift:a';
(with 's properly handled by encJs), and the behavior appears to be
unchanged. Is there some sort of setup of
Hi all,
Just I define a class that extends the LiftView trait, but there
is something wrong with this class when i using it.
I wrote some test code like this:
### code ###
package com.test.view
import net.liftweb._
import http._
import scala.xml.{NodeSeq}
class Test
- Would also be nice if all excessive white space were stripped from
the output (not sure how much this matters if it's gzip'ed)
This would be nice as well, but can be a lot more complicated. GXP (a
templating language I worked on at Google) had pretty awesome
whitespace control that I'm
+1
I think naftoli's suggestion is a good one and we should go with
something that carries a better semantic.
Cheers, Tim
On Sep 23, 11:59 am, Naftoli Gugenheim naftoli...@gmail.com wrote:
Could that be changed to lift:concurrent or lift:par etc. (see email on
scala-user from Marting
If you haven't changed boot, then you'll find that they are not wired
up if memory serves...
What are you trying to achieve exactly?
Cheers, Tim
On Sep 23, 9:02 am, Neil.Lv anim...@gmail.com wrote:
Hi all,
Just I define a class that extends the LiftView trait, but there
is something
If you're using Lift 1.0.x, the request will silently fail.
If you're using Lift 1.1-x, you will get a helpful error message reminding
you to add the /Test/hello link to your SiteMap in Boot.scala
On Wed, Sep 23, 2009 at 1:02 AM, Neil.Lv anim...@gmail.com wrote:
Hi all,
Just I define a
You'd think I could read the only sticky post without getting linked to it!
Let's see if I can clearly explain my use cases. The simplest to
explain is that I'd like to use UUIDs as the primary key of a table.
To do this, I've done something like this:
class MappedStringPrimaryKey[T:Mapper[T]]
On Tue, Sep 22, 2009 at 11:52 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
David Pollak feeder.of.the.be...@gmail.com writes:
I've added code (it's in review board right now) that will automatically
farm any snippet with the do:lazy='true' attribute set.
So, lift:foo/ will execute
On Wed, Sep 23, 2009 at 3:59 AM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Could that be changed to lift:concurrent or lift:par etc. (see email on
scala-user from Marting Odersky mentioned the future use of 'seq' and 'par'
in concurrent collections)?
Why use a different prefix than
On Tue, Sep 22, 2009 at 11:48 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
harryh har...@gmail.com writes:
I would love to add comments to my templates:
!-- Put the shiny new feature here as soon as we have time to build
it --
that got stripped out before being served to end
On Wed, Sep 23, 2009 at 1:29 AM, Timothy Perrett timo...@getintheloop.euwrote:
Totally agree Jeppe.
@dpp - what changes did you make? Are they in review board yet?
Yes. They are part of the parallel snippet checkin. Marius might be best
suited to review that checkin as it's very, very
On Wed, Sep 23, 2009 at 6:59 AM, harryh har...@gmail.com wrote:
- Would also be nice if all excessive white space were stripped from
the output (not sure how much this matters if it's gzip'ed)
This would be nice as well, but can be a lot more complicated. GXP (a
templating language I
You can do it today like this:
S.containerRequest.map(r = (r.asInstanceOf[HTTPRequestServlet]).req)
eh? I'm getting this error:
[error] value req is not a member of
net.liftweb.http.provider.servlet.HTTPRequestServlet
[error] val request: HttpServletRequest = S.containerRequest.map(r =
I have done some experimenting to set the session variable to Empty in
various places the following result: Code called by the framework
(i.e. Actor.shutdown()) will properly have the right context for a
Session variable. Code called by the application does not have the
right context for the
A snippet attribute can be invoked with something other than
lift:snippet=Class.method? There's a short syntax? What is it?
What was used for the feature that inserts a snippet asynchronously via Ajax?
My concern is that as more features are thought up and added they shouldn't all
end up with
On Wed, Sep 23, 2009 at 10:40 AM, Naftoli Gugenheim naftoli...@gmail.comwrote:
A snippet attribute can be invoked with something other than
lift:snippet=Class.method? There's a short syntax? What is it?
There may be a short syntax (e.g., lift:Class.method) in the future.
What was used for
I have a snippet that creates a Ajax link.
bind(item, xhtml,
addNew - {SHtml.a({ ()=
SetHtml(item-save, edit(item))},
Text(MenuTitle_Add)
)}
)
How would I, instead, create the same or similar link using a Loc?
What do you mean by as a normal snippet? That you will nest your snippet
inside a special snippet?
To me it seems worthwhile to have a consistency between the two syntax-wise,
since they have some common denominator semantics-wise.
Actually, maybe throw in eager_eval to the mix. Maybe we could
On Sep 22, 10:50 pm, Dano olearydani...@gmail.com wrote:
Marius,
Thanks for your reply. If I look in my pom.xml, I see that I am using
1.1-SNAPSHOT. However, I see your point about the remove() function
not being in Vars.scala. Not sure why I am able to compile a call to
remove() on a
Hello,
Is there any way to cancel a task created with a ActorPing.scheduleAtFixedRate?
From looking at the source
(http://scala-tools.org/scaladocs/liftweb/1.0/net/liftweb/util/ActorPing.scala.html)
it seem that scheduleAtFixedRate creates an actor which accepts an
UnSchedule message.
Xavi,
Can you show some code? There might be a way of doing it depending
what you have...
Cheers, Tim
Sent from my iPhone
On 23 Sep 2009, at 20:50, Xavi Ramirez xavi@gmail.com wrote:
Hello,
Is there any way to cancel a task created with a
ActorPing.scheduleAtFixedRate?
From
There isn't much to show... but maybe an example clarify things.
class SomeCometActor extends CometActor {
override def localSetup() {
ActorPing.scheduleAtFixedRate(this, TaskMessage, 15 seconds, 15 seconds)
}
override def lowPriority = {
case TaskMessage =
DoSomething()
Hello, I'm trying to use the new logging information as described
here. In my Boot I have:
import net.liftweb.mapper.{DB, DBLogEntry}
snip...
DB.addLogFunc {
case (query, time) = {
Log.info(All queries took + time + ms: )
query.allEntries.foreach({ case
I think I figured out a way to get around this:
class SomeCometActor extends CometActor {
private var tempActor: Actor = null
override def localSetup() {
val cometActor = this
var tempActor = actor{ loop { react {
case TaskMessage = cometActor ! TaskMessage
case
The TreeView widget doesn't work in IE 8. I haven't tested in earlier
versions. It does work in the latest FireFox.
Glenn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email
On Tue, Sep 22, 2009 at 7:21 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
I will gladly buy beer/coffee/food for anyone who gets such a notice. I
sincerely apologize for any problems this is causing.
Can you send me such a notice, I'd like a beer!
Oh, and I've been away for a
Yeah, i use the Lift 1.0.
I just want to test the LiftView trait, when i don't configure the
viewDispatch in Boot Class and don't define the corresponding template
(such as /Test/hello.html in webapp directory),
then i type the http://localhost:8080/Test/hello; link that the View
Class can to do
I'm playing around with CRUDify and to some extent it is flexible.
However, requirements for more flexibility made me extend the CRUDify,
but finally I ended up having all the impl on my own.
So I have a couple of questions about Mapper design strategies. For
example, I want some MappedFields
Funny, I was just wondering what happened to you maybe two days ago. Are
you back, or just checking in?
Chas.
Oliver Lambert wrote:
On Tue, Sep 22, 2009 at 7:21 AM, David Pollak
feeder.of.the.be...@gmail.com mailto:feeder.of.the.be...@gmail.com
wrote:
I will gladly buy
It works now that i add /test/hello into the SiteMap.
Menu(Loc(Test, List(test, hello), Test))
But i have something questions about the SiteMap.
If i have more and more these links in my application whether i must
add these links one by one into the SiteMap ?
Such as:
Menu(Loc(Test,
Dear David,
My coffee addiction says i'm feeling very banned.
Best wishes,
--greg
On Wed, Sep 23, 2009 at 7:08 PM, Charles F. Munat c...@munat.com wrote:
Funny, I was just wondering what happened to you maybe two days ago. Are
you back, or just checking in?
Chas.
Oliver Lambert wrote:
Moved over to main Lift list. Folks, for better handle on the context,
please have a quick run through of the original message before coming to
David's comments and my responses.
Thanks, Indrajit
On 22/09/09 4:56 AM, David Pollak wrote:
Moved to the main Lift list.
All in all, I like the
36 matches
Mail list logo