XiaomingZheng writes:
> it works~~~thank u!
> but i read the lift source code, the framework searches "/props/" and
> "/" dirs, how can this framework find props files in resource dir?
The "/props" and "/" dirs are classpath locations. When building maven will, by
default, take everything in th
On Sep 15, 11:44 pm, David Pollak
wrote:
> On Tue, Sep 15, 2009 at 8:28 PM, Ike wrote:
>
> > Hi all,
>
> > I've seen in a couple of posts here that I can just update the
> > corresponding dependencies in the POM and get the updated libraries. I
> > did this for both the Lift libs (1.0 -> 1.0.2)
Right ... the head method should not have the js script but did you
include the jlift.js script in your default template?
I'll build an example this week (when I'll find some time for it) and
see if I'm running into the same problems as you are. If you somehow
manage to fix it please let me know.
On Tue, Sep 15, 2009 at 11:44 PM, David Pollak
wrote:
> Lift (1.1-X and 1.0.1/1.0.2) is compiled against Scala 2.7.5 This is the
> version you should be using.
> Do not upgrade to 2.7.6 2.7.6 is a broken release.
can you expand on that? Do you mean 2.7.6 is a broken release for using it
with l
On Tue, Sep 15, 2009 at 8:28 PM, Ike wrote:
>
> Hi all,
>
> I've seen in a couple of posts here that I can just update the
> corresponding dependencies in the POM and get the updated libraries. I
> did this for both the Lift libs (1.0 -> 1.0.2) and the Scala lib
> (2.7.5 -> 2.7.6).
Lift (1.1-X
Folks,
Do not change your version to Scala 2.7.6. 2.7.6 is broken (it will not
compile Lift). Just stick with 2.7.5.
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git s
Hi all,
I've seen in a couple of posts here that I can just update the
corresponding dependencies in the POM and get the updated libraries. I
did this for both the Lift libs (1.0 -> 1.0.2) and the Scala lib
(2.7.5 -> 2.7.6). Although Maven did download the new libraries now
I'm seeing the followi
it works~~~thank u!
but i read the lift source code, the framework searches "/props/" and
"/" dirs, how can this framework find props files in resource dir?
On Sep 15, 6:20 pm, Jeppe Nejsum Madsen wrote:
> XiaomingZheng writes:
> > i wanted to use a property file and put a file named default.pr
> http://reviewboard.liftweb.net/r/5/
Thanks!
-harryh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send
This worked perfectly thank you.
-Dave
On Sep 13, 2:33 pm, Indrajit Raychaudhuri wrote:
> David,
>
> 1. Lift includes jquery-1.3.2, just do:
>
> and your done.
>
> 2. For the other stuff:
>
> a. Put the files in src/main/resources/toserve/ui (e.g., src/main/
> resources/toserve/ui/ui.tabs.js)
David Pollak wrote:
> The existing page/URL level security has nothing to do with Mapper.
> There's nothing that can be done with Mapper that can't be done with
> JPA (with the exception of Mapper's field-level access control which, to
> my knowledge, is not being used anywhere.)
I meant that
I don't see any thing obviously wrong in the facebook package's method
def genSignature(allParams: List[(String, Any)], secret: String).
Wish I did!
-Keith
On Sep 15, 3:34 pm, Keith K wrote:
> Hello,
>
> I am able to get a certain distance, to the point where FB gives me
> back an authToken.
One more data point. For the following code using the facebook api:
{{{
println("FacebookRestApi.apiKey = " + FacebookRestApi.apiKey);
val respNode: Node = FacebookClient !? AuthCreateToken;
val authToken = respNode.text;
println("authToken = " + authToken);
http://reviewboard.liftweb.net/r/5/
On Tue, Sep 15, 2009 at 4:22 PM, harryh wrote:
>
> Neither of the ajaxText methods take attrs: (String, String)*
>
> The private ajaxText_* does, but the public methods don't.
>
> -harryh
>
> >
>
--
Lift, the simply functional web framework http://liftweb.n
On Tue, Sep 15, 2009 at 2:12 PM, Charles F. Munat wrote:
>
> Whew. You had me worried.
>
> The current Lift system works with Mapper.
The existing page/URL level security has nothing to do with Mapper. There's
nothing that can be done with Mapper that can't be done with JPA (with the
exception
Neither of the ajaxText methods take attrs: (String, String)*
The private ajaxText_* does, but the public methods don't.
-harryh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group,
But, the head method does add the javascript to the page, so no src
attribute is needed, right?
On Sep 15, 3:59 pm, "marius d." wrote:
> Where is the head function in your code ?
>
> Here is an example:
>
> def head = {Script(json.jsCmd)}
>
> Br's,
> Marius
>
> On Sep 15, 5:55 pm, "marius d."
Ahh...
This function is not in the code. I did not see it in the Lift book.
It seems
I'm missing the classpath for the javascript file.
The book has it as:
def head = {Script(json.jsCmd)} with no src="/classpath"
Could that be the culprit?
Glenn
On Sep 15, 3:59 pm, "marius d." wrote:
> Wh
Derek,
There are no errors in firebug and the Ajax request is being sent.
In fact, if I put a simple Log.info line in the handler constructor,
like so:
object json extends JsonHandler {
Lof.info("You are now in the JsonHandler...")
def apply(in: Any): JsCmd =
Where is the head function in your code ?
Here is an example:
def head = {Script(json.jsCmd)}
Br's,
Marius
On Sep 15, 5:55 pm, "marius d." wrote:
> Do you see any errors in FireBug ? ... Do see the Ajax request being
> send out in FireBug?
>
> On Sep 15, 5:49 pm, glenn wrote:
>
> > Derek,
>
Do you see any errors in FireBug ? ... Do see the Ajax request being
send out in FireBug?
On Sep 15, 5:49 pm, glenn wrote:
> Derek,
>
> Here is the template. Just as in the book.
>
>
>
>
>
>
>
>
>
>
>
>
>
> Volvo
> Saab
> Opel
> Audi
>
> Submit
>
>
>
>
> And here is my JSONForm
Derek,
Here is the template. Just as in the book.
Volvo
Saab
Opel
Audi
Submit
And here is my JSONForm class:
class JSONForm {
def head = {Script(json.jsCmd)}
def show(html: Group): NodeSeq = {
json.jsCmd
SHtml.jsonForm(json, html)
}
object json extends
Maybe this would help ?
http://wiki.liftweb.net/index.php/HowTo_use_JSON_forms
This definitely worked but I haven't tested in a while. Also the lift
book example was tested before putting it in the book. If there is
indeed a lift problem I'd be happy to correct it ASAP.
Br's,
Marius
On Sep 15,
Hello,
I am able to get a certain distance, to the point where FB gives me
back an authToken. Here is my code.
println("FacebookRestApi.apiKey = " + FacebookRestApi.apiKey);
val respNode: Node = FacebookClient !? (AuthCreateToken);
val authToken = respNode.text;
My understanding is that although Record is being designed to have different
"driver" backends, one of the drivers will be something that utilizes a lot
of the existing Mapper framework.
Derek
On Tue, Sep 15, 2009 at 4:27 PM, Randinn wrote:
>
> I was wondering if the plan is to move to record e
I was wondering if the plan is to move to record eventually why is
there improvements being made to mapper? Are they only debugging
changes?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to thi
Thanks I'll give that a go.
On Sep 15, 10:03 pm, Derek Chen-Becker wrote:
> See this post for some examples:
>
> http://groups.google.com/group/liftweb/browse_thread/thread/36b9080de...
>
>
>
> On Tue, Sep 15, 2009 at 2:43 PM, Ewan wrote:
>
> > The culprit from Boot.scala line 70...
>
> > DB
Whew. You had me worried.
The current Lift system works with Mapper. If you're using JPA you
pretty much have to roll your own. Even with the Mapper version, plenty
of work is involved. So I agree, this is an area where it would be nice
to have something ready to go for folks who just need by-
See this post for some examples:
http://groups.google.com/group/liftweb/browse_thread/thread/36b9080ded72d6e5/5bd8adbec03a4f83?lnk=gst&q=ANNOUNCE#5bd8adbec03a4f83
On Tue, Sep 15, 2009 at 2:43 PM, Ewan wrote:
>
> The culprit from Boot.scala line 70...
>
>DB.addLogFunc((query, time) => Log.in
I believe Jorge did the original implementation.
I'm not sure if anyone else is using it.
I'd suggest starting on your own app and post when you hit a stumbling
block. Someone on the list will take a look.
On Sep 15, 4:46 pm, Keith K wrote:
> Hello,
>
> Are there any code examples that use
Hello,
Are there any code examples that use the Lift Facebook package? I
encountered one in the Lift Book, but it is incomplete. I have spent
a lot of time searching, but am only able to find the implementation
of it, not any unit test or some sample code to set up a session,
facebook client, e
The culprit from Boot.scala line 70...
DB.addLogFunc((query, time) => Log.info(query+": "+time+"ms"))
What do I need to change this for the updated SQL logging you added?
thx
-- Ewan
On Sep 15, 8:56 pm, Derek Chen-Becker wrote:
> If it still happens for you, please send me your Boot.scal
This is a known problem - Derek origionally created that archetype but
we recently made some breaking changes in HEAD. I think the buck is
currently living on my door for the maven process stuff so to that
end, I'll try to check-in a change tomorrow that should address this
for you.
Cheer
We'll be rebooting the server that hosts scala-tools.org tonight at 11pm
Mountain Time (GMT-6) for maintenance. It should only be down for 5-10
minutes.
Derek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" gr
I'm trying to use mvn to grab and build lift-archetype-jpa-basic.
When I do so (using the mvn command from The Lift Book) I find that
the scala.version property is set to ${scala.version} in the top level
pom.xml.
Fixing that problem and trying to mvn install I get many warnings
[clean:clean]
De
If it still happens for you, please send me your Boot.scala file, since
that's where the exception is being thrown (line 70)
Derek
On Tue, Sep 15, 2009 at 12:54 PM, Ewan wrote:
>
> Hi all
>
> I see that the SQL logging has been merged in into the 1.1-SNAPSHOT.
> I am finding on a reload the fol
No particular reason... mainly just that we'd like lift to be as full
featured as possible; as you say, your free to use whatever java libs
you want: that includes SS.
HTH :-)
Cheers, Tim
> Yet, it seems that I'm being
> discouraged from using Spring Security... is that the case, and, if so,
>
No, actually, I'm going to be using everything listed (though obviously
*either* CAS or JOSSO, not both). I have the LDAP server up and running.
I definitely want OpenIDE capability. JOSSO looks easier than CAS, but I
might be able to avoid that for a while anyway. I am using a
single-sign-on
Whilst I agree there is certainly a lot very good work in spring
security, one has to ask: what is it YOU want from it? You listed a
bunch of features there but one would imagine your not going to be
using them all.
Perhaps look at this another way - what problem do you have that you
feel spring
Please try doing "mvn -U clean install jetty:run" and see if that makes any
difference.
On Tue, Sep 15, 2009 at 11:54 AM, Ewan wrote:
>
> Hi all
>
> I see that the SQL logging has been merged in into the 1.1-SNAPSHOT.
> I am finding on a reload the following exception is logged in the
> console
The apply method should be getting called because the SHtml.json method
should register it as the handler for the form. Would you mind sending me
the code you have and I'll take a look at it? I'm pretty sure this code was
working at one point, but perhaps something has changed.
Derek
On Mon, Sep
Hi all
I see that the SQL logging has been merged in into the 1.1-SNAPSHOT.
I am finding on a reload the following exception is logged in the
console.
java.lang.ClassCastException:
net.liftweb.mapper.LoggedPreparedStatement cannot be cast to
java.lang.String
at bootstrap.liftweb.Boot$$an
Pretty much drop-in capability, integration with CAS or JOSSO for
single-sign-on, easy integration of OpenID, easy integration with
OpenLDAP, documentation (for the next developer), six years of debugging
and tweaking, and not reinventing the wheel, for a start...
Chas.
David Pollak wrote:
>
Thanks for the heads-up!
Chas.
Dano wrote:
> I recently ran into a problem where the login/logout process of my
> lift app was not working - basically redirection was not working. I
> tried different versions of FireFox (3.0, 3.5) and still the problem
> persisted. I thought it was a Lift bug,
Probably because here you've fixed the type of the list to Long,
whereas before it was List[Int] since you didn't specify "L", e.g.
instead of
val venues = Venue.findAll(ByList(Venue.id, List(1, 2, 3))) // <-- List
[Int] by default
try
val venues = Venue.findAll(ByList(Venue.id, List(1L, 2L
Though strangely enough, this compiles fine:
val ids: List[Long] = List(1,2,3)
val venues = Venue.findAll(ByList(Venue.id, ids)
Weird!
-harryh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post
val venues = Venue.findAll(ByList(Venue.id, List(1, 2, 3)))
results in the following compile error:
found : com.foursquare.model.Venue.id.type (with underlying type
object com.foursquare.model.Venue.id)
required: net.liftweb.mapper.MappedField
[AnyVal,com.foursquare.model.Venue.MapperType]
N
Thanks David.
It will mean developers can introduce lift gradually without a big
bang approach, which is what I'm trying to do.
It's quite normal to change the url-pattern on servlets/filters and
it's also unusual for a filter which acts on *.html files in the root
to override the default actio
I recently ran into a problem where the login/logout process of my
lift app was not working - basically redirection was not working. I
tried different versions of FireFox (3.0, 3.5) and still the problem
persisted. I thought it was a Lift bug, but others could not
reproduce it.
Finally, I remov
Ok Great. I will try this first thing when I get home tonight.
On Tue, Sep 15, 2009 at 11:05 AM, David Pollak <
feeder.of.the.be...@gmail.com> wrote:
>
>
> On Tue, Sep 15, 2009 at 7:18 AM, Jack Widman wrote:
>
>> I did not try it without the package statement. The class is located in
>> the snipp
I double checked it. The full package was there, I just failed to include it
in the email.
On Tue, Sep 15, 2009 at 11:12 AM, Naftoli Gugenheim wrote:
>
> I asked because the package statement didn't seem to get pasted into your
> email with the rest of your code, and I've had times that I tracked
On Tue, Sep 15, 2009 at 7:18 AM, Jack Widman wrote:
> I did not try it without the package statement. The class is located in the
> snippet folder. It was just pointed out to me that it must be in the comet
> folder.
Actually, it doesn't matter what folder it's in, but the package my be
specifi
On Tue, Sep 15, 2009 at 1:57 AM, tonyc wrote:
>
> I'm considering lift for an alternative web framework but need to
> maintain a whole bunch of servlets / filters that already live in my
> web.xml.
>
> This is the closest thread to this subject so I thought I'd post here.
>
> I'm trying to get th
I asked because the package statement didn't seem to get pasted into your email
with the rest of your code, and I've had times that I tracked down errors to an
incorrect package statement. In Java, if a package statement doesn't correspond
to a file's containing folder it's an error, but in Sca
What does Spring security give you that you can't get with SiteMap for HTML
pages and guards or wrappers around partial functions for non-HTML?
On Mon, Sep 14, 2009 at 11:34 PM, Charles F. Munat wrote:
>
> Has anyone tried using Spring Security (formerly Acegi) in Lift?
>
> If so, care to commen
No. Please open a ticket at http://github.com/dpp/liftweb/issues
On Mon, Sep 14, 2009 at 11:40 PM, jon wrote:
>
> Is this ok?
>
> $ curl -I demo.liftweb.net
> HTTP/1.1 200 OK
> Server: nginx/0.6.32
> Date: Tue, 15 Sep 2009 06:37:32 GMT
> Content-Type: text/html; charset=utf-8
> Connection: keep
I did not try it without the package statement. The class is located in the
snippet folder. It was just pointed out to me that it must be in the comet
folder.
On Tue, Sep 15, 2009 at 10:15 AM, Naftoli Gugenheim wrote:
>
> Did you leave out the package statement? Where is the .class file
> outputt
Did you leave out the package statement? Where is the .class file outputted?
I think the browser is complaining that the error message xml has an unbound
prefix.
-
Jack Widman wrote:
And here is the error again:
Error!
XML parsing failed
XML parsing failed:
Like I said in the first place... check the package ;-)
Tim
On 15 Sep 2009, at 14:46, Jack Widman wrote:
> Yikes. Feeling stupid.
>
> On Tue, Sep 15, 2009 at 9:02 AM, Tim Nelson
> wrote:
> Comet classes are supposed to go in the comet folder. It looks like
> you have it in your snippet fol
Yikes. Feeling stupid.
On Tue, Sep 15, 2009 at 9:02 AM, Tim Nelson wrote:
> Comet classes are supposed to go in the comet folder. It looks like you
> have it in your snippet folder. Did you try putting the clock class in the
> comet folder?
>
>
> On Tue, Sep 15, 2009 at 7:34 AM, Jack Widman wrot
Comet classes are supposed to go in the comet folder. It looks like you have
it in your snippet folder. Did you try putting the clock class in the comet
folder?
On Tue, Sep 15, 2009 at 7:34 AM, Jack Widman wrote:
> And here is the error again:
> Error!
> XML parsing failed
>
> XML parsing failed
And here is the error again:
Error!
XML parsing failed
XML parsing failed: syntax error (Line: 13, Character: 4)
Reparse document as HTML
Error:undeclared XML namespace prefix used in attribute name
Specification:http://www.w3.org/TR/xml-names11/#nsc-NSDeclared
10:
11:
12:
13: Missi
Here is the complete code for my Clock example
*class*
import scala.xml._
import net.liftweb.http.S
import net.liftweb.http.CometActor
import net.liftweb.http.SessionVar
import net.liftweb.util._
import _root_.scala.xml._
import _root_.net.liftweb.util.Helpers._
import scala.actors._
class Clo
The package is correct. Here is the error
XML parsing failed: syntax error (Line: 13, Character: 4)
Reparse document as HTML
Error:undeclared XML namespace prefix used in attribute name
Specification:http://www.w3.org/TR/xml-names11/#nsc-NSDeclared
10:
11:
12:
13: Missing Clock
14:
I'm considering lift for an alternative web framework but need to
maintain a whole bunch of servlets / filters that already live in my
web.xml.
This is the closest thread to this subject so I thought I'd post here.
I'm trying to get the LiftFilter to match on a distinct url-pattern to
allow the
XiaomingZheng writes:
> i wanted to use a property file and put a file named default.props in
> myapp/props/ dir, but i found the property is not set correctly. Where
> should i put the property file? my os is windows vista. Thanks~~
If you're using the default layout, it should go in
myapp/src
i wanted to use a property file and put a file named default.props in
myapp/props/ dir, but i found the property is not set correctly. Where
should i put the property file? my os is windows vista. Thanks~~
--~--~-~--~~~---~--~~
You received this message because you
Its telling you that the class Clock could not be found - if i were
you, check the package definitions on the clock class to make sure its
in the right namespace.
Cheers, Tim
On Sep 15, 3:38 am, jack wrote:
> I compiled the comet Clock app and used the following markup
>
>
>
> Missing C
Perhaps one from lift and one from nginx?
Cheers, Tim
On Sep 15, 7:40 am, jon wrote:
> Is this ok?
>
> $ curl -I demo.liftweb.net
> HTTP/1.1 200 OK
> Server: nginx/0.6.32
> Date: Tue, 15 Sep 2009 06:37:32 GMT
> Content-Type: text/html; charset=utf-8
> Connection: keep-alive
> Expires: Thu, 01 J
69 matches
Mail list logo