It is not about dropping Lift, it is about starting to use it. I want
it very much but i need to consider all pluses and minuses before we
jump in. External server for uploading could be a solution but it will
not be in Scala and will require some other tools to be involved. I
am still looking fo
Derek Chen-Becker writes:
> Well, as usual something that seemed simple at first glance is now looking
> somewhat complex. I'm thinking of reworking the fileUpload handling to allow
> a user to register either a (String, String, Array[Byte]) ⇒ Any or (String,
> String, InputStream) ⇒ Any functio
I'm not too familiar with the topic but instead of dropping lift, as a
temporary workaround can't you have the upload be handled by another servlet
which will save it and then redirect?
-
Vlad Seryakov wrote:
I am also contemplating to use Lift but lack of
I am also contemplating to use Lift but lack of big file upload is the
showstopper. We need to upload images, and big video files and
currently there i snot way to do it in Lift, i need something else to
handle that which makes the whole stuff more complex than needed.
Spooling into temp file and
Please fork this project http://github.com/dpp/lift_1_1_sample/tree/master and
provide
an example of the failure. I'll knock something together than
overcomes the problem.
2009/6/30 fbettag
>
> To describe it a little cleaner:
>
> in Safari 4, whenever i try to $('#foo').load('/some.html'), it
To describe it a little cleaner:
in Safari 4, whenever i try to $('#foo').load('/some.html'), it fails
with "Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7" since the
content-type is text/html+xml.
described here:
http://groups.google.com/group/jquery-en/browse_thread/thread/de95e8adf9c0ffb
The use case is the following, i am writing a CMS with lift where the
Admin-Interface is just a JavaScript-jQuery-Overlay. The idea behind
it is, that you don't need a special admin-website, but instead you
can just pop open this overlay and manage everything from there.
Since i wouldn't want to
On 01/07/2009, at 6:10 AM, David Pollak wrote:
>
>
> On Mon, Jun 29, 2009 at 5:53 PM, Jonathan A Ferguson > wrote:
> It would be nice, is it a lot of effort to backport to 1.0.1 ?
>
> The bigger issue is "what is 1.0.1 and who/when will it come out"?
>
> Will any of the Lift committers sign up
This feature will be very useful for me also. Thanks.
However, I would like to be able to show a separate menu for the
MegaProtoUser menu items.
So it would be great if the MegaProtoUser built in menu items had some
default LocGroup set. Or if there was a way to change the LocGroup of
a Loc at r
Adriaan,
i believe the examples below indicate that Scala's type-checker agrees with
me that your proposed correction for my encoding allows for potential
loosening of "A"-ness. See the example below.
In English, in a monad C over A we don't want to encounter some other type
besides A's. We see t
This has been hurting me for quite a while now (raised it on list
about 2 months ago) and could really do with getting it fixed.
As derek points out, it's not a small change which is why I've done
nothing about it to date - a little too much core hacking to feel happy
If you think your able t
What missing doctype?
2009/6/29 fbettag
>
> On Safari i get "Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7".
> This seems to be a safari 4 specific problem due to content-type text/
> html+xml. See
> http://groups.google.com/group/jquery-en/browse_thread/thread/de95e8adf9c0ffb7
>
> On Jun
It's just an open item, and one that I had hoped I could contribute on. If
you have some ideas on restructuring the param handling I can take it from
there. No rush.
Derek
On Tue, Jun 30, 2009 at 3:33 PM, David Pollak wrote:
> What kind of priority is this issue? I think I can abstract things
What kind of priority is this issue? I think I can abstract things in such
a way that it works correctly, but it'll take a couple of days.
On Tue, Jun 30, 2009 at 2:08 PM, Derek Chen-Becker wrote:
> Well, as usual something that seemed simple at first glance is now looking
> somewhat complex. I'
On Tue, Jun 30, 2009 at 2:22 PM, Viktor Klang wrote:
> Create a tmp-file, store the localpath in S.param and register a delete on
> request done
>
> will be more streamlined than potentially monkeypatching it in
> Thoughts?
>
Huge hack
>
> -- Viktor
>
> On Jun 30, 2009 11:08 PM, "Derek Chen-B
Can you send the entire stack trace?
On Mon, Jun 29, 2009 at 5:37 PM, Peter Robinett wrote:
>
> In my app I have Datacenters which can have many Nodes. Accordingly, I
> added a foreign key in the Node model to link to its Datacenter.
> However, when I would go to the create or edit pages it would
Create a tmp-file, store the localpath in S.param and register a delete on
request done
will be more streamlined than potentially monkeypatching it in
Thoughts?
-- Viktor
On Jun 30, 2009 11:08 PM, "Derek Chen-Becker" wrote:
Well, as usual something that seemed simple at first glance is now lo
Well, as usual something that seemed simple at first glance is now looking
somewhat complex. I'm thinking of reworking the fileUpload handling to allow
a user to register either a (String, String, Array[Byte]) ⇒ Any or (String,
String, InputStream) ⇒ Any function, which would then be executed durin
Yes. The error you're getting looks like a version mismatch or some other
dependency issue. Can you wipe ~/.m2 and try th build again?
Derek
On Tue, Jun 30, 2009 at 10:44 AM, glenn wrote:
>
> Derek,
>
> I was out of town all last week and just tried to rebuild and run with
> your
> new changes,
Thanks, Marius, you answered my unspoken question as to whether the
callbacks registered with regular old form elements from SHtml are
called in the AJAX processing lifecycle. The hidden field piece
(instead of / in addition to a submit button) is what I was missing.
Kris
On Tue, Jun 30, 2009 at
On Mon, Jun 29, 2009 at 5:53 PM, Jonathan A Ferguson wrote:
> It would be nice, is it a lot of effort to backport to 1.0.1 ?
>
The bigger issue is "what is 1.0.1 and who/when will it come out"?
Will any of the Lift committers sign up to spin a 1.0.1 build and release?
>
> What is the state of
Imagine that your snippet has a bunch of form elements ... such as:
and your snippet function:
def form(xml: NodeSeq): NodeSeq = {
ajxForm(bind(
"f", xml,
"inputFirstName" ->SHtml.text("", (s) => {//do something here})
"inputLastName" ->SHtml.text("", (s) => {//do something
On Mon, Jun 29, 2009 at 9:05 PM, fbettag wrote:
>
> Hey guys,
>
> i was wondering how one would go about rendering a View from a
> Snippet. I guess i could Load the XML, but i am not sure if this is
> the best way. Also if it is, what would be the best way to get the
> path to the view?
>
Snippe
Hi, all,
I'm looking for some examples of uses of ajaxForm in cases where
multiple form elements are included and processed on submit. Can
someone point me in the right direction? The only examples I found in
the example apps on github were related to Comet.
Thanks,
Kris
--~--~-~--~---
Derek,
I was out of town all last week and just tried to rebuild and run with
your
new changes, but got the following error:
ERROR - Failed to Boot
java.lang.NoSuchMethodError: net.liftweb.sitemap.SiteMap.(Lscala/
Seq;)V
at bootstrap.liftweb.Boot.boot(Boot.scala:41)
at sun.reflec
I remembered this came up a long time ago as well:
http://groups.google.com/group/liftweb/browse_frm/thread/e58ba45f7c0a111d/20344ff205393ec7?lnk=gst&q=twitter+front#20344ff205393ec7
On Jun 30, 10:09 am, David Pollak
wrote:
> Personally, I'd use Scala's XML parsing to parse the feed... skip
Personally, I'd use Scala's XML parsing to parse the feed... skip the
external library.
You may also want to look at the ESME code
http://incubator.apache.org/esme/ There's an RSS reader and a Twitter
poller in there. The code is Apache
2.0 license, so you can use it without any license-related co
Thanks Tim. will definitely check out the lib (not sure of licensing
issues, plan on developing a product with it)
On Jun 30, 4:16 am, Timothy Perrett wrote:
> mark,
>
> take a look at:http://is.gd/1iUJN
>
> That should provide you some guidance. I notice from your example your
> trying to parse
I edited /etc/security/limits.conf to raise the default ulimit nofiles to
4096. If that's not enough I'll bump it again.
Derek
On Mon, Jun 29, 2009 at 3:37 PM, Viktor Klang wrote:
> ulimit -n
>
>
> http://stackoverflow.com/questions/114914/how-do-you-fix-too-many-open-files-problem-in-hudson
>
>
Jonas,
Did you roll this into master? What's its status?
Cheers, Tim
On Jun 10, 4:46 pm, James Strachan wrote:
> 2009/6/9 Jonas Bonér :
>
>
>
> > 2009/6/9 David Pollak :
> >> Jonas,
> >> We always use Maven to load dependencies. We never use GPL dependencies.
> >> If you have a question abou
Hello all,
has anyone managed to use the Alchim/YUI JS compressor (referenced in
the basic lift archetype) in a project?
When I create a blank Lift project and add any kind of JS file in the
src/main/webapp (or similar) folder, the compilation (or rather,
resource compression goal) fails with the
mark,
take a look at: http://is.gd/1iUJN
That should provide you some guidance. I notice from your example your
trying to parse the twitter feed? Perhaps if you want to do something
with twitter you should consider a proper twitter api lib:
http://code.google.com/p/java-twitter/
Cheers, Tim
On
Can you be a bit more specific? Is the whole page missing a doctype?
or just your ajax stuff?
If you could post both the html output code and the calling scala code
in question that would help a lot.
Cheers, Tim
On Jun 30, 6:39 am, fbettag wrote:
> Hey guys, i've been having troubles with jQue
Wicket works with scala (some blog/article over the net).
/davidB
On Tue, Jun 30, 2009 at 00:29, Naftoli Gugenhem wrote:
>
> But if your team already has a bit of scala knowledge and is planning to
> transition gradually, I wonder if you could write the lift-specific parts in
> scala and delegat
Or you can use S.locateMappedSnippet ... but first try to see if
nested snippet won't do the trick for you ...
On Jun 30, 10:17 am, "marius d." wrote:
> Can you paste some code?
>
> Essentially we support nested snippets so your snippet can simply
> return a markup containing another snippet and
Can you paste some code?
Essentially we support nested snippets so your snippet can simply
return a markup containing another snippet and it will be invoked. If
you really want to manually invoke a snippet from another snippet and
if you are not using StatefulSnippets you can just instantiate the
36 matches
Mail list logo