Hello,
the problem is that some form elements are updated, then the function is
called, and then the rest of the form elements are updated.
My code is more or less something like this:
def editElement(elementTemplate: NodeSeq): NodeSeq = {
container.elements.flatMap { element: Element
Yes please a small app would be best. Please use 2.0-SNAPSHOT.
Also please see this thread:
http://groups.google.com/group/liftweb/browse_thread/thread/75750c42ec3a2d7d?hl=en#
Br's,
Marius
On Jan 13, 10:07 am, Adam Warski a...@warski.org wrote:
Hello,
the problem is that some form elements
I am using only one tab. The app itself is rather simple, it just
contains forms where fields are submitted to objects stored in
SessionVar.
I'll try the thing you suggested later today.
Is there a some way I could add some logging to sessionVar when it's
value is changed?
On Jan 13, 9:40 am,
I think you can override:
override protected def setFunc(name: String, value: T): Unit
put a trace there and then call super.
Br's,
Marius
On Jan 13, 10:06 am, Juha Syrjälä juha.syrj...@gmail.com wrote:
I am using only one tab. The app itself is rather simple, it just
contains forms where
Naftoli Gugenheim naftoli...@gmail.com writes:
The first argument to Loc is a unique id for the menu. Is it used anywhere?
lift:Menu.item name=menuId/
/Jeppe
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
hi marius,
I tried using -% but it says value %- is not a member of
java.lang.String.
Actually what i am trying to achieve is to make a web page in which
there are some text fields as Text1,Text2,Result
so that when user types some number in Text1 and Text2 their addition
appears dynamically in
hi marius,
I tried using -% but it says value -% is not a member of
java.lang.String.
Actually what i am trying to achieve is to make a web page in which
there are some text fields as Text1,Text2,Result
so that when user types some number in Text1 and Text2 their addition
appears dynamically in
Hello,
Yes please a small app would be best. Please use 2.0-SNAPSHOT.
Here it is:
http://github.com/adamw/lift-ajax-submit-test/
Steps to reproduce:
1. checkout from git :)
2. run mvn jetty:run
3. go to http://localhost:8080
4. click add once
5. fill in the two fields with some values e.g.
Also, interestingly, if you change the order of binding from:
bind(cont, containerTemplate,
name - { println(bind container name + cont.name);
SHtml.text(cont.name,
(s: String) = {println(set container name + s); cont.name =
s; }) },
rooms - editRoom _,
addRoom
Hello guys,
I have a very silly question.
when I run the mvn command to compile the classes, I receive the following
message:
warning: there were deprecation warnings; re-run with -deprecation for details
one warning found
How can I do to see the messages? I tried to add -deprecation to the
Something like:
plugin
groupIdorg.scala-tools/groupId
artifactIdmaven-scala-plugin/artifactId
version2.12.2/version
configuration
jvmArgs
jvmArg-Xmx1024m/jvmArg
/jvmArgs
args
arg-unchecked/arg
Hi all,
Did anyone here used nginx with sticky sessions? What I'm looking for
is:
if a request comes in with e certain HTTP header or query string
paramers the request should be dispatched to a given node. So I have a
header like server_id=1 - dispatch the request to node1, if
server_id=2
On Wed, Jan 13, 2010 at 3:31 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
For the last two years, the San Francisco Scala Lift Off has happened the
day after JavaOne. It's looking like JavaOne might not happen this year, so
I'm starting to think about a time in the April-June
Only if you want a caching proxy im not sure what your driving at really as
the nginx wiki does a pretty good job of explaining what it is used for.
We only really recommend NGINX because its what we use, however, you are free
to use whatever you want... jetty standalone, some other proxy
Nginx offers weighted round robin requests if memory serves... what does your
config look like? The upstream module should be cool for what you want.
http://wiki.nginx.org/NginxHttpUpstreamModule
See that it uses class-c ip hashing to always distribute requests to the same
backend node...
On Jan 13, 1:42 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Nginx offers weighted round robin requests if memory serves... what does your
config look like? The upstream module should be cool for what you want.
http://wiki.nginx.org/NginxHttpUpstreamModule
See that it uses class-c
It worked!
Thanks,
GA
On Jan 13, 2010, at 11:37 AM, Timothy Perrett wrote:
Something like:
plugin
groupIdorg.scala-tools/groupId
artifactIdmaven-scala-plugin/artifactId
version2.12.2/version
configuration
jvmArgs
Tim,
Thanks SO MUCH about the info from the offline talk we've had. If
other are interested, this may be helpful:
http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule
Br's,
Marius
On Jan 13, 2:02 pm, Marius marius.dan...@gmail.com wrote:
On Jan 13, 1:42 pm, Timothy Perrett
To follow up this thread for completeness, I communicated to Marius that he
needs to use:
http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule
Which should do what he wants.
Cheers, Tim
On 13 Jan 2010, at 12:02, Marius wrote:
On Jan 13, 1:42 pm, Timothy Perrett
Hi David,
I'm sorry about it that i write it wrong.
But I change the second DBVendor name to DBVendor_2, and it create
a db file named lift_proto2.db.h2.db.
And it doesn't work, I add this method to the User model to specify
the default db connection.
###
override def
Can anyone in the group recommend someone from the creative side (Web
Design, User Experience, etc.) who is comfortable working with Lift?
I understand that the Lift philosophy allows designers to work their
magic in the webapps directory, but I would appreciate working with
someone on the
I'm not sure if you discussed this but based on my experience, the
JSESSIONID cookie is used most often in Jetty/Tomcat/J2EE environments for
load balancing (over using client IP).
I haven't used nginx for load balancing yet but I've used both HAProxy and
Varnish in the past.
Hello Maceij
As I see it desgining and creating the acctual template is two completely
different tasks which rarely are done by the same person.
When i work on projects the designer usally works his/her magic and creates a
stunning Photoshop file which is then handed to a front-end developer
Sorry I got your name wrong, wasn't my intention :)
On Jan 13, 4:00 pm, Mads Hartmann Jensen mads...@gmail.com wrote:
Hello Maceij
As I see it desgining and creating the acctual template is two completely
different tasks which rarely are done by the same person.
When i work on projects the
(Apologies for the very late reply.)
-Dlog4j.configuration={file URL} ?
Thanks! This seems to do pretty much exactly what I need (that is:
full control over logging).
Mark.
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send
The problem was using Google Chrome to see this page. On firefox it
shows up normally.
Alex Boisvert wrote:
Yes.
The issue is here: http://github.com/dpp/liftweb/issues/closed/#issue/93
It was fixed in 1.1M7 and later.
alex
On Tue, Jan 12, 2010 at 1:47 PM, Felipe
Rodrigues
Thanks Naftoli and Marius .
I got it working using both of your suggestions.
Madhav
On Jan 13, 2:00 pm, Madhav mail.madhavsha...@gmail.com wrote:
hi marius,
I tried using -% but it says value -% is not a member of
java.lang.String.
Actually what i am trying to achieve is to make a web page
hi all,
stupid question about MappedForeignKey - it seems that it must be
interacted with by setting the value with the actual key (as opposed
to the 'object' that the key belongs to). is there an equivalent so
that the value can be set with the actual object (a la Hibernate)?
i arrived at this
On Wed, Jan 13, 2010 at 8:06 AM, Guy dnd1...@gmail.com wrote:
hi all,
stupid question about MappedForeignKey - it seems that it must be
interacted with by setting the value with the actual key (as opposed
to the 'object' that the key belongs to). is there an equivalent so
that the value
Is LongMappedMapper now superfluous?
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Wed, Jan 13, 2010 at 8:06 AM, Guy dnd1...@gmail.com wrote:
hi all,
stupid question about MappedForeignKey - it seems that it must be
interacted with by setting the
Or Edinburgh? :-)
On Jan 13, 12:22 pm, Mads Hartmann mads...@gmail.com wrote:
Was is 'Scala Lift Off' ?
I live in Denmark so i might be able to make it in either London or
Norway :)
On Jan 13, 12:32 pm, Miles Sabin mi...@milessabin.com wrote:
On Wed, Jan 13, 2010 at 3:31 AM, David
There is an EU meet-up at EPFL in April... thats as good as we are going to get
(until there is more UK lift following)!
Cheers, Tim
On 13 Jan 2010, at 17:35, Stuart Roebuck wrote:
Or Edinburgh? :-)
On Jan 13, 12:22 pm, Mads Hartmann mads...@gmail.com wrote:
Was is 'Scala Lift Off' ?
I
As far as materials to review you can try this Exploring Lift at
http://the-lift-book.googlegroups.com/web/master.pdf?gda=-mLbBTwAAACbVhWZrDVxSOOuy5kZIfXd2VaDqLm8NPJJpAcwXMSJpphQBWRFAWHsPl_3piZ--U79Wm-ajmzVoAFUlE7c_fAt
or you can also buy the book.
--
You received this message because you are
I'm writing a custom Loc for a page and want to choose a different
template in lift:surround if a certain URL parameter is present.
Basically, I have a template like this:
lift:surround with=t1 at=content
...
/lift:surround
And at runtime I want to substitute t1 for t2 if necessary and leave
I believe you might be able to solve your problem with a snippet :) Like so;
lift:MySnippet.dynamicTemplatePicking
lift:surround dynamic:template= at=content
/lift:surround
/lift:MySnippet.dynamicTemplatePicking
and in you snippet
Class MySnippet {
def
Didn't David answer your question the first time you asked it?
-
Mads Hartmann Jensenmads...@gmail.com wrote:
I believe you might be able to solve your problem with a snippet :) Like so;
lift:MySnippet.dynamicTemplatePicking
lift:surround
Provided they know (and care) about XHTML, any designer can learn
lift templates... its one of its major selling points IMHO.
--
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 unsubscribe
I assume I use the save method but am stumbling on implementing it...
On Jan 11, 5:49 pm, Joni Freeman freeman.j...@gmail.com wrote:
Hi,
I'm sorry but I'm not totally sure what you are trying to accomplish.
What would be the key in that map and what would be its values?
Cheers Joni
On 11
Introduction: I apologize in advanced for I am naive about Scala, Lift
and elegant design decisions in Lift. I am a C#/ASP.NET/Windows
Application developer. I played with Scala and it was the C# I was
looking for! My job is on .NET platform. But for enjoying something
(and maybe put into real use
Hello,
I would really would like to have this type of support from lift.
I looked at GWT and think this is a nice way. They use url parameters
after a '#'. I dont understand the process because I have very little
javascript knowledge.
But I am thinking, lift is creating unique function names and
This is correct - many part of lift don't work on GAe... So far, we've
seen little need for it as the vast majority of users simply want more
than GAE can offer.
Cheers, Tim
Sent from my iPhone
On 13 Jan 2010, at 22:51, Randinn rand...@gmail.com wrote:
The problem as far as I know is the
Agreed; things like Comet Style request processing; yet Lift model for
separating concerns and it's powerful template system can really makes
a complete web application ecosystem on GAE.
On Jan 14, 1:51 am, Randinn rand...@gmail.com wrote:
The problem as far as I know is the GAE sandboxing
I found DB.globalDefaultSchemaName, but the Schemifier is still
breaking:
java.util.NoSuchElementException: key not found: mytablename
at scala.collection.Map$class.default(Map.scala:169) [scala-
library-2.7.7.jar:na]
at scala.collection.mutable.HashMap.default(HashMap.scala:33)
For some reason all of a sudden all the menus under Home do not display. Any
idea where to look?
Thanks.
--
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 unsubscribe from this group, send
Hello all --
I have tried to compile the quickstart project with the latest Scala
plugin for IntelliJ 0.3.385, not very successfully: it either
complains about LIFT libraries compiled with the wrong version of the
compiler (the plugin comes with 2.8) or if I set the plugin to use
the 2.7
I am working with IDEA
Maia-IU-90.122 . it works very well
-
mawei...@gmail.com
13585201588
http://maweis.com
On Thu, Jan 14, 2010 at 9:41 AM, Sasha Ovsankin sa...@codebistro.com wrote:
Hello all --
I have tried to compile the quickstart
Just thinking out loud as to how this could work...
On modern browsers, it's possible to monitor the state change of the
browser's URL hash (aka window.location.hash / '#' / document fragment) in
the browser with the 'onhashchange' DOM event. It gets fired whenever the
location.hash changes.
I haven't really used Ajax much but it seems to me there are two kinds of
changes.
1. Modifying the view, e.g., clicking an emal in Gmail, or Expand All. One can
make an analogy to a GET request, in that there's no permanent change.
2. Taking actions, e.g., invoking an action on the server, or
I'm pretty sure that I discovered that a bug was introduced that
breaks Schemifier with Oracle...
First of all, Oracle's JDBC driver has the odd behavior of being case
sensitive when it comes to acquiring metadata. For example:
DatabaseMetaData.getColumns(null, MYSCHEMA, MYTABLE, null) is not
Hello everyone:
I have a questions confused me right now. today i try to publish my
lift website by using mvn package, and got a war package sized more
than 10M, the lib folder is the largest. i put this package in a jetty
server found out it takes considerable memory cost. if there are lots
lift
I use IntelliJ IDEA IU-93.13 with Lift. I don't typically run and
debug in the IDE too much yet. I know what's the point? I actually
like the editor. For build and run I use mvn clean install to build
non-web modules and mvn jetty:run for web modules. I'm hoping as the
Scala plugin improves code
On Wed, Jan 13, 2010 at 5:28 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
For some reason all of a sudden all the menus under Home do not display.
Any idea where to look?
What version of Lift? Do you have a repro case? There was a bug introduced
3 weeks ago and fixed last week related
On Wed, Jan 13, 2010 at 3:13 PM, __kaveh__ kaveh.shahbaz...@gmail.comwrote:
Agreed; things like Comet Style request processing; yet Lift model for
separating concerns and it's powerful template system can really makes
a complete web application ecosystem on GAE.
The all of the standard parts
Please try with Lift 2.0-SNAPSHOT. We made a number of significant fixes to
Schemifier over the course of the year including improving support for
case-sensitive RDBMS.
On Wed, Jan 13, 2010 at 6:54 PM, aw anth...@whitford.com wrote:
I'm pretty sure that I discovered that a bug was introduced
On Wed, Jan 13, 2010 at 6:18 AM, Neil.Lv anim...@gmail.com wrote:
Hi David,
I'm sorry about it that i write it wrong.
But I change the second DBVendor name to DBVendor_2, and it create
a db file named lift_proto2.db.h2.db.
And it doesn't work, I add this method to the User model to
1.1-SNAPSHOT, and I don't think it's very up to date.
This bug would hide even active submenus?
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Wed, Jan 13, 2010 at 5:28 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
For some reason all of a sudden
On Wed, Jan 13, 2010 at 8:53 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
1.1-SNAPSHOT, and I don't think it's very up to date.
This bug would hide even active submenus?
Yes.
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Wed, Jan 13, 2010
On Wed, Jan 13, 2010 at 8:00 PM, XiaomingZheng xiaomingzhen...@gmail.comwrote:
Hello everyone:
I have a questions confused me right now. today i try to publish my
lift website by using mvn package, and got a war package sized more
than 10M, the lib folder is the largest. i put this package in
Oh I just started using SBT as well and love it.
Looking forward to serious Lift support in SBT!
On Mon, Jan 11, 2010 at 8:43 PM, Brian Hsu brianhsu@gmail.com wrote:
Hello, I'm interested in this project.
Just in case that there are someone eles is working on this too.
Hi,
I followed the instructions here
http://wiki.netbeans.org/Scala68v1
to install the 6.8 plugin for Scala.
Problem is that the lift-archetype-blank says scala-version 2.7.7.
And the netbeans plugin comes with its own version (scala-compiler.jar/
compiler.properties
Either use an older version of Netbeans or another IDE, or checkout the
unsupported 280_port branch from git and mvn clean install.
-
carlosayamcarlosa...@gmail.com wrote:
Hi,
I followed the instructions here
http://wiki.netbeans.org/Scala68v1
to install
my colleagues and i develop portals and other web apps for lots of
small companies. One portal is low-traffic, so we put many small
portals in one jetty server. we hope each portal cost as lower memory
as better, because there are many portals in only single one server.
In Lift framework, each web
On Wed, Jan 13, 2010 at 9:52 PM, XiaomingZheng xiaomingzhen...@gmail.comwrote:
my colleagues and i develop portals and other web apps for lots of
small companies. One portal is low-traffic, so we put many small
portals in one jetty server. we hope each portal cost as lower memory
as better,
got it, thanks David
On Jan 14, 6:00 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Wed, Jan 13, 2010 at 9:52 PM, XiaomingZheng
xiaomingzhen...@gmail.comwrote:
my colleagues and i develop portals and other web apps for lots of
small companies. One portal is low-traffic, so we
David, Thank you very much!
It works now, I'm so sorry about that I didn't see the yak demo
yesterday .
:)
Cheers,
Neil
On Jan 14, 12:43 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Wed, Jan 13, 2010 at 6:18 AM, Neil.Lv anim...@gmail.com wrote:
Hi David,
I'm sorry
I would of course be very +1 to include the ajaxSubmit :). Thanks for the work.
This looks a bit different to the button I tried before, maybe you have a patch
so that I can try it out on the test app?
Adam
On Jan 12, 2010, at 8:39 PM, Marius wrote:
Dear all,
Recently (and not only) there
66 matches
Mail list logo