Rob Dickens wrote:
Maybe good documentation starts with good documentation of the source
code itself. How many people really understand what even the
initialisation stuff does, I wonder; complicated and undocumented
enough for me to give up, anyway (which is saying something).
Rob,
Do
/projects, I use
emacs.
As a general rule, if I've got a large number of bulk edits to make, I also
use emacs. After 30+ years, emacs still has a better interface for editing
text than anything else I've used.
David Pollak wrote:
On Aug 31, 9:43 pm, David Pollak [EMAIL PROTECTED]
wrote
Viktor Klang wrote:
On Mon, Sep 1, 2008 at 2:59 PM, David Pollak
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
On Mon, Sep 1, 2008 at 12:15 AM, Viktor Klang
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Yeah, it was frickin awesome.
Now, how about
Folks,
I'm psyched to announce that Francois Bertrand has joined the Lift
Committers. Francois wrote the amazing Flot widget for Lift (
http://code.google.com/p/flot-widget-liftweb/ ) as well as other front end
components. I'm looking forward to these being rolled into the standard
Lift
On Tue, Sep 2, 2008 at 5:15 AM, Marius [EMAIL PROTECTED] wrote:
Yes YUI is used for Ajax, Comet and everything else.
The very cool thing that Marius did was abstract out the JavaScript library
so it is possible to write a Prototype/Scriptaculous module for Lift and
exclusively use that module
We did make some changes to the way we handle selects to work around stuff
in IE.
I checked it out against the latest Lift code and it works fine.
On Tue, Sep 2, 2008 at 10:05 AM, TylerWeir [EMAIL PROTECTED] wrote:
Is anyone else getting an error using IE7 to hit
Folks,
Has anyone created an RSS publisher from a Lift app? If so, do you have
sample code floating around?
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some:
have another module that uses the persistence tier but
just talks web service.
Could you split Lift into separate jars for useful utilities like Can and
persistence utilities - just kidding :-)
On Thu, Sep 4, 2008 at 3:32 PM, David Pollak
[EMAIL PROTECTED] wrote:
On Wed, Sep 3, 2008
)
at scala.runtime.RichString.toInt(RichString.scala:213)
at com.cianaidan.aws.web.snippet.PanelGrid.grid(PanelGrid.scala:8)
On Thu, Sep 4, 2008 at 9:58 AM, David Pollak
[EMAIL PROTECTED] wrote:
On Thu, Sep 4, 2008 at 6:43 AM, Daniel Green [EMAIL PROTECTED] wrote:
Well, not exactly. I'm
, Sep 6, 2008 at 7:59 AM, David Pollak [EMAIL PROTECTED] wrote:
Are you making a request on /foo.html or on /foo?
I strongly recommend against /foo.html
Marius wrote:
On Sep 6, 12:04 pm, Tim Perrett [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
FYI - when I ctrl-c to stop jetty, I see
=class_for_li_tags li_item:class=class_for_current_page
li_path:class=class_for_breadcrumb_path/
Perfect, thanks Dave!
On Aug 17, 7:23 am, Viktor Klang [EMAIL PROTECTED] wrote:
Slick!
On Sat, Aug 16, 2008 at 7:48 PM, David Pollak [EMAIL PROTECTED]
wrote:
Folks
on the page.
Chas.
David Pollak wrote:
Make the top of the page sitemap elements Hidden. This means they
will not be displayed by default, but are accessible as long as the
access control rules are me. On the top bar, do lift:Menu.item
name=about/ etc. to display the items. For more
Folks,
I'm going to spend Monday going through all the various emails that I
haven't had a chance to answer including the Access Control and Menu
threads.
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me:
http://www.youtube.com/watch?v=JFJMpFkpoQU
Marius Danciu wrote:
Excellent Dave and congrats!
Can't wait to see the videos ... hopefully this time the videos
quality is better so I can actually see you :)
Br's,
Marius
On Thu, Sep 11, 2008 at 10:07 AM, David Pollak
[EMAIL PROTECTED
need is a way to programmatically force evaluation of
some template-code? Then if a snippet has an embed passed into it, it
can choose to force that embed to evaluate before doing further
processing on it.
--j
On Thu, Sep 11, 2008 at 2:49 PM, David Pollak [EMAIL PROTECTED] wrote:
Kris
force evaluation of
some template-code? Then if a snippet has an embed passed into it, it
can choose to force that embed to evaluate before doing further
processing on it.
--j
On Thu, Sep 11, 2008 at 2:49 PM, David Pollak [EMAIL PROTECTED] wrote:
Kris,
I don't think I understand your
lift:MySnippet eager_eval=true
lift:embed...
/lift:MySnippet
will do the right thing (give Hudson about 2 hours to get the code into
the Lift Maven respository).
Kris Nuttycombe wrote:
On Thu, Sep 11, 2008 at 3:49 PM, David Pollak [EMAIL PROTECTED] wrote:
If you are trying to embed
Kris Nuttycombe wrote:
Very cool, this works exactly as I had hoped. I'll put together a bit
of documentation together on the wiki this evening.
Great. Documentation is good.
Thanks again,
You are welcome.
Kris
On Thu, Sep 11, 2008 at 4:52 PM, David Pollak [EMAIL PROTECTED
Charles F. Munat wrote:
I'm trying to access a page about/index.html using the url
about/
If I add it to the site map:
Menu(Loc(about, List(about, index), About))
I can access it at about/
but if I use lift:Menu.item name=about / to put the link on the
page, then the link url comes
)
net.liftweb.http.LiftFilter.doFilter(LiftServlet.scala:475)
On Thu, Sep 11, 2008 at 4:10 PM, David Pollak [EMAIL PROTECTED] wrote:
lift:MySnippet eager_eval=true
lift:embed...
/lift:MySnippet
will do the right thing (give Hudson about 2 hours to get the code into the
Lift Maven respository
The missing piece is the ability to un-rewrite URLs via SiteMap such
that it's easy to create nicely formed URLs with nicely placed
parameters using SiteMap and have the rules be bi-directional. It's
been on my noodling list for a while, but hasn't been high priority.
Charles F. Munat wrote:
Yeah... I get that. I figured it was part of Eric's tests.
Marius wrote:
Is anyone seeing this?
IO error while decoding /media/WORK/marius/workspace/lift/liftweb-
framework/src/test/scala/net/liftweb/util/StringHelpersSpec.scala with
UTF-8
Please try specifying another one using the
Marius,
Jorge has a 2.7.2 branch that he's actively maintaining.
Thanks,
David
Marius wrote:
Hi,
Has anyone tried to compile lift with Scala 2.7.2-rc1 ? I just did and
the only change I had to do was in CometActor
object ActorWatcher extends Actor {
def act = loop {
react {
I've been meaning to put up the latest Lift demo app... haven't had time.
I'll get to it on Monday.
Kris Nuttycombe wrote:
Just thought I should point out that
http://demo.liftweb.net/lift/simple/ is puking:
Message: java.lang.reflect.InvocationTargetException
in on this, but
there'll be little to no change to Lift apps resulting from 2.7.2 The
biggest API changes in 2.7.2 are Actor related and Philipp Haller was
kind enough to check with me before implementing the breaking changes.
Cheers
Tim
On 13 Sep 2008, at 14:40, David Pollak wrote
If your root package is com.foo and you've got a line in Boot:
LiftRules.addToPackages(com.foo) then the Misc class has to live in
com.foo.snippet to be found by Lift.
On Thu, Sep 11, 2008 at 10:37 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
I copied the Misc snippet over from the example,
16, 2008 at 2:08 PM, Derek Chen-Becker
[EMAIL PROTECTED] wrote:
Do you mean a JAR that you can just run, a la java -jar mywebapp.jar ?
On Mon, Sep 15, 2008 at 5:25 PM, David Pollak [EMAIL PROTECTED] wrote:
Folks,
Has anyone built a Lift app that's deployable as a JAR file with Jetty
You might ask this question on the GitHub list.
Jorge Ortiz wrote:
If you're following @liftweb on Twitter, I apologize for the massive
updates tonight. It seems that whenever I merge changes from 'master'
into 'scala-snapshot', all those commits get re-tweeted by Github.
Anyone know if
Jorge Ortiz wrote:
The mixinAttributes function is now in BindHelpers.
Excellent! Thanks!
--j
On Fri, Aug 15, 2008 at 7:06 AM, David Pollak
[EMAIL PROTECTED] wrote:
On Thu, Aug 14, 2008 at 10:42 AM, Jorge Ortiz [EMAIL PROTECTED] wrote:
The abstraction for it isn't baked
You mean something like:
https://www.lostlake.org/wizard.wmv
On Wed, Sep 17, 2008 at 9:57 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Guys,
Just been noodling a few things and one of them was how to create a
process (kind of like Step 1, Step 2 etc) that can be variable? Some
times I might
Kris,
Jorge changed bind to accept the - stuff... please provide stand-along
examples of -- working and - failing so he can do what he needs to do to
fix up the code.
Thanks,
David
On Wed, Sep 17, 2008 at 2:53 PM, Kris Nuttycombe
[EMAIL PROTECTED]wrote:
Hi, all,
I noticed this in the
In your bootstrap/liftweb/Boot.scala file, put the following line:
LiftRules.addDispatchAfter(RestAPI.dispatch)
That'll hook things into the Lift HTTP handling mechanism.
Alan Mortensen wrote:
I finally got to the point where the code hits the compiler and I've
hit a snag. Where do you put
var g: Can[Gender] = Empty
SHtml.selectObj(Gender.elements.toList.map(v = (v, v.toString)), g, v = g
= Full(v))
On Wed, Sep 17, 2008 at 7:33 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
I'm using an enumeration for Gender:
@serializable
object Gender extends Enumeration {
type Gender
, user.nameFirst = _),
username - SHtml.text(user.username, user.username = _),
gender - SHtml.selectObj(Gender.elements.toList.map(
v = (v, v.toString)), g, v = g = Full(v)),
save - SHtml.submit(?(Save), doAdd)
)
}
David Pollak wrote:
Please post the part of the code where you
What are the headers that are being sent to your browser?
On Thu, Sep 18, 2008 at 6:25 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Interestingly, now the DTD is coming through properly the background
of my body is all screwy (but in the static html it works fine). When
the page is being served
browser are you having a problem with?
Cheers
Tim
On Sep 18, 2:32 pm, David Pollak [EMAIL PROTECTED]
wrote:
What are the headers that are being sent to your browser?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
of ways in the html page markup, but it
always crashed out. Is it not possible? I've not needed to do it up
until now so have never tried... Is there a solution for this?
Cheers
Tim
On Sep 18, 3:02 pm, David Pollak [EMAIL PROTECTED]
wrote:
On Thu, Sep 18, 2008 at 6:52 AM, Tim Perrett [EMAIL
I'll work on an example
Tim Perrett wrote:
Hmmm im not sure I follow. Let me be explicit:
default.html
div id=flight-plan class=non-repeatable-background
lift:bind name=toppoint /
/div
...
div id=content
lift:bind name=content /
/div
mypage.html
lift:surround with=default
, but there is no corresponding bind point in the layout
Cheers
Tim
On Sep 19, 5:03 pm, David Pollak [EMAIL PROTECTED] wrote:
I'll work on an example
--
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http
Rather than storing the Gender enumeration in the RDBMS, I'd suggest
storing the Int value of the enumeration.
@Column{val name=gender}
var genderInt : Int = _
def gender: Gender = Gender(genderInt)
def gender_=(what: Gender.Value) =
Charles F. Munat wrote:
I'm still
it manually as you suggest.
Thanks.
Chas.
David Pollak wrote:
Rather than storing the Gender enumeration in the RDBMS, I'd suggest
storing the Int value of the enumeration.
@Column{val name=gender}
var genderInt : Int = _
def gender: Gender = Gender(genderInt)
def gender_
Using Eclipse.
If you're using Eclipse to compile your project, then you're using Scala
2.7.2-RC1/2 which has different method signatures than the version that
Lift is compiled against: 2.7.1
So, please exit Eclipse, got into your project directory and type: mvn
clean jetty:run and see if the
know how to address this issue?
--j
On Sat, Sep 13, 2008 at 6:39 AM, David Pollak [EMAIL PROTECTED]
wrote:
Yeah... I get that. I figured it was part of Eric's tests.
Marius wrote:
Is anyone seeing this?
IO error while decoding /media/WORK/marius/workspace/lift
Tim Perrett wrote:
IMHO the form validation framework should work independently from any
persistence related stuff ...
+1
Right. The Record/Field stuff is not about persistence... it's about
richer representation of data than String/Int/Long/Date. It's about the
stuff that
Folks,
I've radically enhanced the robustness of Lift's Ajax support.
Previously, Lift's Ajax calls would silently fail and would not be retried.
Now, Ajax calls are retried 3 times (tunable in LiftRules.ajaxRetryCount).
The delay between calls is 2 ^ (cnt - 1) seconds. So, the first retry
the question/issue
is... maybe it's just that I haven't had coffee yet and I'm going slow
this morning. :-(
Br's,
Marius
On Sep 23, 3:07 pm, David Pollak [EMAIL PROTECTED]
wrote:
On Tue, Sep 23, 2008 at 5:03 AM, Marius [EMAIL PROTECTED] wrote:
Thoughts/comments on this?
Br's
Tim,
I like the work, but I tend not to like mutable data structures (stuff
with properties that one sets.) I'd structure things such that the
PayPal object's setters return a new, immutable instance of the PayPal
object, so you're code would look like:
val pp: PayPal = new
of your other code.
Thanks,
David
Derek
On Tue, Sep 23, 2008 at 9:41 AM, Oliver Lambert [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
On 24/09/2008, at 1:00 AM, David Pollak wrote:
On Tue, Sep 23, 2008 at 7:26 AM, Oliver Lambert [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED
Charles F. Munat wrote:
Oliver Lambert wrote:
Do/should validations stop at the first error message on the field, at
least by default?
I much prefer that they do not. It really irritates me when I'm using an
online form and it tells me that something is invalid, then I fix it,
If the error is occurring in the browser, it's because the menu:bind/
is not getting processed.
So, what's the page source (the stuff that's getting delivered to the
browser)?
Charles F. Munat wrote:
I'm still not clear on what causes this type of error:
XML Parsing Error: prefix not
.
As to Viktor's suggestion, having a bunch of builder methods on an
object rather than an explicit constructor is the right way to go. e.g.:
trait PayPal {}
object PayPal {
def apply(): PayPal =
}
Kris
On Tue, Sep 23, 2008 at 7:46 PM, David Pollak [EMAIL PROTECTED] wrote:
Tim,
I
And how did you convert the Loc to an URL?
Marius wrote:
Looks to me like a bug. I mean it appears to render the random string
generated instead of what createLink returns.
Br's,
Marius
On Sep 24, 12:15 pm, Charles F. Munat [EMAIL PROTECTED] wrote:
When I create an external link in
Tim Perrett wrote:
Hey guys,
Just a quick issue (or what seems to be an issue) that i've come
accross. If you do the following:
SHtml.submit(Register, save) % (type - image)
% (src - img/button-
submit-registration.gif)
For instance, it
On Fri, Sep 26, 2008 at 2:16 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Am I being dumb here - could we not just run some checks on the user-
agent header and respond appropriately?
It would be very cool if SHtml was browser aware.
Yes... that's what I'm suggesting. Right now, I think the
else?
Br's,
Marius
On Sep 26, 6:54 pm, David Pollak [EMAIL PROTECTED]
wrote:
On Fri, Sep 26, 2008 at 2:16 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Am I being dumb here - could we not just run some checks on the user-
agent header and respond appropriately?
It would
Charles F. Munat wrote:
In my HTML output there is a script that begins:
// ![CDATA[
var lift_ajaxQueue = [];
var lift_ajaxInProcess = null;
var lift_ajaxShowing = false;
var lift_ajaxRetryCount = 3
Is there an easy way to make this download as a separate .js file
instead of inline?
On Sep 24, 4:48 pm, David Pollak [EMAIL PROTECTED] wrote:
Kris Nuttycombe wrote:
If you're going to take that approach, why not just make the
constructor or factory method ensure that the object is in a valid
state to begin with? When I write immutable objects, they usually
don't have
,
Mateusz
On Thu, Sep 25, 2008 at 9:38 PM, Charles F. Munat [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Ah, ha! I knew it had to be something simple like that. Good to know
that hidden-templates can't reuse the names of directories. Thanks!
Chas.
David Pollak
singletons instead.
What other mechanisms exist to bind to Lift's lifecycle hooks?
RequestVar does essentially what I need it to do in my hack, but
relying upon the internal implementation of AnyVar makes me a little
queasy.
Kris
On Mon, Sep 29, 2008 at 12:14 PM, David Pollak
[EMAIL PROTECTED
,
Marius
On Sep 26, 6:54 pm, David Pollak [EMAIL PROTECTED]
wrote:
On Fri, Sep 26, 2008 at 2:16 AM, Tim Perrett [EMAIL PROTECTED]
wrote:
Am I being dumb here - could we not just run some checks on the
user-
agent header and respond appropriately?
It would be very
.
Kris
On Mon, Sep 29, 2008 at 2:12 PM, David Pollak
[EMAIL PROTECTED] wrote:
Kris,
If your goal is to have some cleanup function added at the end of the
request, you can do the following:
trait Cleanable {def cleanup: Unit}
class MyStuff {
var needsCleanup: Can[Cleanable] = Empty
On Mon, Sep 29, 2008 at 3:52 PM, Tim Perrett [EMAIL PROTECTED] wrote:
Hmmm... I may be misunderstanding what you're saying... but...
In the PayPal landing, I'd update the user's state (e.g., credit their
account), add something to S.notices and then redirect the browser to
either
/ or
Lift's changed up to send stuff via separate files rather than inline on the
page.
On Fri, Sep 26, 2008 at 2:40 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
Daniel Green wrote:
Is there an easy way to make this download as a separate .js file
instead of inline? Or to suppress it if I'm
Folks,
I've know Al Thompson for longer than any of the other Lift committers.
Cast you mind back to '97... I was doing crazy things with browser-based,
multi-user spreadsheets. Al was my technical liaison at Sun. Now I'm doing
Lift. Al is joining the Scala and Lift communities. He's offered
On Thu, Oct 2, 2008 at 5:13 PM, Oliver [EMAIL PROTECTED] wrote:
I'm writing a wizard-like process, where when they have finished the set of
forms and press submit I don't want the back button to take them back. Is
there any way I can clear out the history?
This is JavaScript magic and I'm
., disabling submit buttons).
- GC'ed... These will stay around for a period of time and a certain
number of page requests.
- Long-lived... JSON related and Comet related.
cheers
Oliver
On Fri, Oct 3, 2008 at 10:15 AM, David Pollak
[EMAIL PROTECTED] wrote:
On Thu, Oct 2, 2008
in List(a,b,c) It
usually doesn't matter, but the compiler isn't great at finding the common
trait among the c and b elements and chooses things like Object
Chas.
David Pollak wrote:
Charles,
Try:
override def fieldOrder = List(id, name, desc, isArchived)
Sometimes the type
On Sun, Oct 5, 2008 at 10:59 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Guys,
Check this out:
http://code.google.com/p/simple-build-tool/
It appeared a couple of days ago - im wondering if its something we
could customize to make starting lift projects easier? Its all written
in scala so
See net.liftweb.mapper.ProtoExtendedSession
This does not address the issue of the opaque identifiers used to map from
form fields to functions.
On Sun, Oct 5, 2008 at 1:02 PM, Tim Perrett [EMAIL PROTECTED] wrote:
Indeed - me and Ty were just talking about this incidentally, and
there is no
with correct implementations.
Looking at how newbies approach Lift will help us make Lift more
approachable.
On Oct 5, 10:16 am, efleming969 [EMAIL PROTECTED] wrote:
@david
thanks, that did the trick.
On Oct 3, 12:51 pm, David Pollak [EMAIL PROTECTED]
wrote:
def myUnloader(): Unit
names and using S.param to decode the
incoming POST. :-(
Chas.
David Pollak wrote:
See net.liftweb.mapper.ProtoExtendedSession
This does not address the issue of the opaque identifiers used to map
from form fields to functions.
On Sun, Oct 5, 2008 at 1:02 PM, Tim Perrett [EMAIL
efleming969 wrote:
I saw that syntax on a blog a few days ago, but I did not try it with
version 7.6.
The db4o team has been really dedicated to C# and LINQ in the past few
versions, to I would image the library will become more friendly to
languageas like Scala.
Unfortunately, DB4O's
that.
Chas.
David Pollak wrote:
TylerWeir wrote:
Charles, can you implement something like the auto-saving feature of
GoogleDocs/GMail?
I really like this idea. I'm going to noodle on a way to make it a part
of Lift... basically an form that periodically serializes from browser
Folks,
Derek Chen-Becker has just joined the Lift committers. One might ask What
took so long? Derek's been an awesome contributor to the Lift community
for more than a year and it's good to see that he's going to be contributing
the the Lift codebase.
Woo Hoo and Welcome.
Thanks,
David
--
On Tue, Oct 7, 2008 at 1:28 PM, Charles F. Munat [EMAIL PROTECTED] wrote:
What is the benefit of the Dispatch Snippet over the Snippet? When would
I use one and when the other?
If you're cool with looking up the snippet by class/method name use the
plain old snippet. If you want some
stuff is continuously being pushed through pieces of the compiler.
On Wed, Oct 8, 2008 at 1:21 PM, David Pollak [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Folks,
I've been using NetBean pretty successfully... except for projects
that
refer to complex parser
] =
Page.findAll(PageSection.page, this.id)
Page.findAll(By(PageSection.page, this.id))
You could also do:
Page.findAll(By(PageSection.page, this.id), OrderBy(PageSection.page,
Ascending))
^
??
Chas.
David Pollak wrote:
On Tue, Oct 7, 2008 at 1:28 PM, Charles
There are two projects I'm working on that will use the PayPal module in
the next month as well.
Rock and Roll!
Charles F. Munat wrote:
Of course I'll be happy to pass along suggestions, bugs I find, etc.
This is a good opportunity to get something like this into the wild, as
this is a
Mrinal,
Do you mean when the page is initially rendered or do you mean on updates?
If you mean on updates, see the partialUpdate(js: JsCmd) method on
CometActor:
http://scala-tools.org/mvnsites/liftweb/lift-webkit/scaladocs/net/liftweb/http/CometActor.html
You can send arbitrary JavaScript to
Tim,
When post is null or the responseBody is null, then you're going to get
this problem. I'd make the line:
lazy val reader: BufferedReader ...
That way, the getResponseBodyAsStream method is called when the reader is
used, rather than when the instance is created.
Thanks,
David
On Sat,
It's very doubtful that a subclass is causing the constructor on its
superclass to be called twice. But, if you're using the immutable pattern,
you're creating two instances of a given class.
Try my original suggestion of making the val into a lazy val. That way, it
will be constructed only
On Sun, Oct 12, 2008 at 12:53 PM, Tim Perrett [EMAIL PROTECTED] wrote:
The InputStream should be read by a factory which creates the response
objects. Those response objects are immutable.
That was going to be my next step - what your effectivly saying is
that you have a singleton to
Folks,
I'm made a ton of updates to sitemap.Loc. If you're using sitemap
generically, these changes will not impact you. However, there are a bunch
of new features:
- Loc is type-safe in terms of parameters... they're not just name-value
pairs
- Links and Text for a given Loc can be
Bjarte,
What version of Lift are you using?
In the current trunk-head (0.10-SNAPSHOT, which I would strongly
encourage using), you can do:
lift:Menu.builder li_item:class=foo li_path:class=bar /
And the class of the current menu item will be foo and the class of
the li's that are in the
Kris,
You should be able to run Lift as a Servlet rather than a filter by
specifying the net.liftweb.http.LiftServlet in your web.xml file. Try
this... if it doesn't work, it's a bug in Lift.
Thanks,
David
On Mon, Oct 13, 2008 at 7:49 PM, Kris Nuttycombe
[EMAIL PROTECTED]wrote:
Hi, all,
Folks,
I pleased to announce that Kris Nuttycombe has joined the Lift committers.
Please join me in welcoming him!
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some:
Please also see:
http://blog.lostlake.org/index.php?/archives/50-The-Scala-Option-class-and-how-lift-uses-it.html
Can[T] is just like Option[T]
Marius wrote:
to get stuff out of a can you can do:
1. Pattern matching
having c a Can[String]
c match {
case Full(value) = //do something
point the light bulb will come on and
this will seem easy. I'll read the blog post.
Chas.
David Pollak wrote:
Please also see:
http://blog.lostlake.org/index.php?/archives/50-The-Scala-Option-class-and-how-lift-uses-it.html
Can[T] is just like Option[T]
Marius wrote:
to get stuff
-SNAPSHOT tonight
and
check out this change. The only thing I have done in the project is to
try to
adapt the default template so it is no hassle.
Thanks for the response. I belive it will solve my problem :)
regards,
Bjarte
David Pollak:
Bjarte,
What version of Lift
/a
Of course, now that I know, I'll just use S.uri.
Thanks again for all the help!
Chas.
David Pollak wrote:
Charles,
A Can is a container... it can contain a thing or be empty.
You can transform the contents of a Can from one thing to another using
map(). map() on Can, Option, List
On Thu, Oct 16, 2008 at 8:23 PM, efleming969 [EMAIL PROTECTED] wrote:
Was anything like this every implemented?
Yes.
On Sep 22, 12:18 pm, David Pollak [EMAIL PROTECTED]
wrote:
On Sun, Sep 21, 2008 at 5:21 PM, Charles F. Munat [EMAIL PROTECTED]
wrote:
It would be useful
Tim Perrett wrote:
That would give you the lift jars and things, but not the maven tools
(which I presume if he's asking, he doesnt have).
Lift has a bunch of dependencies, and then those dependencies have
there dependencies. My ~/.m2 directory is 166mb right now, so I guess
you'd need a
On Sun, Oct 19, 2008 at 4:33 PM, Tim Perrett [EMAIL PROTECTED] wrote:
FYI - here are the curl outputs:
macpro:~ timperrett$ curl -I http://thenang.ebiggs.com/abc.kml
HTTP/1.1 http://thenang.ebiggs.com/abc.kmlHTTP/1.1 200 OK
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie:
tunaforcats.com/maven_m2_rep.tgz
On Sat, Oct 18, 2008 at 1:31 AM, Dorinel [EMAIL PROTECTED] wrote:
Its never really an issue for us as were all connected to the net. Can
I ask why you cant connect that machine to the net?
A fair number of secure organizations (corporate,
On Tue, Oct 21, 2008 at 8:19 AM, Dean Wampler [EMAIL PROTECTED] wrote:
Has anyone written an open-source CMS system in Lift? The google didn't
turn up any. Thanks.
No, but I'd love to see one!
dean
--
Dean Wampler
http://www.objectmentor.com
http://www.polyglotprogramming.com
On Tue, Oct 21, 2008 at 11:09 AM, Tim Perrett [EMAIL PROTECTED] wrote:
Doh!! Scratch that:
val badger = for(val p - paramaters) yield MyItem(p._1,p._2)
println(badger.toList)
This gives my what I want - any reason I *shouldnt* be doing it this
way?
Tim,
I've been in the PayPal code
SessionVars are not available during URL rewriting. URL rewriting takes
place before the session is obtained. This is deliberate because the URL
rewriting takes place before the sessionless dispatch is consulted. This
happens before the session is retrieved/created and the regular flow
happens.
to get at everything after the host
portion?
Thanks,
Derek
On Tue, Oct 21, 2008 at 2:21 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
OK, that makes sense. Sometimes when you have a hammer everything looks
like a nail :)
On Tue, Oct 21, 2008 at 2:05 PM, David Pollak
[EMAIL PROTECTED
On Wed, Oct 22, 2008 at 3:20 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote:
Technically it lives in your session. The closure (not 100% sure that's the
correct term):
() = {cnt = cnt + 1; SetHtml(cnt_id, Text( cnt.toString))}
Creates a function object (of type
On Tue, Oct 21, 2008 at 5:50 PM, efleming969 [EMAIL PROTECTED] wrote:
Most questions in the group are technical and I apologize if this is
not appropriate, but I I'm curious about how members are justifying
their use of Scala+Lift vs. a traditional Java architecture. I
understand if you are
1 - 100 of 2809 matches
Mail list logo