Thanks for the quick response, Marius.
I am not running the browser with multiple tabs/windows. Its just 1
firefox window with 1 tab pane.
And I see this happening.
About the part where I said, navigating away from the page doesn't
affect the ajax polls, let me clarify a little.
I have a page whe
Peter Robinett writes:
> I've been working with lift-flot a lot recently and I'd like to share
> some thoughts and suggest some improvements. It's a very useful
> interface to a great Javascript plotting library, so consider these as
> small suggestions from a fan.
>
I had some of the same conce
Hmmm
In the page with 2 Comets using FireBug do you see 2 Ajax requests
flying out?
Can you make a very minimalistic app derived from your existent
application that can reproduce this issue and post the app here as a
zip? Myself or someone else will surely look into this.
This is a bit stra
Amazing - great. For future reference - what's the preferred method
for asking for code/feature to be integrated?
On Nov 23, 9:46 pm, Ross Mellgren wrote:
> Added an issue for you:http://github.com/dpp/liftweb/issues#issue/205
> and it's on review board:http://reviewboard.liftweb.net/r/121/
>
> S
Are you using ActorPing or something? Can you post your actor code?
Cheers, Tim
On 24 Nov 2009, at 08:50, soumik wrote:
> Thanks for the quick response, Marius.
>
> I am not running the browser with multiple tabs/windows. Its just 1
> firefox window with 1 tab pane.
> And I see this happeni
Change:
app.map
to:
app.flatMap
Cheers, Tim
On 24 Nov 2009, at 05:02, mr najmi wrote:
> i have one error that is
> found : scala.xml.NodeSeq
> required: scala.xml.Node
>bind("app",html,
>^
>
> here is my code:
>
> var app = AvailableSlot.findAll()
>def viewapp(
Derek Chen-Becker writes:
> OK, thinking about this a little further, technically it would be a breaking
> change to remove the menus method from MetaMegaProtoUser.
Yes, but is that really an issue here?
> Would it be better to simply introduce a MenuGenerator trait, a la
>
> trait MenuGenera
Thanks for the quick response, Marius.
I am not running the browser with multiple tabs/windows. Its just 1
firefox window with 1 tab pane.
And I see this happening.
About the part where I said, navigating away from the page doesn't
affect the ajax polls, let me clarify a little.
I have a page whe
I was able to figure out what the problem was.
The main page comet actor had a jquery plugin (gritter - displays
growl-like alerts), which makes ajax calls.
This plugin was the one which was causing the problem. When I removed
call to the jquery function for the plugin, the problem was not seen.
T
Hi,
We have today the LiftRules.exceptionHandler that we can use as a
single point where we can capture exceptions during stateful
processing which is applied for stateful DispatchPF and page
rendering.
It looks like we can applythe same mechanism when handling
AjaxRequests so that the LiftRules.
On Tue, Nov 24, 2009 at 4:09 AM, Marius wrote:
> Hi,
>
> We have today the LiftRules.exceptionHandler that we can use as a
> single point where we can capture exceptions during stateful
> processing which is applied for stateful DispatchPF and page
> rendering.
>
> It looks like we can applythe s
On Mon, Nov 23, 2009 at 9:27 PM, Jason Felice wrote:
> I'd like to chip in, but I'm not familiar with the intended design -
> specifically anything about an RDBMS backend. (e.g. Go the way of
> Mapper, or use a more comprehensive backend like JPA?)
>
Record is not going to match JPA any time soo
On Tue, Nov 24, 2009 at 1:03 AM, tommycli wrote:
> Amazing - great. For future reference - what's the preferred method
> for asking for code/feature to be integrated?
>
Discuss on this list, once everyone is happy, open a ticket at GitHub.
>
> On Nov 23, 9:46 pm, Ross Mellgren wrote:
> > Adde
On Mon, Nov 23, 2009 at 9:34 PM, sunanda wrote:
> Hi David,
>
> Thank for all the help so far.
>
> My lift application needs to coexist with the spring servlet in
> the same web application. I have configured the web.xml file for both
> of the spring servlet and lift filter.
> Hence I need to
Hi David,
I did work around this by putting the schemas in my search path.
Edit postgresql.conf and add the following:
search_path = '"$user",public,schema1,schema2,schemaN'
As for this being a bug... did you intend for Mapper to support
schemas on the CRUD side? If so, I'd be happy to create a r
On Tue, Nov 24, 2009 at 6:24 AM, opyate wrote:
> Hi David,
>
> I did work around this by putting the schemas in my search path.
> Edit postgresql.conf and add the following:
> search_path = '"$user",public,schema1,schema2,schemaN'
>
> As for this being a bug... did you intend for Mapper to suppor
Hello Lifter !
Before anyything else, I would like to thank you all for the awesome
work done with Lift. I'm using it for real for not even 10 days, and
everything is just working so well... particular kudos for the AJAX work
and the quick Scala 2.8 integration.
That being said, I'm using Lift
Hi,
I would like to learn Record and some alternative backend. I have read a
post about a good Akka / Record bridge.
Where should I start? Is the Akka / Record bridge part of the lift
distribution (didn't see it)? Is there an example somewhere?
Thanks.
--
You received this message because you
David,
The statement that all functions are bound to the current state in the
scope that the function
was created may be true for functions submitted via SHtml, but doesn't
seem to hold true
for those from LiftResponse, otherwise, the edit function in my
example would work for editing,
just as it
Ok, so this is spawned from a comment made by DPP - Its true, I was working on
an Akka Record implementation but I had to shelve the concept for now as im
busy with work.
I am however using a custom backend I wrote at work where we have a service
based system and that is working absolutely beau
Update:
The tomcat incompatability with the external server was caused by a
Java version mismatch. I was compiling my scala code with a newer
version of the JDK. I had an older JDK installed on the external
server and this was causing a problem with some of my class files (but
not others, oddly).
I don't have any specific use case. I just want to know more and experiment
with Record.
On Tue, Nov 24, 2009 at 11:08 AM, Timothy Perrett
wrote:
> Ok, so this is spawned from a comment made by DPP - Its true, I was working
> on an Akka Record implementation but I had to shelve the concept for no
I was thinking something along the lines of:
override def menus = super[MegaMetaProtoUser].menus ::: super[CRUDify].menus
if you need both, but I suppose it's simpler to just remove it. I'll code up
the change and send out a breaking changes announcement.
Derek
On Tue, Nov 24, 2009 at 2:15 AM,
Hi!
I'm using the autocomplete widget for my current lift project.
Everything compiles. The JQuery code for the autocomplete widget is
generated in the html file.
The problem is that the 2 resource files "jquery.autocomplete.css/js"
can't be found by the server.
Are I am missing something?
I am
/classpath/autocomplete/jquery.autocomplete.js
/classpath/autocomplete/jquery.autocomplete.css
are retrieved correctly for me.
Are you calling AutoComplete.init in your boot?
Br's,
Marius
On Nov 24, 6:36 pm, Chris Thomet wrote:
> Hi!
>
> I'm using the autocomplete widget for my current lift
Derek Chen-Becker writes:
> I was thinking something along the lines of:
>
> override def menus = super[MegaMetaProtoUser].menus ::: super[CRUDify].menus
Ahh yes, didn't think of this "super" syntax
> if you need both, but I suppose it's simpler to just remove it. I'll code up
> the change and
Thanks Marius!
I missed the initialization.
You saved my day...now I can leave my office without having to think
about this problem ;)
Chris
On Nov 24, 5:50 pm, Marius wrote:
> /classpath/autocomplete/jquery.autocomplete.js
>
> /classpath/autocomplete/jquery.autocomplete.css
>
> are retrieved
Tim,
Thanks for the interest in trying the challenge!
I'm sorry if I misunderstood your explanation at Devoxx. I certainly
do not want to put down on Lift. If anything I want Lift to pass this
challenge with ease!
Anyway, I did a follow-up post to clarify the test scenario a bit:
http://ev9d9.bl
It seems that 1.1-M7 jpa archetypes other than lift-archetype-jpa-basic are
broken, both in snapshots and releases repositories.
--
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 unsubscrib
Anyone else want to chime in with an opinion on this? I've got the code in
place to remove the "menus" def from MetaMegaProtoUser, but if there's a
desire it would be equally simple to add a MenuGenerator trait to
net.liftweb.sitemap and apply it to the relevant traits.
Derek
On Tue, Nov 24, 2009
I had this exact need for deleteMenuLocParams the other day. I'd love
to see this added!
Peter Robinett
On Nov 24, 5:40 am, David Pollak
wrote:
> On Tue, Nov 24, 2009 at 1:03 AM, tommycli wrote:
> > Amazing - great. For future reference - what's the preferred method
> > for asking for code/feat
Just curious, but what are you using the LocParams for in this case? I'm
writing my own CRUDOps trait that takes a different approach to permissions
and menus, so I'm trying to figure out the use cases besides my own.
Thanks,
Derek
On Tue, Nov 24, 2009 at 11:01 AM, Peter Robinett wrote:
> I had
We've built an access control system that uses an If LocParam to
enforce whether the current user can access the requested location.
Peter
On Nov 24, 10:12 am, Derek Chen-Becker wrote:
> Just curious, but what are you using the LocParams for in this case? I'm
> writing my own CRUDOps trait that
I have searched a number of threads and have found similar posts but
nothing the exactly answers this relatively simple question.
I am using the Lift submit method (net.liftweb.http.Shtml.submit) to
submit a form. Upon submission, I want to execute another method
called getImgs(s: String), so I ha
Try capturing it as a local variable?
e.g.
def chooseIndex(ns: NodeSeq): NodeSeq = {
val myParam = S.param("id")
def getImgs(s: String) = /* work with myParam here */
..
}
If you want getImgs to be outside, then you can pass it in,
def getImgs(s: String, myParam: Option[String]) = ...
Capturing the value depends on reading it from the URL as a parameter,
so even if it's local, after I submit the form and the page reloads
without the "id" parameter in the URL, I still get the None.get error
because it is trying find a parameter that isn't there. I need some
way to keep the param
The parameter value will be captured when the form is generated and
will stay at that value as long as it's captured. Maybe I'm
misunderstanding what you mean, but I thought what you meant is that
you have a page with a query parameter "id", which has a form on it
generated by chooseIndex,
OK, I'm actually doing that in my CRUDOps with a partial function, so that
sounds like one of the use cases I've already covered.
Thanks,
Derek
On Tue, Nov 24, 2009 at 11:56 AM, Peter Robinett wrote:
> We've built an access control system that uses an If LocParam to
> enforce whether the curren
Is there anything I could learn on how lift works with redis database?
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 email to
liftweb+unsubscr
There is no out of the box implementation. You could write a record
back end though - it depends on the features you want I guess.
Cheers, Tim
Sent from my iPhone
On 24 Nov 2009, at 22:00, surfman wrote:
> Is there anything I could learn on how lift works with redis database?
> Thanks.
>
> -
Folks,
I've completed the first pass at multi-page input Wizards in Lift. You can
see an example at: http://demo.liftweb.net/wiz
Wizards are declarative, type-safe mechanisms for describing multi-page
workflows. They are stateful, isolated (you can run multiple copies of the
same wizard in the
Yes. This is a known issue. See
http://github.com/dpp/liftweb/issues#issue/161
On Tue, Nov 24, 2009 at 9:34 AM, Oscar Picasso wrote:
> It seems that 1.1-M7 jpa archetypes other than lift-archetype-jpa-basic are
> broken, both in snapshots and releases repositories.
>
> --
> You received this me
See http://demo.liftweb.net/wiz2
The back button is acting hinky... it's not forcing a reload of the page...
something's funky with the headers Lift sends back... but that's a separate
issue
On Tue, Nov 24, 2009 at 9:30 AM, klr8 wrote:
> Tim,
>
> Thanks for the interest in trying the challenge!
I'm all for enhancing the flot stuff.
Do I see anyone raising their hand to own the changes?
On Tue, Nov 24, 2009 at 12:57 AM, Jeppe Nejsum Madsen wrote:
> Peter Robinett writes:
>
> > I've been working with lift-flot a lot recently and I'd like to share
> > some thoughts and suggest some impro
Thanks, Jeppe, it's interesting to see how you've approached it.
Peter
On Nov 24, 12:57 am, Jeppe Nejsum Madsen wrote:
> Peter Robinett writes:
> > I've been working with lift-flot a lot recently and I'd like to share
> > some thoughts and suggest some improvements. It's a very useful
> > inter
Rockstar!
On Tue, Nov 24, 2009 at 3:25 PM, David Pollak wrote:
> See http://demo.liftweb.net/wiz2
>
> The back button is acting hinky... it's not forcing a reload of the page...
> something's funky with the headers Lift sends back... but that's a separate
> issue
>
>
> On Tue, Nov 24, 2009 at 9:
Ross,
You can dynamically add child elements right now:
new SiteMap(menuItems) {
override def buildMenu(current: Box[Loc[_]]): CompleteMenu = {
val tmp = super.buildMenu(current)
CompleteMenu(tmp.lines.toList ::: List(additional menus))
}
}
On Mon, Nov 23, 2009 at 5:16 PM, Ross
I considered this but my problem was that you could not place them
into the middle of a static flow, without rummaging around in the
CompleteMenu looking for known MenuItems.
For example, I was thinking in the CMS case that you probably want a
static Home Menu and then some dynamic menus and
I having some memory problems that I suspect are caused, at the end of
the day, by creating many Mapper instances and setting their
MappedStringForeignKey property. When I set it, is it being looked up
in the database? Based on a previous thread[1], I suspect it is. This
is with 1.1-M5.
Thanks,
Pe
On Tue, Nov 24, 2009 at 2:47 PM, Peter Robinett wrote:
> I having some memory problems that I suspect are caused, at the end of
> the day, by creating many Mapper instances and setting their
> MappedStringForeignKey property. When I set it, is it being looked up
> in the database? Based on a previ
I've looked through the API and couldn't find anything that seemed suitable.
We need an ajax button that when clicked will fire an event to the server
and then toggle the button text. This could be by having two different
buttons and only showing one.
Cheers
Jono
--
You received this message be
I've created issue 207: http://github.com/dpp/liftweb/issues/#issue/207
On Mon, Nov 23, 2009 at 12:34 PM, harryh wrote:
> > It will eliminate both the doctype and the thing.
>
> This does not appear to be the case. I just tried it (on M7). Also
> looking at the code for NodeResponse this does
There is a "poor man's" approach to creating top-level menus
dynamically. Simply create
a number of hidden menus - guessing at the max number your app will
likely need - whose text representation, paths and hidden attributes
can be
adjusted programatically as needed by the application. Not a very
I'd be happy to but I'd appreciate some advice and guidance.
Peter
On Nov 24, 2:26 pm, David Pollak
wrote:
> I'm all for enhancing the flot stuff.
>
> Do I see anyone raising their hand to own the changes?
>
> On Tue, Nov 24, 2009 at 12:57 AM, Jeppe Nejsum Madsen wrote:
>
>
>
> > Peter Robinett
http://reviewboard.liftweb.net/r/124/
On Nov 24, 3:40 pm, David Pollak
wrote:
> I've created issue 207:http://github.com/dpp/liftweb/issues/#issue/207
>
>
>
> On Mon, Nov 23, 2009 at 12:34 PM, harryh wrote:
> > > It will eliminate both the doctype and the thing.
>
> > This does not appear to be
Ok, thanks, that makes sense.
On Nov 24, 2:54 pm, David Pollak
wrote:
> On Tue, Nov 24, 2009 at 2:47 PM, Peter Robinett
> wrote:
>
> > I having some memory problems that I suspect are caused, at the end of
> > the day, by creating many Mapper instances and setting their
> > MappedStringForeignKe
Glenn,
The issue is that you were creating call-back functions during an API call
(rather than as part of Lift's HTML/Ajax/Comet pipeline).
In general, I think this is very bad design. I'd strongly recommend using
the Ajax/Json call facilities built into Lift. You get a pile of things for
free
Pushed to master:
83ae6be9826ba6168f7ea426db00dad97a706019
Hudson will probably be done with the build in a bit less than an hour and then
it should be in 1.1-SNAPSHOT.
-Ross
On Nov 23, 2009, at 11:50 PM, tommycli wrote:
> Add deleteMenuLocParams to CRUDify.
>
> Patch below. (I tried github,
Hi David,
Thanks.
This is what works for me in my old fashioned non-functional way of
programming.
var sitemap:SiteMap = new SiteMap(Nil, MenuInfo.menu :_*) {
override def buildMenu(current: Box[Loc[_]]): CompleteMenu = {
val tmp = super.buildMenu(current)
var childM
59 matches
Mail list logo