Hello,
I'm having some trouble generating a link basing on a Loc.
My original use-case is to redirect the user to a login page if the user is
not logged in. I found a wiki on this and it says there to simply redirect to
/user_mgt/login, however I think it would be much nicer if I could
Hello,
I'm wondering if it is possible to use optgroup tag with SHtml.select ?
If not, what would be the best way to use them ?
--
Francois ARMAND
http://fanf42.blogspot.com
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send
i download the 280_port_refresh version code, and excuted mvn
install got a sucess.
but when i tried to run the examples/hellolift using jetty:run, i
visited the localhost:8080 and got a 404 error. can somebody tell me
how can make 280_port_refresh version work correct?
On Jan 25, 7:17 pm, David
This does exactly what I wanted. Thank you, and AttrBindParam is even
not mentioned in the Lift book. I found this post usefull:
http://www.mail-archive.com/liftweb@googlegroups.com/msg14476.html
On Jan 25, 10:30 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
If you want to put a url bound to
My code is a variation of the Chat sample code. To me, the material
change is the fact that I am running this on Tomcat (6.0.20). I have
never seen this behavior using Jetty (mvn jetty:run) and it isn't
really load related because I am the only user (possibly with two
browser windows).
--
You
We can make fixes to the 1.0.x branch for you, but I am reluctant to make
changes to the 1.0 version.
Very understandable. We'll just bump up to the 1.0.2 release. That
jump has been on the back burner for a while, so it's good to get an
excuse to push it through. :-)
You might look into
On Tue, Jan 26, 2010 at 7:20 AM, aw anth...@whitford.com wrote:
My code is a variation of the Chat sample code. To me, the material
change is the fact that I am running this on Tomcat (6.0.20). I have
never seen this behavior using Jetty (mvn jetty:run) and it isn't
really load related
On Tue, Jan 26, 2010 at 4:53 AM, XiaomingZheng xiaomingzhen...@gmail.comwrote:
i download the 280_port_refresh version code, and excuted mvn
install got a sucess.
but when i tried to run the examples/hellolift using jetty:run, i
visited the localhost:8080 and got a 404 error. can somebody
On Mon, Jan 25, 2010 at 11:29 PM, aw anth...@whitford.com wrote:
Can you define freeze? Is that the Java process stops for a short
period
of time (~1 second)? A long period of time (many minutes)? Until you
restart the Java process? What does the CPU utilization look like? Is
the
Did you see any error in the console?
-
XiaomingZhengxiaomingzhen...@gmail.com wrote:
i download the 280_port_refresh version code, and excuted mvn
install got a sucess.
but when i tried to run the examples/hellolift using jetty:run, i
visited the
On Tue, Jan 26, 2010 at 3:40 AM, Francois fan...@gmail.com wrote:
Hello,
I'm wondering if it is possible to use optgroup tag with SHtml.select ?
It's not possible today. Do you have an idea of what the API should look
like?
If not, what would be the best way to use them ?
--
a href={myLoc.createDefaultLink}Foo/a
In Scala, if the attribute is an Option[NodeSeq] and it is None, the
attribute will not be included where if it's Some(Text(/foo/bar)) it will
be included. Thus the choice of Option rather than Box and the choice of
NodeSeq rather than String.
In terms of
Folks,
We switched to GitHub's ticketing system a bunch of months ago and, well,
it's not making the grade. It's slow. It's limited (no unclosing tickets,
no attachments, weak discussion capaibilities). It doesn't allow easy
planning/prioritization.
I'd like to switch to something more
Forgot to send this to the list earlier, I published a template project,
http://github.com/aboisvert/lift-template
which I use as basis for building Lift projects. (Haven't updated to
2.0-SNAPSHOT yet but should only be a matter of changing a few version
numbers).
alex
On Fri, Jan 22, 2010
Freeze in terms of minutes. But sorry, I haven't timed it yet.
I stumbled across my issue again and checked the logs and the freeze
is apparently 522 seconds:
09:31:41.124 INFO [http-8080-exec-8] lift [Slf4jLogger.scala:110] -
Service req
uest (GET) /mobile/mypage/ took 522397 Milliseconds
For this you can use loc.link.createPath. I use something similar in
my codebase. This has a little cruft you may not be precisely
interested in, but if you look at the link and flink methods, you
should be able to get an idea of how to use the Loc.Link:
class Path(val elems: List[String])
I wholeheartedly agree. I'd also wish we could use Derek's stuff but I
heaven't heard of it in a while and I know Derek currently has some
other stuff to do. I'm not sure if someone else took it over but no
news yet.
So unless someone has really good news about Derek's stuff Asssmbla
sounds
David Pollak feeder.of.the.be...@gmail.com writes:
Folks,
We switched to GitHub's ticketing system a bunch of months ago and, well,
it's not making the grade. It's slow. It's limited (no unclosing tickets,
no attachments, weak discussion capaibilities). It doesn't allow easy
Hi,
Has anyone done extensive lift testing with jQuery 1.4.1? My very brief test
seems to indicate that things still work as expected, but I'm not doing
anything with comet.
http://jquery14.com/day-01/jquery-14
Should lift 2.0 upgrade?
- Jon
--
You received this message because you are
Hi,
I'm looking at http://github.com/dpp/liftweb/issues#issue/155 and have a
few ideas that I thought I would run by the list
Here's how I think naming is currently handled (I've only looked at
fields, my guess is tables are/should be similar):
- name: always the object name lowercased. Cannot
I think it would be a *major* wasted opportunity not to invest in LiftTicket.
It would be an excellent real life showcase of Lift. And of course it wouldn't
make sense to switch to Assembla only temporarily.
In addition, after all the work Derek put into it, it would be sad not to use
it.
Derek
Hi,
so far I have been a passive reader of this group. Lift is just a (very)
smal time project, but I like it a lot! Anyways:
We switched to GitHub's ticketing system a bunch of months ago and, well,
it's not making the grade. It's slow. It's limited (no unclosing tickets,
no attachments,
Le 26/01/2010 18:25, David Pollak a écrit :
It's not possible today. Do you have an idea of what the API should
look like?
I believe that a simple select with a Seq[(String, Seq[(T,String)])]
could be sufficient.
On the other hand, there is already a lot of selectbox related methods
in
Which method doesn't let you pass attributes?
-
Francoisfan...@gmail.com wrote:
Le 26/01/2010 18:25, David Pollak a écrit :
It's not possible today. Do you have an idea of what the API should
look like?
I believe that a simple select with a Seq[(String,
On Tue, Jan 26, 2010 at 11:12 AM, Naftoli Gugenheim naftoli...@gmail.comwrote:
I think it would be a *major* wasted opportunity not to invest in
LiftTicket.
I agree.
It would be an excellent real life showcase of Lift. And of course it
wouldn't make sense to switch to Assembla only
We used Lighthouse briefly and it was a seriously suboptimal user experience
for me and others... thus the switch to GitHub.
:)
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To
I'm all for making the change. Now is a good time... it will give us a
week+ of testing before M2.
On Tue, Jan 26, 2010 at 11:03 AM, Jonathan Hoffman jonhoff...@gmail.comwrote:
Hi,
Has anyone done extensive lift testing with jQuery 1.4.1? My very brief
test seems to indicate that things
Folks,
I'm rooting around in Lift/Jetty code to try to create a heartbeat system.
I'm going to post random notes as I learn things... kinda stream of
consciousness.
We're not the only ones that care:
Hello,
For this you can use loc.link.createPath. I use something similar in
my codebase. This has a little cruft you may not be precisely
interested in, but if you look at the link and flink methods, you
should be able to get an idea of how to use the Loc.Link:
I'm using Link in a similar
On Tue, Jan 26, 2010 at 12:17 PM, Adam Warski a...@warski.org wrote:
Hello,
For this you can use loc.link.createPath. I use something similar in
my codebase. This has a little cruft you may not be precisely
interested in, but if you look at the link and flink methods, you
should be able
Okay... I've done this checkin:
http://github.com/dpp/liftweb/commit/be575ea2ceb6510c17b905e12b2d9b22db892d37
It adds a heartbeat function to LiftRules for Comet-enabled containers (read
Jetty). There's a modification to the examples code to demonstrate it.
On my local box, it worked fine.
Le 26/01/2010 20:40, Naftoli Gugenheim a écrit :
Which method doesn't let you pass attributes?
All select methods do have an attrs:(String,String)* parameter, but as
far as I understand, attributes are applied to the select, not to
option tag, and sometime I really would like to be able to
For anyone who wants to give LiftTicket a spin:
Download it from www.github.com/dchenbecker/LiftTicket
Extract it into a directory and open a command prompt or shell there
mvn -Dorg.liftticket.config.masterpass=xxx jetty:run
Open a browser to http://localhost:8080/config/initial and enter your
Why not a proven workhorse in this arena, such as JIRA by Atlassian ?
It's FREE for Open Source Projects, and as a bonus you'd probably get
more widespread appeal from Java / Scala development camps.
2cents,
Thad
On Jan 26, 11:46 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
We
On Tue, Jan 26, 2010 at 1:17 PM, Thad thadgui...@gmail.com wrote:
Why not a proven workhorse in this arena, such as JIRA by Atlassian ?
It's FREE for Open Source Projects, and as a bonus you'd probably get
more widespread appeal from Java / Scala development camps.
Personally, I think Jira's
Hi all,
Somebody please help on this..
Before I save the Mapper object back to database, I need to check if
one of the mapped field changed; if changed, I need trigger another
database call(create a new entry in a history table). What is the
best way doing it? Do I have to override
MappedField.dirty_? -- was the field changed?
MappedField.is -- the current value
MappedField.was -- the value pulled from the DB
On Tue, Jan 26, 2010 at 1:37 PM, Gang wangga...@gmail.com wrote:
Hi all,
Somebody please help on this..
Before I save the Mapper object back to database, I
accunote have got (IMHO) one of the best web GUI to manage tickets, I saw.
http://www.acunote.com/promo
(also provide full access for OSS)
But to the job with a LiftTicket should be a better match (for current
and futur need).
Sorry no time to work on.
/davidB
On Tue, Jan 26, 2010 at 22:30,
You can mix in LifecycleCallbacks to the field and override beforeSave there,
if you prefer. Someone correct me if I'm wrong, but I think beforeSave is
called before it is known if save will fail. And in afterSave I don't know what
'dirty_?' and 'was' are set to. So you may possibly want to
On Tue, Jan 26, 2010 at 1:17 PM, Adam Warski a...@warski.org wrote:
Hello,
For this you can use loc.link.createPath. I use something similar in
my codebase. This has a little cruft you may not be precisely
interested in, but if you look at the link and flink methods, you
should be able to
I just pushed out the change.
Those of you getting jquery from /classpath.jquery.js will get the upgrade
going forward, but I suspect a lot of you are using the google CDN, so you
should bump up your version and verify that things still work.
- Jon
On Jan 26, 2010, at 2:47 PM, David Pollak
Hi,
I'm reading the lift book about forms, and in reference to this code:
def add (xhtml : NodeSeq) : NodeSeq = {
var desc =
var amount = 0
def processEntryAdd () { ... }
bind(entry, xhtml,
description - SHtml.text(desc, desc = _),
amount - SHtml.text(amount, amount = _),
submit -
Hi,
I have a silly question about the http package.
What's the package should be imported when using the dispatch?
I try this code of the wiki, and get this error.
error: not found: value http
### I have import the dispatch package, and where is the http ?
import dispatch._
###
Thanks, I have found it here,
http://dispatch.databinder.net/Stdout_Walkthrough
I have imported the Http package and it works now,
###
import Http._
###
Thanks again, this article is very helpful.
Cheers,
Neil
On Jan 27, 9:57 am, Neil.Lv anim...@gmail.com wrote:
Hi,
I have a
I'm having a hard time getting this working. I want to create a search
box with a submit button that redirects to the page /search?q=
{query}. The code I have does not do anything when I click the submit
button. Any help would be appreciated. Thanks!
**html**
lift:Search
Search:
Looks like you forgot to add form=POST as an attribute to your snippet call.
Without this, the form tag does not get generated.
That is, change lift:Search to lift:Search form=POST and I think it
should start working.
-Ross
On Jan 27, 2010, at 1:24 AM, Strom wrote:
I'm having a hard time
What worst case scenario are you afraid of happening using LiftTicket?
-
Heiko Seebergerheiko.seeber...@googlemail.com wrote:
2010/1/26 David Pollak feeder.of.the.be...@gmail.com
Folks,
We switched to GitHub's ticketing system a bunch of months ago and,
Hi,
I've seen a couple of posts in the past which are somewhat relevant
to my question but have not found an answer.
I'm trying to use Mapper (in 2.0) with a previously existing database
schema on oracle and I'm having a problem with how MetaMapper expects
the long primary key to be setup.
48 matches
Mail list logo