I'm looking forward it.
On Tue, Feb 9, 2010 at 1:27 AM, James Strachan james.strac...@gmail.comwrote:
On 8 February 2010 17:16, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
I'm wicked pleased that James Strachan has joined the Lift committers.
I'm
looking forward to the
24, 6:54 am, Xuefeng Wu ben...@gmail.com wrote:
Could SiteMap authorize the editable text?
I use swappable some where and do not know how to authorize it.
On Tue, Dec 8, 2009 at 5:38 AM, Marius marius.dan...@gmail.com wrote:
I'm not really sure why you're saying that SiteMap is out
Hi,
I have a question about exception handle in Lift.
*How could I pop a error dialog except redirect?*
*
*
*Lift have LiftRules.exceptionHandler.prepend to handle exception.*
LiftRules.exceptionHandler.prepend {
case (mode, state, ex) = RedirectResponse(/error)
// how could I pop a
from the exception itself or by
some other means.
Br's,
Marius
On Dec 24, 11:15 am, Xuefeng Wu ben...@gmail.com wrote:
Hi,
I have a question about exception handle in Lift.
*How could I pop a error dialog except redirect?*
*
*
*Lift have LiftRules.exceptionHandler.prepend
Could SiteMap authorize the editable text?
I use swappable some where and do not know how to authorize it.
On Tue, Dec 8, 2009 at 5:38 AM, Marius marius.dan...@gmail.com wrote:
I'm not really sure why you're saying that SiteMap is out of the
question. Note that SiteMap does NOT equate with
You could add MetaData 'title' by Elem 's method '%'
a href=linksome page/a % (title - what will happen when you click
on this
link)
or use { }
a href=link title={myLinkTitle}some page/a
On Mon, Dec 21, 2009 at 10:38 PM, Alex Black a...@alexblack.ca wrote:
Can someone point me in the right
It's good way to handle exception.
And I think it's better that it could pop dialog to tell users what's wrong.
http://www.mail-archive.com/liftweb@googlegroups.com/msg03001.html
http://wiki.liftweb.net/index.php/HowTo_use_error_pages
On Tue, Dec 22, 2009 at 5:52 AM, Marius
If you google [yuicompressor:compress {execution: default}] would find so
many information about this.
It's not caused by scala2.8 or lift.
On Tue, Dec 22, 2009 at 9:10 AM, Alan M alan.morten...@gmail.com wrote:
I just recently started tinkering around with 2.8.. actually a recent
upgrade of
Sorry I misunderstand you.
And I do not know how to too.
Maybe you should use
lispan title=about this sitelift:Menu.item name=about//span/li
instead of lift:Menu.builder /
On Tue, Dec 22, 2009 at 11:29 AM, Alex Black a...@alexblack.ca wrote:
Hi Xuefeng,
I'm using the default Lift Sitemap,
Why not release Lift2.0 with Scala2.8?
On Mon, Dec 21, 2009 at 3:34 AM, Indrajit Raychaudhuri
indraj...@gmail.comwrote:
Okay Folks,
Lift 2.0 branch has shaped up enough for everybody to play with.
Checkout the branch irc_wip_lift20 and get going! Just be aware that
it's still undergoing
what's the
different between Lift2.0 and Lift1.1?
On Mon, Dec 21, 2009 at 9:31 AM, Randinn rand...@gmail.com wrote:
Why not with 2.8 just going to beta 2.0 my estimation is that 2.0 will
be finished before
On Dec 21, 12:03 pm, Xuefeng Wu ben...@gmail.com wrote:
Why not release Lift2.0
at this thread:
http://groups.google.com/group/liftweb/browse_thread/thread/479edef7700ccce6
.
Cheers, Indrajit
On 21/12/09 8:22 AM, Xuefeng Wu wrote:
I mean that lift1.1 and lift2.0 may have the same futures,
But lift1.1 is for Scala2.7 and lift2.0 is for Scala2.8.
With Scala2.8 stable
, Dec 3, 2009 at 12:40 AM, Xuefeng Wu ben...@gmail.com wrote:
Hi,
When I use ModalDialog I want to setup the css but fail,
My code would be:
ModalDialog(someHtml, top: '10px')
I found the ModalDialog code at Lift:
class ModalDialog(html: NodeSeq, css: Box[String]) extends JsCmd {
val
OK, I found the JsObj is useful, Thanks.
On Thu, Dec 17, 2009 at 5:28 PM, Xuefeng Wu ben...@gmail.com wrote:
Hi Alex,
I found new ModalDialog(html: NodeSeq, css: Box[JsObj]),
the parameter 'css' type is JsObj instead of String.
Could you tell me the reason?
I'm working on a customer
): A = buildFromJson(parse
(json).asInstanceOf[JObject])
Cheers Joni
On 16 joulu, 09:03, Xuefeng Wu ben...@gmail.com wrote:
Hi,
I add two method to en/decode JObject/String
def encodeAsJsonString(in: A): String =
Printer.compact(JsonAST.render(encodeAsJson(in)))
def buildFromJsonString(json
anyone will add the source.jar?
On Wed, Dec 16, 2009 at 3:33 AM, Jim McBeath goo...@j.jimmc.org wrote:
It looks like the source jars are missing from the M8 repository, at
least for some of the libraries (for example,
http://scala-tools.org/repo-releases/net/liftweb/lift-util/1.1-M8/).
Are
Hi,
I store the lift model to json, but cannot revert json to lift model, any
idea?
For example:
My model:
class Book extends LongKeyedMapper[Book] with IdPK{
def getSingleton = Book
object name extends MappedPoliteString(this, 125)
object desc extends MappedTextarea(this, 1320)
}
Hi,
I add two method to en/decode JObject/String
def encodeAsJsonString(in: A): String =
Printer.compact(JsonAST.render(encodeAsJson(in)))
def buildFromJsonString(json: String): A =
buildFromJson(JsonParser.parse(json).asInstanceOf[JsonAST.JObject])
Do there have better way?
On Thu, Dec 3,
I write a CAS SSO proxy, it's so easy if anyone read this article
http://www.ja-sig.org/wiki/display/CAS/Proxy+CAS+Walkthroughand It's java
way for lack of IO in Scala.
On Tue, Dec 1, 2009 at 9:18 AM, Xuefeng Wu ben...@gmail.com wrote:
Thank you for your reply and I will try.
On Mon, Nov 30
.
- Philippe
On Tue, Dec 8, 2009 at 2:26 PM, Xuefeng Wu ben...@gmail.com wrote:
I think It's better I could configure it, but not code every where.
On Tue, Dec 8, 2009 at 9:23 PM, Marius marius.dan...@gmail.com wrote:
Yes you need to send down fadeOut... call
def myFunc: JsCmd
down fadeOut... call
def myFunc: JsCmd = {
// do some DB stuff
vmyMapper.validate match {
case Nil = Noop
case xs = S.error(xs); fadeOutErrors(5 seconds, 1 second)
}
}
On Dec 8, 3:01 pm, Xuefeng Wu ben...@gmail.com wrote:
Yes, I do something like
// do the DB stuff
...@gmail.com
wrote:
On Mon, Dec 7, 2009 at 9:14 PM, Xuefeng Wu ben...@gmail.com wrote:
Hi David Ross,
Thank you for your help,
I understand RequestVar now, which muse be used in the same request.
My case is that I have a tree and a separate button.
When use click the tree node, the separate
That's great!
Thank you for your help.
On Thu, Dec 10, 2009 at 11:06 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Wed, Dec 9, 2009 at 5:35 PM, Xuefeng Wu ben...@gmail.com wrote:
doCompetenceB render a button which user click and will pop a dialog for
create a competence
, 1 second)
}
Br's,
Marius
On Dec 8, 10:53 am, Xuefeng Wu ben...@gmail.com wrote:
But I use field validate, the notice and error are wrap by lift. Should I
append fadeOutErrors(5 seconds, 1 second)?
On Tue, Dec 8, 2009 at 4:50 PM, Marius marius.dan...@gmail.com wrote:
You don't
= S.error(xs); fadeOutErrors(5 seconds, 1 second)
}
}
On Dec 8, 3:01 pm, Xuefeng Wu ben...@gmail.com wrote:
Yes, I do something like
// do the DB stuff
vmyMapper.validate match {
case Nil =
case xs = S.error(xs)
}
But I should always add fadeOutErrors(5 seconds, 1 second)?
I
That's great!
What's more,
I'm not sure whether every model need
creator/createDate,lastUpdator/lastUpdateDate?
I want to have a Action Log, which could record user activities.
Any model change history or change object could restore from action log
Did any one do something about this?
On Wed,
Hi David,
Thank you for your reply.
On Mon, Dec 7, 2009 at 2:27 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
On Sun, Dec 6, 2009 at 10:21 PM, Xuefeng Wu ben...@gmail.com wrote:
Hi,
I always find the information from console: seeing JVM BUG(s) -
cancelling interestOps==0
Hi ,
When I use RequestVar get the message: RequestVar ... was set but not
read
My code like this:
object MyMgr {
...
Loc.Snippet(myFoo,myFoo)
...
object myId extends RequestVar[Long](0)
def myFoo(xhtml: NodeSeq): NodeSeq = {
def selectNode = {
, or code
refactoring that made it unused, or something.)
I think it'll go away if you access the variable somewhere using myId.is.
-Ross
On Dec 7, 2009, at 9:02 PM, Xuefeng Wu wrote:
Hi ,
When I use RequestVar get the message: RequestVar ... was set but not
read
My code like this:
object
myId.is did
the log message go away? If not, could you post your code?
-Ross
On Dec 7, 2009, at 9:39 PM, Xuefeng Wu wrote:
I use myId.is but get nothing.
I don't know what I could do with the information.
On Tue, Dec 8, 2009 at 10:19 AM, Ross Mellgren dri...@gmail.com wrote:
I think
is called.
If you are still getting the message, then that should mean that you are
not calling myVar.is in the same request.
HTH,
-Ross
On Dec 7, 2009, at 10:28 PM, Xuefeng Wu wrote:
My code :
object CompetenceMgr {
Menu(Loc(Competence, List(competence, index), S.?(Competence
My current solution is that when user select a tree node, I replace the add
button dependence on the node.
2009/12/8 Xuefeng Wu ben...@gmail.com
Hi Ross,
Yes it's not in the same request.
My case is:
When user select a tree node, I want to store this nodeId and If user click
a button
use click the tree node and it
worked.
I don't want to use session and I think it's better not replace the button.
But I don't have idea how to do.
On Tue, Dec 8, 2009 at 12:49 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Dec 7, 2009 at 8:46 PM, Xuefeng Wu ben...@gmail.com
6:30 p.m. the time zone is -8:00?
On Tue, Dec 8, 2009 at 12:58 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Dec 7, 2009 at 8:50 PM, Mateo Barraza mateo.barr...@gmail.comwrote:
I can't seem to be able to download the talk. Anyone else having problems?
Yeah... n8han's
Hi,
I want to highlight the lift notice and it will hide when timeout.
Should I code every request or only to config lift some where?
For example:
When use put items into the shopping cart, highlight the items some seconds
to notice the user.
--
Scala中文社区:
are using Ajax, notices could easily fade out.
Br's,
Marius
On Dec 8, 8:02 am, Xuefeng Wu ben...@gmail.com wrote:
Hi,
I want to highlight the lift notice and it will hide when timeout.
Should I code every request or only to config lift some where?
For example:
When use put items
Hi,
I always find the information from console: seeing JVM BUG(s) - cancelling
interestOps==0
What's the reason?
I use jetty 6.1.21, and I'm afraid it will cause serious error if I deploy
the liftweb app in IBM WAS(WebSphere App Server)
--
Scala中文社区: http://groups.google.com/group/scalacn
Hi,
When I use ModalDialog I want to setup the css but fail,
My code would be:
ModalDialog(someHtml, top: '10px')
I found the ModalDialog code at Lift:
class ModalDialog(html: NodeSeq, css: Box[String]) extends JsCmd {
val toJsCmd = jQuery.blockUI({ message: +
http://github.com/dpp/liftweb/issues/#issue/218
Thanks
On Thu, Dec 3, 2009 at 10:37 PM, Alex Boisvert alex.boisv...@gmail.comwrote:
On Thu, Dec 3, 2009 at 12:40 AM, Xuefeng Wu ben...@gmail.com wrote:
Hi,
When I use ModalDialog I want to setup the css but fail,
My code would
be too difficult to implement
within your own application.
Cheers, Tim
On Nov 30, 7:41 am, Xuefeng Wu ben...@gmail.com wrote:
Such ashttp://code.google.com/p/rubycas-client/This CAS client library
is
designed to work easily with Rails.
I need a CAS SSO library with Rails.
Thanks
On 28 Nov 2009, at 03:20, Xuefeng Wu wrote:
Did anyone try to integrate with SSO?
On Sat, Nov 28, 2009 at 12:37 AM, Marcin Jurczuk mjurc...@gmail.com
wrote:
That is amazing :)
Probably I will need to bind to AD in near future, so this module is
like fallen from heavens :)
On 27
Did anyone try to integrate with SSO?
On Sat, Nov 28, 2009 at 12:37 AM, Marcin Jurczuk mjurc...@gmail.com wrote:
That is amazing :)
Probably I will need to bind to AD in near future, so this module is
like fallen from heavens :)
On 27 Lis, 15:11, TylerWeir tyler.w...@gmail.com wrote:
Hello,
I'm working on lift testkit 1.1-M7 and want to write unit test.
I didn't find ReportFailure, TestKit at testing but found TestRunner
when use TestFramework.
I think it's interesting for mocking DB and web server, but I couldn't
find any help.
Could anyone explain it and give a demo how
Jetty is the better if you use Comet which support jetty with
Continuations.
On Fri, Nov 20, 2009 at 9:35 AM, Neil.Lv anim...@gmail.com wrote:
Hi all,
I have a silly question about the deploy.
Which web container is recommended to use to deploy the Lift app ?
Jetty or Tomcat ?
I want
awesome,
There's no flash?
On Nov 11, 2:14 pm, David LaPalomento dlapalome...@gmail.com wrote:
I'm glad to hear you like what you've seen so far with Pulse! I don't
think we could do half the stuff we're doing without Lift backing us
up. Stay tuned, we'll have more than a video to share
Sorry, Could you demo this?
On Oct 30, 3:10 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Xuefeng Wu ben...@gmail.com writes:
Or can I register ajax event at server side?
On Oct 30, 10:24 am, Xuefeng Wu ben...@gmail.com wrote:
Hi,
There're many ajax* control in SHtml
wrote:
Xuefeng Wu ben...@gmail.com writes:
Or can I register ajax event at server side?
On Oct 30, 10:24 am, Xuefeng Wu ben...@gmail.com wrote:
Hi,
There're many ajax* control in SHtml such as ajaxButton and they can
call server function by 'liftAjax.lift_ajaxHandler
...@ingolfs.dk wrote:
Xuefeng Wu ben...@gmail.com writes:
Or can I register ajax event at server side?
On Oct 30, 10:24 am, Xuefeng Wu ben...@gmail.com wrote:
Hi,
There're many ajax* control in SHtml such as ajaxButton and they can
call server function by 'liftAjax.lift_ajaxHandler
Thank you Jeppe,
It's great.
On Oct 31, 3:28 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Xuefeng Wu ben...@gmail.com writes:
I want call function on the server side form client.
such as:
HTML client:
$.(#myLink).click(function{
//call server function
});
Server side
Hi,
There're many ajax* control in SHtml such as ajaxButton and they can
call server function by 'liftAjax.lift_ajaxHandler
(F900890988391MRF=true, null, null, null); return false;' directly.
My question is that how could I call server 'ajax' function by my ajax
code? How could I know the
Menu(Loc(addBk2, List(edit_book), Edit book 2, Hidden,
IfLoggedIn)) :: // Doesn't work
Hidden and ifLoggedIn are LocParam, I guess switch them and you could
get you want.
change to:
Menu(Loc(addBk2, List(edit_book), Edit book 2, IfLoggedIn,
Hidden)) ::
On Oct 30, 9:40 am, Neil.Lv
Or can I register ajax event at server side?
On Oct 30, 10:24 am, Xuefeng Wu ben...@gmail.com wrote:
Hi,
There're many ajax* control in SHtml such as ajaxButton and they can
call server function by 'liftAjax.lift_ajaxHandler
(F900890988391MRF=true, null, null, null); return false
Hello,
I create now lift project from M6 and find
DependencyFactory.inject[Date] in HelloWorld.scala, but it don't work.
I can not find the date at page, did I miss something?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
53 matches
Mail list logo