Hi
i guess the title says it all :)
i have some LAFuture in a CSS selector like
"#thing" #> LAFuture.build{slowFunction}
Now it shows "Loading" while the future is computing. But how do i change that text?
I want it to be some loading gif and an internationalized text.
So my guess would be somewhere in the _resources?
I already saved the current locale via a SessionVar. So S.?("...") works in comet now.
It is beyond me why this is not the default :/
Does anybody want their comet actors not to be internationalized?
I wasted close to 2 hours finding out how to do that.
It is just a few lines of code but good luck finding any docs explaining the automagic stuff happening there (hint: there aren't any, had to read the source).
And by the way isn't there support for scala futures now?
I have seen something like that in the changelog. Where do i find docs or examples on that?
In general the documentation on basically everything is rather lacking to say the absolute least.
http://cookbook.liftweb.net/ does not exist anymore! But is still linked first on the lift page (this is a way to common trope when it comes to lift related docs)
That "official wiki" assembla page is 404 heaven and often dated.
Have a look at that:
https://app.assembla.com/spaces/liftweb/wiki/Radio_Lists_And_Drop_Downs_From_Enumerations every single link is a 404 and nothing works due to the old bind syntax.
Dropdowns are an absolute essential part of basically every website ever, how can this be messed up?
Simply Lift is from 2011 and way to many pages look like this:
https://simply.liftweb.net/index-9.7.html#toc-Section-9.7I picked Lift as an alternative to rails because fiddling around with routes, doing annoying piping, writing all the js crap by hand, having to deal with awful gems for even the most basic stuff, just seemed like a massive waste of time...
Lifts designer friendly templates are great, comet is great, the community is helpful, so much stuff is just great.
But if i can not even basic shit done in lift without hitting some weird corner cases, i am better off with rails since those guys at least have some sort of documentation
which allows me to fix things quickly without sifting through tons of dispersed, outdated and 404 ridden wikis or random blogs and forums.
It is all too sad to see all the updates coming in and all that work basically goes to waste.
Because none of it is documented in a way where the average Joe User like me can actually make any sense of it.
A rather good example was that CSP debacle where a new feature basically broke basically everything (even the official lift_bootstrap package for download was broken)
and still there is not a single wiki page on how to set up CSP properly.
Using this framework way harder than it should be and for absolutely no good reason.
Sorry for the rant this has become too annoying.
Best regards
Sebastian