Things like AsyncWeb, some HTTP stacks on top of Netty ...
Br's,
Marius
On Aug 4, 11:37 pm, Derek Chen-Becker wrote:
> I don't necessarily have a problem with this, but what's the gain? Are there
> other HTTP frameworks that don't use the javax.servlet API? Just curious.
>
> Derek
>
> On Tue, A
messages:
>
> minLen=At least %s characters required!
> maxLen=At most %s characters allowed!
>
> Thanx
> Heiko
>
> 2009/8/4 marius d.
>
>
>
>
>
> > S lifetime is per request. S is not constructed on Boot. Could you
> > post a code snippet on what y
In StatefulSnippet you have a redirectTo function that essentially
does a redirect with state
The definition is something like:
def redirectTo(where: String) = S.redirectTo(where,
registerThisSnippet)
So you can do it like
S.redirectTo(where, () => registerThisSnippet)
... of course would be
with val. But this is a Scala thingy, please do not
> bother. If it makes you easier replace val with def.
> The question remains: How can i18n be done in "stateless" (request state)
> cases?
>
> 2009/8/5 marius d.
>
>
>
>
>
> > I thought validati
-var). hence
> Button clicked - redirect to prev page
> Page load 3 - snippet still registered?
> Do I have to store a call to registerSnippet in the other page?
>
> -----
>
> marius d. wrote:
>
> In StatefulSnippet you have a redirectTo
Sounds good to me
On Aug 5, 1:51 pm, Yousry Abdallah wrote:
> Could you setup a milestone before the merge?
>
> On 4 Aug., 21:51, Marius wrote:
>
> > Folks,
>
> > I spent a few days decoupling Lift from JEE web container
> > dependencies: javax.servlet._ The code is currently in wip-marius-http
2009 at 5:08 AM, marius d. wrote:
>
> > Sounds good to me
>
> > On Aug 5, 1:51 pm, Yousry Abdallah wrote:
> > > Could you setup a milestone before the merge?
>
> > > On 4 Aug., 21:51, Marius wrote:
>
> > > > Folks,
>
> > > > I spent a
No. Each template must be xml well formed so you can not have more
then one root element,
Please see to handle multiple binds.
Br;s,
Marius
On Aug 6, 12:04 am, pabraham wrote:
> Hello there,
>
> Is it possible for an HTML file to have more than one lift:surround
> tag?
>
> For example, defaul
his subject?
>
> -
>
> Heiko Seeberger wrote:
>
> Ah, yes!Sorry, I did not get the point, but obviously the val is to be
> blamed ;-)
> Now it's running, thanx!!!
>
> Heiko
>
> 2009/8/5 marius d.
>
>
>
> > I'm aware abou
Please see chooseTemplate from Helpers._ (It's actually defined in
BindHelpers)
For examples see:
\sites\example\src\main\webapp\guess.html
\sites\example\src\main\scala\net\liftweb\example\snippet
\CountGame.scala
.. see if that helps you case.
Br's,
Marius
On Aug 6, 6:44 am, Naftoli Gugenhe
On Aug 6, 3:46 pm, pabraham wrote:
> Thanks everyone. I can get things to work now using param ...>
>
> However, I found a post[1] by DPP that says that
> is deprecated. Is this true?
We tried to deprecate it a little while ago but AFAIK it's not
deprecated anymore.
>
> Regards,
>
> Paul.
Yeah we're aware of that. That is based on toString application which
is JDBC driver dependent. I think Derek started some work on this to
correct this behavior. Derek ?
Br's,
Marius
On Aug 6, 8:01 pm, jon wrote:
> Hi,
>
> I have the following in boot:
> DB.addLogFunc((query, len) => Log.inf
>
> Derek
>
> On Thu, Aug 6, 2009 at 11:03 AM, marius d. wrote:
>
> > Yeah we're aware of that. That is based on toString application which
> > is JDBC driver dependent. I think Derek started some work on this to
> > correct this behavior. Derek ?
>
> >
Please see LiftSession.processSurroundAndInclude ...
I wouldn't recommend processing templates outside normal rendering
pipeline ... but for specific cases it might be ok.
But what is your use case?
Br's,
Marius
On Aug 6, 11:12 pm, fbettag wrote:
> Hi there,
>
> i was just wondering how one w
map to JEE servlets world please see
refinements from net.liftweb.http.provider.servlet package
If your application does not explicitly relies on usage on
javax.servlet._ package you should have very little or no changes to
make.
Br's,
Marius
On Aug 5, 3:05 pm, "marius d." wrote:
>
Keep in mind that for YUI to work with lift you also need to include
liftYUI.js
Br's,
Marius
On Aug 7, 10:16 pm, Stefan Scott wrote:
> Hi Dirk -
>
> Nice to meet you. I'm still rather new to lift myself, and completely
> new to ExtJS. I'm studying this stuff in my spare time, and I haven't
> ha
What do you mean by UI framework here? Lift is pretty neatly
integrated with JQuery, or you can use YUI or virtually any UI
framework.
So what are your expectations from a UI framework?
Br's,
Marius
On Aug 7, 10:55 pm, ivo wrote:
> Hi all,
>
> I want to start learning about promising technolog
data to a JQuery
plugin very easily.
>
> I know this is not the JQuery list :-) but that David's quotation
> aroused my curiosity about the Bespin + Lift project. In another
> occasion, David also said "I'm just not a fan of the GWT model". I
> wander what he meant...
What if you declare declaring the lift namespace ?
Br's,
Marius
On Aug 9, 7:34 pm, fbettag wrote:
> Hi there,
>
> i know this is not the right place, but i wanted your opinions first.
> I'm trying to run XML.loadString onto this:
>
>
>
>
>
>
Your makeUTF8 should look like this:
private def makeUtf8(req: HTTPRequest): Unit =
{req.setCharacterEncoding("UTF-8")}
just use HTTPRequest instead of HttpServletRequest.
Br's,
Marius
On Aug 10, 7:49 pm, glenn wrote:
> I just got a type mismatch found error in LiftRules.early.append
> (mak
ensus that we want our own JDBC wrappers I'll go ahead and
> write them.
>
> Derek
>
> On Thu, Aug 6, 2009 at 1:19 PM, marius d. wrote:
>
> > Probably building our own wrappers would be more lightweight then 3-rd
> > party. Jus' guessing
>
> > Br
You can specify your own ResourceBundle for Lift's strings:
LiftRules.liftCoreResourceName which is currently set to "i18n.lift-
core"
or you can manually change lift-core.properties files from the Lift's
jar file.
Current Lift's strings are in lift\src\main\resources\i18n\lift-
core.properties
On Aug 11, 7:09 pm, Meredith Gregory wrote:
> Tim,
>
> i was under the same impression, but then read a couple of IBM comparison
> articles and a WSO2 blog and it seemed that the WSDL 2.0 was gaining ground.
> Further, the tooling for WSDL, with integration into all the major IDE's,
> has been
Steffen new members are moderated ... so please have a little
patience. Once someone brings valuable information and show genuine
interest in Lift and this list, most likely his/her posts will not be
moderated anymore.
Br's,
Marius
On Aug 11, 10:01 pm, Steffen Weißmann
wrote:
> Sorry, it was a
On Aug 12, 9:12 am, Yuan wrote:
> I am new to Lift. I like it lot. I have great respects to the members
> of this open source project, specifically the committers. I want to
> contribute some effort to this warm community.
>
> Here I want to share my two concerns about Lift; (I know most of
> p
Welcome on board Joni !
On Aug 13, 7:06 pm, David Pollak
wrote:
> Folks,
>
> I'm pleased to announce that Joni Freeman has joined the Lift committers.
>
> Joni will be adding his high performance JSON library as a module in Lift...
> and I certainly hope that Lift's JSON support will improve.
>
On Aug 14, 11:10 am, "xiaomingzhen...@gmail.com"
wrote:
> i am a newer to lift, and now i am reading the book the definitive
> guide to lift. In chapter 5.1, book told me this:
> val helpMenu = Menu(Loc("helpHome",("help" :: "" :: Nil) ->
> true,"Help")) make all the files under help folder acc
What listing from the book are you referring to ? 7.13 ?
and the code:
class Ledger {
def balance (content : NodeSeq ) : NodeSeq = {
bind ("ledger", content,
"time" -> {(new java.util.Date).toString})
}
}
would output
Sat Mar 28 16:43:48 EET 2009.
so ledger:id was preserved in the output
The book exposes current functionality for Lift 1.0. If functionality
X was not intended to be there is a different story, but regardless it
is there and the way I see it it is OK to be in the book.
Personally I don't see it as defect as preserving attributes (to the
top level resulting NodeSeq)
l is used to merge
> attributes to an Elem.) The right side can be an Elem or a Box/Option of an
> Elem.
> What do people think of this syntax?
> P.S. Another way is to append ".%%" to an Elem making it into a NodeSeq
> function.
>
> --
Your code looks fine to me. There is notmagic withXHtml.link just that
when you click the link on server-side your function gets called
before the /logout page gets rendered.
Can you add a function to LiftRules.onEndServicing ?
LiftRules.onEndServicing.append {
case (req, Full(resp)) =>
val
ing that in other situations).
>
> What I see when the logout link is followed is:
>
> List()
>
> When I set the cookie originally, I do see a List(HTTPCookie(...))
>
> I'm running all of this on 127.0.0.1:8080.
>
> Thanks
> Richard
>
> On Sat, Aug 15, 2009 at
ot;).
>
> What I should be doing is a RedirectResponse("/index",
> S.responseCookies:_*) to ensure the delete of the cookie happens.
>
> I've now re-read section 3.14 of master.pdf which pointed me towards
> RedirectWithState which was a great help.
>
> Thank you!
> Ri
ees any
> > problems with it.
>
> > Derek
>
> > On Tue, Aug 11, 2009 at 11:08 AM, Derek Chen-Becker <
> > dchenbec...@gmail.com> wrote:
>
> >> Will do.
>
> >> On Tue, Aug 11, 2009 at 2:33 AM, marius d. <
> >> marius.dan...@gmail
st[(LogStatement) => Any] = Nil
Br's,
Marius
>
> Derek
>
> On Sun, Aug 16, 2009 at 8:09 AM, marius d. wrote:
>
> > Derek,
>
> > I was looking to your code, GOOD stuff ! One thing though.The
> > LoggedStatement.toString would return a List of log entries
hat they're all
> local, but it seems like we should just time everything.
>
> Thoughts?
I like it ... and I'd go for concrete cases classes(LoggedStatement,
LoggedMetaCommand ...) above as opposed to tupples. So at least you
got my vote :)
>
> On Sun, Aug 16, 2009 at 8:31 AM,
You can use multiple bind pointx by the means of
Your tag soup
Your tag stue
...
tag.
Br's,
Marius
On Aug 16, 9:34 pm, "incarn...@whiteants.net"
wrote:
> Greetings. I've googled quite a while for a very obvious feature that
> all templating engines out there have and it seems like L
I believe the book describes the SiteMap quite extensively. Yes, if
you are using SiteMap then you have to add your new page to the
SiteMap.
Br's,
Marius
On Aug 17, 8:27 am, Morris Jones wrote:
> Derek Williams wrote:
> > The tag is used to reference another template that will
> > contain your
Would you please post a code snippet with what you're doing? (a
minimalistic example)
Br's,
Marius
On Aug 17, 7:41 am, g-man wrote:
> I am moving nicely with my 'save all dates as millis and let the
> client localize for display' project, learning while enhancing the
> ToDo sample app.
>
> I ha
the ajax invocation function. In other
words your code gets that function that does the ajax call meaning
that you have the control over when the ajax call is made.
Br's,
Marius
On Aug 17, 8:55 am, "marius d." wrote:
> Would you please post a code snippet with what you're d
Thank you for pointing this out. Most likely I'll make the corrections
today.
Br's,
Marius
On Aug 17, 1:48 am, Vassil wrote:
> Hello guys,
>
> It seems the HTTP refactoring around 10 days ago broke OpenId. Here's
> a small patch that made it work for me:
>
> --- dpp-liftweb-e845b3c129baf16bc35b
The JDBC driver should not be in the applications class-path (WEB-INF/
lib) but in container's classpath. Say jetty's lib folder.
Br's,
Marius
On Aug 17, 2:24 pm, Goldfish wrote:
> I am trying to point my app at an Oracle database, but am getting
> ClassNotFound exceptions:
>
> [INFO] Scanning
Please add the path to your SiteMap.
Menu(Loc("MyView", "MyView" :: _, "MyView"))
Br's,
Marius
On Aug 17, 8:25 pm, Michel Klijn wrote:
> Hi,
>
> I'm new to Lift and I've been fooling around with all it's cool
> features.
>
> At the moment, I'm trying to access MyView that I have defined in the
80KN').hide();">
> type="text" value="1248493271843"
> onkeypress="lift_blurIfReturn(event)" size="10" />
>
>
>
> So, all the parts work well together, but Lift's ajax just takes off
>
Done.
Br's,
Marius
On Aug 17, 9:39 pm, David Pollak
wrote:
> On Sun, Aug 16, 2009 at 11:52 PM, marius d. wrote:
>
> > Thank you for pointing this out. Most likely I'll make the corrections
> > today.
>
> Please let us know when the changes are rolled
ld actually be implemented shorter:
>
> elem currentNode.map(_.attributes).openOr(scala.xml.Null))
>
> etc.
>
> On Fri, Aug 14, 2009 at 4:50 PM, marius d. wrote:
>
> > IMHO:
>
> > The problem with
>
> > "name" some_new_operator_beside_-> expr
&g
Looks like a bug to me
Br's,
Marius
On Aug 17, 11:04 pm, harryh wrote:
> Further information:
>
> Stripping things down to almost nothing, a test.html:
>
>
> ignore
>
>
> Generates the following HTML:
>
> key="xxx">ignore
>
> Still confused on how the "with" and "at" attributes are get
with lift:a attributes for some reason.
Dave did you add this recently ? ... I mean the call to S.setVars
(elm.attributes) {processSurroundAndInclude(...) } inside
LiftSession.processSurroundAndInclude (LiftSession line 935)
Br's,
Marius
On Aug 17, 11:14 pm, "marius d." wrote:
&
Great talk Derek !!!
Br's,
Marius
On Aug 18, 2:46 am, Derek Chen-Becker wrote:
> http://blip.tv/file/2485411
>
> A big thanks to BJUG and especially Fred Jean for recording this. I'll be
> giving another talk in December to the Denver Open Source User Group
> (DOSUG). Hopefully we'll have some
A friend of mine is building a lift app and wants to host it there.
Indeed the lack of sticky session is problematic for large scale apps.
that require more then one node. Haven't found a workaround yet ...
Br's,
Marius
On Aug 18, 4:41 pm, Ryan Donahue wrote:
> Is anybody using Stax for anythin
On Aug 18, 5:05 pm, Naftoli Gugenheim wrote:
> You set whether you want a shared server, or dedicated/various speeds.
> In any case, is there room to entertain the thought of at some point adding
> support in Lift to propogate sessions across instances? (Is it easier now
> that it's been deco
Having
def ajaxText(value: String, jsFunc: Call, func: String => JsCmd)
jsFunc parameter is a Call which is defined as:
case class Call(function: String, params: JsExp*) extends JsExp
So by this you represent a javascript function invocations.
So assuming somewhere you have a javascript funct
now, I will change to an ajaxForm, but the learning is all good,
> and if you want to keep teaching, I will listen!
>
> Thanks for your patience...
>
> On Aug 18, 12:41 pm, "marius d." wrote:
>
> > Having
>
> > def ajaxText(value: String, jsFunc: Call
, 10:55 am, inca wrote:
> As suggested
> inhttp://groups.google.com/group/liftweb/browse_thread/thread/d664b712d...
> by Mr. Marius D., I should use lift:with-param in order to insert
> content into multiple bind points of template. But recently I read
> that this tag is deprecat
> On 19 авг, 12:07, "marius d." wrote:
>
> > Yes we tried to deprecate it but later on we un-derprecate it :)
>
> > So you can use safely. Purely for naming perspective
> > seems to me more intuitive than ...
> > I'm not sure if this is a strong
t; That's why I thought I had to override something...
>
> Is there a newer version I should be using?
>
> On Aug 18, 10:38 pm, "marius d." wrote:
>
> > No you can't override it because SHtml is an object not a type. The
> > function definitio
In 1.1-SNAPSHOT you don't have access to servletRequest. you have
val r: HTTPRequest = S.containerRequest
But currently HTTPRequest does not provide a way of getting the
net.liftweb.http.provider.HTTPContext.
I will add this support pretty soon. You can still do that by:
import net.liftweb.ht
If no other committer wants to look into this I'll look on it. Tim,
would this interest you ?
Br's,
Marius
On Aug 19, 9:13 pm, jon wrote:
> Hi,
>
> The AutoComplete widget leaves a trailing "," in the javascript that
> causes IE to complain and not function. Or, at least i think that's
> the o
created using the 1.1-SNAPSHOT, so I will keep hacking unless you have
> some further guidance for me.
>
> On Aug 19, 12:20 pm, "marius d." wrote:
>
> > Please use Lift 1.1-SNAPSHOT
>
> > Br's,
> > Marius
>
> > On Aug 19, 10:06 pm, g-man wr
I think that regardless of Naftoli's particular case he brought up a
valid point such as if when initializing a servlet user has a
ServletConfig ... we could easily abstract things here as well to make
it available in Boot as well. I'll noodle on this and see what I can
do.
Of course I would not
David Pollak wrote:
>
> > On Wed, Aug 19, 2009 at 2:46 AM, marius d. wrote:
>
> > > This is a decision that needs consensus ... and David's agreement.
>
> > I'm cool with it.
>
> > It might also be worth thinking about creating some "alias&
ot; - I agree with-param is not ideal, but
> im not sure that "insert" is ideal either. I also agree with marius, what
> would you suggest to resolve this issue?
>
> I tried to post yesterday but it looks like my mail didn't make it into the
> group.
>
> Cheer
I love or ...
Br's,
Marius
On Aug 20, 5:43 pm, David Pollak
wrote:
> How about which works with
> I'm also open to non-English words that mean the same (as long as they are
> ASCII).
>
> 2009/8/20 marius d.
>
>
>
>
>
> > Well the way I see
: HTTPContext
Br's,
Marius
On Aug 20, 8:53 am, Naftoli Gugenheim wrote:
> H2's DbStarter reads the url/username/password and stores a connection object
> back in the servlet context.
>
> -----
>
> marius d. wrote:
>
> I think that
0, 7:17 pm, "marius d." wrote:
> I love or ...
>
> Br's,
> Marius
>
> On Aug 20, 5:43 pm, David Pollak
> wrote:
>
> > How about which works with
> > I'm also open to non-English words that mean the same (as long as they are
> > ASCII)
;s,
Marius
On Aug 22, 5:25 pm, David Pollak
wrote:
> On Sat, Aug 22, 2009 at 2:31 AM, marius d. wrote:
>
> > Greg/Viktor,
>
> > We could meet and discuss using whatever means (skype, chat, mail
> > etc.) and brainstorm what can we do about this. Even though I like a
> &g
Changed the thread subject ...
Marius
On Aug 22, 6:17 pm, "marius d." wrote:
> Great thing Dave.
>
> Roughly having a bound function f that user provided say in an
> ajaxButton call.The function f may hold references to other functions,
> session/request-vars, r
difficult.
Br's,
Marius
On Aug 23, 2:50 pm, Kevin Wright
wrote:
> I'm wondering if we can't leverage JavaSpaces to handle a lot of this stuff.
> From my experience with the technology it seems to be a pretty good fit for
> the problem.
>
> On Sun, Aug 23, 2009 at 1
Currently both with-param and bind-at are supported. I'll try to
update the wiki.
Br's,
Marius
On Aug 23, 5:28 pm, _rogerio_ wrote:
> I tried to find some info about the correct usage of template related
> tags on wiki but I couldn't find the most recent information about it.
> I'm starting wit
Looks like you don't need to be convinced :) ... Scala with its
features + Java compatibility + Lift's rich set of features +
performance of Scala & Lift makes it a no brainer. Enumerating all the
pros of Scala and Lift would just take way to long.
The list of Scala books and the Lift book are
At a first glace Java serialization is needed because of its awareness
of the reference graph. But in the same time it does not perform well.
One way might be the byte level instrumentation that would induce code
to figure out the reference graph and know how to stream-ify it using
a given efficie
p
of primitives, Calenars, SessionVar/RequestVar etc. If users need
their own classes to be LiftSerilizable they would have to implement
LiftSerializable trait.
Thoughts?
Br's,
Marius
On Aug 23, 8:30 pm, "marius d." wrote:
> At a first glace Java serialization is needed becaus
be any reasons
> not to tattach the lift objects tohe HttpSession to support existing
> session replication mechanisms such as Tomcat's?
There probably would as typically container's HTTPSession's are using
Java's serialization and the above would aim for a different one.
>
for comment in a day or
> so.
>
> Best wishes,
>
> --greg
>
>
>
> On Sun, Aug 23, 2009 at 10:45 AM, marius d. wrote:
>
> > Hmmm .. I'm wondering if we can write a Scala compiler plugin that
> > transform functions provided to Lift's S/SHtml fu
On Aug 24, 12:06 am, David Pollak
wrote:
> On Sun, Aug 23, 2009 at 10:45 AM, marius d. wrote:
>
> > Hmmm .. I'm wondering if we can write a Scala compiler plugin that
> > transform functions provided to Lift's S/SHtml function etc. into a
> > richer Function
On Aug 24, 10:39 am, Viktor Klang wrote:
> On Mon, Aug 24, 2009 at 8:13 AM, marius d. wrote:
>
> > On Aug 24, 12:06 am, David Pollak
> > wrote:
> > > On Sun, Aug 23, 2009 at 10:45 AM, marius d.
> > wrote:
>
> > > > Hmmm .. I'm w
Charles,
AFAIK I removed all dependencies to javax.servlet.* classes even from
archetypes. Are you using master? ... I did a full search and servlet
things are not being used. The archetype looks ok to me ... Am I
missing something?
Br's,
Marius
On Aug 24, 9:06 am, "Charles F. Munat" wrote:
>
mething on my machine,
> but everything else is working fine.
>
> The Maven command I used is reproduced below.
>
> Chas.
>
> marius d. wrote:
> > Charles,
>
> > AFAIK I removed all dependencies to javax.servlet.* classes even from
> > archetypes. Ar
Just a FYI. I briefly talked with Martin and he said this idea is
possible but quite tricky. Stephane Micheloud did something similar
and he may share some of his work. I'm waiting some feedback from him.
Br's,
Marius
On Aug 24, 10:46 am, "marius d." wrote:
> On Aug 24,
Well you can put a regular lift form that submits to itself in terms
or URI, do the computation in your processing function and redirect-
with-state to your new page.
So this would imply a redirect which one can say that it is suboptimal
as it implies one additional request. Personally I see no r
Something like that yes. Of course if action is missing current
behavior will apply.
Br's,
Marius
On Aug 25, 12:34 pm, Timothy Perrett wrote:
> Marius,
>
> So to clarify, your proposing:
>
>
>
> Cheers, Tim
>
> On 25/08/2009 10:24, "marius d." wrote:
What Scala & lift version are you using ? Are you compiling with one
scala version and use a different one at runtime?
The error also looks like an invalid xml provided. Can you paste you
xml template where you have the snippet ?
Br's,
Marius
On Aug 25, 12:45 pm, celestocalculus
wrote:
> I rea
Sure this is totally doable but I think we should be able to support
the case above where a form can submit to a different page.
Br's,
Marius
On Aug 25, 2:05 pm, Timothy Perrett wrote:
> Ulises,
>
> Am I missing something? There is nothing stopping you making a URL like:
>
> /search?for=Some+Te
12:55 PM, David Pollak <
> > feeder.of.the.be...@gmail.com> wrote:
>
> >> On Mon, Aug 24, 2009 at 12:36 PM, marius d. wrote:
>
> >>> Just a FYI. I briefly talked with Martin and he said this idea is
> >>> possible but quite tricky. Stephane Michelo
Lift jar's are in maven's repository.
if you do a mvn package it'll create the war archive that you can
easily deploy on tomcat. I think there is also a tomcat maven plugin
so you could do
mvn tomcat:run
Br's,
Marius
On Aug 25, 5:29 pm, jack wrote:
> I want to set up Lift with Tomcat. I set u
1. I just pushed a little change that allows:
...
2. You can also do
In both cases you can use Lift's html abstractions such as SHtml.text
etc. and bind your function. In the second example we used a snippet
that has no idea about form ... it is just wrapped by a form. So in
bo
The topic was brought up in the discussion.
Br's,
Marius
On Aug 25, 7:32 pm, David Pollak
wrote:
> On Tue, Aug 25, 2009 at 9:23 AM, marius d. wrote:
>
> > 1. I just pushed a little change that allows:
>
> >
> > ...
> >
>
> > 2. You can also do
David,
The action attribute is no different than class, id and target
attributes currently supported when lift is magically building the
form tag around the snippet content. My other notes inline.
Br's,
Marius
On Aug 25, 8:11 pm, David Pollak
wrote:
> On Tue, Aug 25, 2009 at 9:46 AM,
getParameter(servletContext, "db.user", "sa");
> String password = getParameter(servletContext, "db.password",
> "sa");
>
> conn = DriverManager.getConnection(url, user, password);
> servletContext.setAttribute(&
On Aug 25, 9:26 pm, David Pollak
wrote:
> On Tue, Aug 25, 2009 at 11:09 AM, marius d. wrote:
>
> > David,
>
> > The action attribute is no different than class, id and target
> > attributes currently supported when lift is magically building the
> > form t
Marius
On Aug 25, 9:44 pm, Naftoli Gugenheim wrote:
> On Tue, Aug 25, 2009 at 2:29 PM, marius d. wrote:
>
> > So you need access attributes not to context params (which are only
> > init params). Should be no problem abstracting over those. Give me a
> > little time.
&g
It's out :)
Br's,
Marius
On Aug 25, 9:45 pm, "marius d." wrote:
> On Aug 25, 9:26 pm, David Pollak
> wrote:
>
>
>
> > On Tue, Aug 25, 2009 at 11:09 AM, marius d. wrote:
>
> > > David,
>
> > > The action attribute is no differe
I'll take a look and get back to you. A resource is eventually read
using container's provided API (from the ServletContext.getResourceXXX
functions). The container first locates a resource from WEB-INF/
classes folder and then it looks up in the jar files.
Br's,
Marius
On Aug 26, 8:39 am, Shane
renaming sites to examples would probably be more obvious for people.
So fine by me.
About archetypes thingy that's an interesting idea. I like it.
Br's,
Marius
On Aug 26, 12:39 pm, Timothy Perrett wrote:
> Chaps,
>
> Any objections to me renaming "sites" to examples?
>
> Moreover, I want to m
Tim has a magic articles bag :)
On Aug 27, 4:20 pm, Timothy Perrett wrote:
> Checkout my article here on how to localize with Lift: http://is.gd/1NXGN
>
> Cheers, Tim
>
> On 27/08/2009 14:08, "surfman" wrote:
>
> > 3) internationalization support. how does lift support this?
--~--~-~--
I'm not sure you HTTP authentication is what your looking for. Lift
has support for both BASIC and DIGEST authentication models
(irrespective of any persistence technology) and you can grant access
based on Roles defined as a hierarchical structure.
See /examples/http-authentication application.
Why don't you use scala actors?
... and after you populate asynchronously the two lists do you need to
report the lists back to client asynchronously (say Comet) or when the
page is rendered? ... If it's the later that you'd probably need a
count-down-latch or a cyclic barrier.
Br's,
Mairus
On
to master I would appreciate it.
>
> Derek
>
> On Sat, Aug 15, 2009 at 8:02 AM, Derek Chen-Becker
> wrote:
>
> > OK, a preliminary version of log wrappers is checked in on
> > wip-dcb-sql-log-wrappers. I'll merge it on Tuesday if no one sees any
> > problems wi
Personally I'm not a fan of such feature. To me this doesn't bring
much benefits especially that snippets pretty much allow this support
such as:
...yes the wrapping tag is extra typing but still I can't find a real
problem where a custom tags solves it and snippets do now. To me this
look
if you define a set of tags for your CMS
template and you run that against Lift's templating engine how do you
prevent lift specific "tags" to be executed?
>
> Cheers, Tim
>
> On Aug 28, 5:48 pm, "marius d." wrote:
>
> > Personally I'm not a
401 - 500 of 592 matches
Mail list logo