Lifted,
When i look at the button behavior using firebug, this is the following
error i see.
F891109765602PT1 is not defined
onclick(click clientX=950, clientY=152)1tbfBLwe...6bg%3D%3D (line 2)
(F891109765602PT1, lift_ajaxHand...whatField).attr(value), null, null));
It would appear that however
Greg,
ajaxCall returns a tuple (String, JsExp) ... so when you use it try
something like:
(onclick - ajaxCall(JsRaw($('#whatField').attr('value')), s =
updateWhat(s))._2)
Br's,
Marius
On May 3, 9:00 am, Meredith Gregory lgreg.mered...@gmail.com wrote:
Lifted,
When i look at the button
First of all instead of:
(onclick - ajaxCall(JsRaw($('#whatField').attr('value')), s =
updateWhat(s))._2)
I would use:
(onclick - ajaxCall(ValById(whatField), s = updateWhat(s))._2)
That should work I think in your case you are setting the value
attribute of the text field to
Marius,
Thanks! That works much better. One final question, if i wanted to have the
CR/LF event on the textbox have the same behavior as the button, what would
be the simplest approach? Currently, i have
{ text(evalStr(), (updateWhat _)) % (size - 60) % (id - whatField)
}
which always reverts
As a continuation to Tim's notes. You can have templates suffixed with
the locale suffix. So for the template applicable for one locale or
another just use different CSS files.
I guess you can also use chooseTemplate to render different variants
of the markup in question.
Br's,
Marius
On May
OK to answer own question in case anyone has similar problems:
ScalaEntityManager returns a bufferWrapper from the jcl.Conversions
not a List. However, it can be treated as a Seq[Postcode]
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi,
I'm asking this because SHtml.a is a bit a-typical in the sense of
producing lift:a that will render the ajax link eventually.
I don't quite see the point of lift:a since it needs a key
impersonating the user's function name which is unknown in the
template ... well unless you are using
David Pollak wrote:
On Thu, Apr 30, 2009 at 10:48 PM, Andrew Scherpbier
and...@scherpbier.org mailto:and...@scherpbier.org wrote:
The Getting Started document got me hooked on Lift. :-)
I guess I'll report my struggles from there. I don't know if what
I did
is
Hi,
I'm very new to lift and scala.
I have made some Grails intranet applications but sadly Grails or
better say GSP rendering part which is completely written in Groovy is
a very slow beast (even in comparison with Rails or Django).
For my future big project (heavy loaded site) I need
Hello:
I got an exception
2009-05-03 10:31:23.203::WARN: failed LiftFilter
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at net.liftweb.util.Slf4jLogBoot$.net$liftweb$util$Slf4jLogBoot
$$_logger
ByName(Slf4jLog.scala:59)
while I added
class Boot {
def boot {
Hi all,
I've just started playing with Lift so forgive me if this question
seems a bit naive - that would be because I am a newbie :)
I am trying to build a webapp with user authentication. However, I
don't want to use ProtoUser because I want to key it by the userid -
which is a unique String
Tim,
Dispatching snippets by registering with LiftRules is much faster than the
by convention mechanism of looking up the class name. It's also type-safe
(an issue that Greg Meredith ran into last week.) So, it's a few more lines
of code, but better. Unless you've got a Stateful Snippet, you
Are you running Lift in production or development mode?
I typically see 300 pages/second to 800 pages/second when I do benchmarks on
dual core opteron machines.
I'll look into this, but you should be seeing north of 300 pages per second
with simple pages in Lift.
On Sat, May 2, 2009 at 1:32 PM,
On Sun, May 3, 2009 at 3:48 AM, ishaaq ish...@gmail.com wrote:
Hi all,
I've just started playing with Lift so forgive me if this question
seems a bit naive - that would be because I am a newbie :)
I am trying to build a webapp with user authentication. However, I
don't want to use
Anybody ?
I have spent more then month testing various frameworks.
Just found lift and spent the whole Friday by learning scala. I liked it.
Time is not my friend ... I just have to choose the right language +
framework combo for my 3 other colleges and our coming project.
Any comment is
Hi David,
Thank you for your reply.
How and where can I set production vs development mode in lift ?
Thank you again.
Daniel
On Sun, May 3, 2009 at 3:12 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
Are you running Lift in production or development mode?
I typically see 300
On Sat, May 2, 2009 at 12:35 PM, Andrew Scherpbier and...@scherpbier.orgwrote:
David Pollak wrote:
On Thu, Apr 30, 2009 at 10:48 PM, Andrew Scherpbier
and...@scherpbier.org mailto:and...@scherpbier.org wrote:
The Getting Started document got me hooked on Lift. :-)
I
On Sun, May 3, 2009 at 6:18 AM, Daniel Guryca dun...@gmail.com wrote:
Hi David,
Thank you for your reply.
How and where can I set production vs development mode in lift ?
Set the run.mode system property to production I do that with
-Drun.mode=production when I start Jetty, but you may do
Hi Daniel,
You can pass the following to mvn: -Drun.mode=production.
--Bryan
On May 3, 9:18 am, Daniel Guryca dun...@gmail.com wrote:
Hi David,
Thank you for your reply.
How and where can I set production vs development mode in lift ?
Thank you again.
Daniel
On Sun, May 3, 2009 at
On Sun, May 3, 2009 at 6:33 AM, Axel Rose axel.roesl...@googlemail.comwrote:
Hello Charles,
I know I'm a bit late for your request to consolidate the lift wiki.
Anyway:
It's really puzzling to me to get the version numbers right, when creating
a new
archetype with maven.
The Maven mini
Hey .. I'm not saying that you anwered my questione slowly ! I'm very
impressed that you are dealing with mailing list even on your free time on
weekend !
I just wanted to clear up why I'm in hurry.
regards
Daniel
On Sun, May 3, 2009 at 3:34 PM, David Pollak
feeder.of.the.be...@gmail.comwrote:
My personal view is that a worked example of a fully featured
eCommerce type site would be most useful. Even something as simple as
a cut down Amazon style store with inventory management would be a
great start. That would be a useful foundation for the rest of Lift's
features (add-ons such as
I'd like to help with the wiki as well. Let me know if there is
anything in particular that you would like me to do.
--Bryan
On May 3, 9:46 am, David Pollak feeder.of.the.be...@gmail.com wrote:
On Sun, May 3, 2009 at 6:33 AM, Axel Rose axel.roesl...@googlemail.comwrote:
Hello Charles,
I believe I am doing #1 now with no luck. Let me know if this is
correct:
class Cars {
// ...
object locationQuery extends RequestVar[Box[LocationQuery]](Empty)
def search(xhtml: NodeSeq): NodeSeq = {
def processSearch() = {
// ...
val lq = new
Wow! Too lazy to register?! IMO, registration is a one-time event and is
needed to combat spam / bot activity. Rather than having a system where
people complain / suggest alterations, we prefer people to just get on and
change them... Power to the people!
On 03/05/2009 14:33, Axel Rose
Richard, its a shame you feel like that. Your comments about examples are
noted, however you must bear in mind that both scala and lift are young
(relatively speaking) and a lot of the applications that are out there, are
behind corporate firewalls (including mine) - so don't be fooled into
Marius,
To clarify, your saying that you'd like to get rid of lift:a and move
the functionality into SHtml or something?
Thanks, Tim
On May 3, 11:51 am, Marius marius.dan...@gmail.com wrote:
Hi,
I'm asking this because SHtml.a is a bit a-typical in the sense of
producing lift:a that will
Well SHtml.a yields a lift:a and processed in its own snippet now. I
guess I'm only challenging the need for lift:a ... and try to
understand in what context people really use it.
Br's,
Marius
On May 3, 11:12 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Marius,
To clarify, your saying
So your trying to asscertain if people use lift:a directly in there
template code?
On May 3, 9:35 pm, marius d. marius.dan...@gmail.com wrote:
Well SHtml.a yields a lift:a and processed in its own snippet now. I
guess I'm only challenging the need for lift:a ... and try to
understand in what
Guys,
Thought people might find this an interesting article about lift's URL
rewriting system and help out some newbies :-)
http://is.gd/wq4K
Cheers, Tim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
Have you configured your dependencies? Perhaps this will help:
http://scala-tools.org/mvnsites-snapshots/liftweb/lift-util/scaladocs/net/liftweb/util/Slf4jLogBoot$object.html
Cheers, Tim
On May 3, 3:35 am, sailormoo...@gmail.com sailormoo...@gmail.com
wrote:
Hello:
I got an exception
Thanks, Axel. Will take this under consideration.
Chas.
Axel Rose wrote:
Hello Charles,
I know I'm a bit late for your request to consolidate the lift wiki.
Anyway:
It's really puzzling to me to get the version numbers right, when creating a
new
archetype with maven.
The Maven
Lifted,
i gave up on trying to understand how to to the brain-dead simple version of
what i was trying to do and went for a more complex version. This works
(better, anyways). However, i notice that despite the instructions to render
the textarea with 1 row, it is rendering it with about 10 rows.
Thanks, Richard. Very helpful.
Chas.
richard.car...@me.com wrote:
My personal view is that a worked example of a fully featured
eCommerce type site would be most useful. Even something as simple as
a cut down Amazon style store with inventory management would be a
great start. That would be
Thanks! Will do!
Chas.
Bryan. wrote:
I'd like to help with the wiki as well. Let me know if there is
anything in particular that you would like me to do.
--Bryan
On May 3, 9:46 am, David Pollak feeder.of.the.be...@gmail.com wrote:
On Sun, May 3, 2009 at 6:33 AM, Axel Rose
If you're using the standard CSS, it's likely blueprint is controlling
the size:
http://blueprintcss.org/blueprint/src/forms.css
On May 3, 6:16 pm, Meredith Gregory lgreg.mered...@gmail.com wrote:
Lifted,
i gave up on trying to understand how to to the brain-dead simple version of
what i
Tyler, Charles,
Thanks for the tip!
i decided that it looks like i've intended for people to input more complex
expressions. So, i've left the size the way it is. (You know in jazz when
you play a wrong note once, it's a mistake, but if you keep hammering it,
it's what you meant to do. i'm
Do you mean a rich text editor? Something like TinyMCE?
http://tinymce.moxiecode.com/
Or something less bulky than that?
Chas.
Meredith Gregory wrote:
Tyler, Charles,
Thanks for the tip!
i decided that it looks like i've intended for people to input more
complex expressions. So, i've
Charles,
That's pretty cool. i'll give it a whirl. It's a little bulky, but bulk can
have it's merits (although i'm told it's not the meat, it's the motion ;-).
Best wishes,
--greg
On Sun, May 3, 2009 at 6:20 PM, Charles F. Munat c...@munat.com wrote:
Do you mean a rich text editor?
I wasn't recommending it, just using it as an example. What you probably
want is this:
http://dev.jquery.com/wiki/Plugins/tinyMCE
There's also a version for YUI, I think.
Chas.
Meredith Gregory wrote:
Charles,
That's pretty cool. i'll give it a whirl. It's a little bulky, but bulk
can
Very simple idea - I have a tags template that I put in the templates-
hidden directory, it creates a list of tags. In one of my public
templates I want to be able to call that template to display the tags
(I'm sure it has been done before and I cannot find in either book
where this is covered).
Would that mean that the state of the RequestVar could accidentally be
shared with multiple requests?
On May 3, 1:51 pm, marius d. marius.dan...@gmail.com wrote:
Hmmm ... the code seems to be fine (as far as I can tell from the code
snippet)
Can you perhaps declare your RequestVars outside
Formalities or content?
http://wiki.liftweb.net/index.php/Maven_Mini_Guide
must be improved. For people not accustomed to maven it is very hard
to grasp the versions/release/snapshot/pom dependencies.
Various articles use various version numbers when building examples.
I, personally, got lost.
I just broke my teeth on this problem also (and 2 days wasted later I
discover this thread). I would say Doh!, but this is hardly a Doh
type of thing.
Security is important, but also as a new framework, you want rapid
uptake by people who won't read 5 chapters of a book before trying
something
Hello List!
I might as well share my thoughts about docs.
I think as with Scala and Lift you should try to beat the best that is out
there. And from all the user made language/API/framework wikis I have seen
the one from a now pretty unpopular game is by far the best:
Wow, this is awesome! Can a link to this be provided from the
wiki/getting started guide/api docs?
--Andrew
Timothy Perrett wrote:
Guys,
Thought people might find this an interesting article about lift's URL
rewriting system and help out some newbies :-)
http://is.gd/wq4K
Cheers, Tim
Hi :
From the Lift Book, there is a bulk delete function.
Expense.bulkDelete_!!(By_(Expense.dateOf, date))
However, I want a bulk update function, is there one or if I must to
update it one by one?
Thanks.
--~--~-~--~~~---~--~~
You received this message
On Sun, May 3, 2009 at 4:11 PM, Daniel Guryca dun...@gmail.com wrote:
I have just tried mvn -Drun.mode=production jetty:run ... but sadly still
getting same performance.
I ran a simple test (the same command line as you) on my 2.67 Ghz Core i7
machine and saw 600 pages per second. Granted,
Tom,
Thanks for this link! The Second Life wiki is very interesting, and
makes it obvious that one can do a lot with MediaWiki. I'll definitely
spend some time exploring it.
Chas.
Tom Arnold wrote:
Hello List!
I might as well share my thoughts about docs.
I think as with Scala and
James,
This looks more like about $20, but I'm not complaining. Your thoughts
mirror mine in many ways. #4 is a very good idea. Even just a list of
what is needed. Folks could add to a documentation wishlist, and then
anyone who thought he or she could tackle an item could just do it.
I'm
50 matches
Mail list logo