Alex Black a...@alexblack.ca writes:
Is there a good/reasonable way to conditionally output
checked=checked or output nothing?
If you output null for the attribute value, the attribute is not
rendered:
scala bind(stuff, input type=checkbox stuff:s=/,
AttrBindParam(s,Text(checked),checked))
I opened ticket http://github.com/dpp/liftweb/issues#issue/216 and
assign it to myself.
Br's,
Marius
On Dec 1, 2:33 am, David Pollak feeder.of.the.be...@gmail.com wrote:
On Fri, Nov 27, 2009 at 1:52 PM, Marius marius.dan...@gmail.com wrote:
For a default behavior this is a reasonable
Who recommended storing files inside exploded war? I certainly did
not. I explained several possible approaches that most definitely work
and were used in the past quite extensively and successfully.
Personally I'm not a big fan of storing files payload in RDBMS.
Br's,
Marius
On Dec 1, 12:30
@Marius:
Thanks, I will look into it :-)
@Timothy:
I'm just generally interested what additional modules there are - for
example the best I could find about it (documentation-wise) is this:
http://scala-tools.org/mvnsites/liftweb-1.0/lift-paypal/index.html.
All I'm saying is there seem to be many
Documentation is a wider issue right now, and one that needs to be addressed
quite seriously as we move toward 2.0.
Right now, the best thing to do if you've looked at the code comments, looked
in the archives and are still not sure of something then just post a question.
Cheers, Tim
On 2 Dec
Hi all,
I'm currently evaluating Lift for a new project I'll be working on
soon, and I'm looking for a little input regarding if/how I can manage
transactions across two databases.
It's going to be a bunch of web services over two MySQL databases.
I'll need to synchronize transactions across the
deadfolk deadf...@gmail.com writes:
[...]
I'll likely be using plain JDBC or JPA. What would be my options in
Lift? Can I get a list of connections and just use a filter (or
equivalent) to begin/commit/rollback on each within every request?
I've done some searching, but I've not found
Hi all,
How to fix the bug in firefox that application/xhtml+xml doesn't
have the write() method ?
The document object created in Firefox when the mime type is
application/xhtml+xml does not have the write() method.
I have a script that need to use the document.write method in the
lift
Put this in your boot.scala
LiftRules.useXhtmlMimeType = false
cheers, Tim
On 2 Dec 2009, at 12:42, Neil.Lv wrote:
Hi all,
How to fix the bug in firefox that application/xhtml+xml doesn't
have the write() method ?
The document object created in Firefox when the mime type is
Hi Neil
document.write() isn't allowed for real xml files like xhtml+xml
where an xml parser checks for well-formedness of the xml. You should
be able to use things like appendChild().
Regards
Arthur
On 2 Dez., 13:42, Neil.Lv anim...@gmail.com wrote:
Hi all,
How to fix the bug in firefox
Thanks Jeppe, that works perfectly.
On Dec 2, 3:32 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Alex Black a...@alexblack.ca writes:
Is there a good/reasonable way to conditionally output
checked=checked or output nothing?
If you output null for the attribute value, the attribute is not
Marius,
Thanks, I will have a look at it. But I'll have to dive even deeper
into Lift, and don't know if it's worth it compared to using another
framework. I'll try to make up my mind.
Job
On Nov 30, 11:08 pm, Marius marius.dan...@gmail.com wrote:
Ahh so you want direct links to those
David,
Storing files inside the exploded WAR file is a tremendously bad idea. I
don't think we should be helping a user do something that is going to
continue to cause him pain.
If he needs to upload images, etc. and then subsequently present them to the
user, it's two tables in the RDBMS
David,
I'm all for putting stuff in a well-know location in the filesystem... and
defining that well known location in the props file.
OK, then this is what I want. But you refer to THE props file. Do
you mean
a Jetty props file, a general Lift props file, a user defined props
file?
I
I set the XhtmlMimeType to false, and it can works now!
###
LiftRules.useXhtmlMimeType = false
###
Thanks very much!
Cheers,
Neil
On Dec 2, 9:03 pm, Arthur avand...@gmail.com wrote:
Hi Neil
document.write() isn't allowed for real xml files like xhtml+xml
where an xml parser checks
null... shudder. :-)
On Wed, Dec 2, 2009 at 12:32 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Alex Black a...@alexblack.ca writes:
Is there a good/reasonable way to conditionally output
checked=checked or output nothing?
If you output null for the attribute value, the attribute is not
Hi all,
I want to query the records of the RMDBS every several minutes.
Does use the ActorPing or something else to achieve this purpose ?
Is there an example that about the ActorPing ?
Thanks for any suggestion !
Cheers,
Neil
--
You received this message because you are
On Tue, Dec 1, 2009 at 9:20 PM, Joern joern.bernha...@gmx.net wrote:
Hi,
I just want to see the statements Schemifier.schemify() would use to
create all my tables. Right now, it only creates statements, if there
is no such table in the DB. How could I avoid having it look at the
existing
Neil,
ActorPing is what you want, yes. Essentially, calling it says in X time span
call Z method - if you need repeating behaviour, just put a call to actor ping
at the end of the Z method to reschedule it.
That should be all you need.
Cheers, Tim
On 2 Dec 2009, at 16:39, Neil.Lv wrote:
David Pollak feeder.of.the.be...@gmail.com writes:
null... shudder. :-)
Yeaah, somehow it doesn't look nice anymore :-) Your idea with an Option/Box
for attribute binding seems nice clean
/Jeppe
On Wed, Dec 2, 2009 at 12:32 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Alex Black
On Wed, Dec 2, 2009 at 2:23 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
David Pollak feeder.of.the.be...@gmail.com writes:
Folks (especially Jeppe),
I've added a second rewrite phase to Lift. The second phase takes place
within S scope, so you get SessionVars, etc. The review board
On Wed, Dec 2, 2009 at 5:27 AM, jhonig al...@xs4all.nl wrote:
David,
I'm all for putting stuff in a well-know location in the filesystem...
and
defining that well known location in the props file.
OK, then this is what I want. But you refer to THE props file. Do
you mean
a Jetty
Lift has a properties mechanism (see net.liftweb.util.Props). You can
define properties based on user name, machine name, and runmode. This
allows you to have different temporary directories depending on the
developer/machine/run mode.
OK, I'll have a look. For now I am trying to serve
Can anybody point me to the proper documentation for Jetty 7?
I found that http://docs.codehaus.org/display/JETTY/Static+Content
is outdated, the classes referred to do not exist anymore in Jetty 7.
Just replacing mortbay by eclipse in the class names didn't help...
Then Google gave me:
Lift is not yet compatible with Jetty 7 continuations... if you want to use
comet, please use Jetty 6 for the moment.
Cheers, Tim
On 2 Dec 2009, at 17:55, jhonig wrote:
Can anybody point me to the proper documentation for Jetty 7?
I found that
Probably better asked on the Jetty mailing list... but...
http://wiki.eclipse.org/Jetty is the new site for Jetty 7+ documentation.
It's still sparse but they are moving/updating the documentation
incrementally.
Which page(s) asked you for registration?
alex
On Wed, Dec 2, 2009 at 9:55 AM,
Hi,
It would be cool if when I did something like this:
SHtml.a(()= SetHtml(id, findAnyTemplate(List(foo)).open_!))
The script tags within the foo template were filtered out and the
the contained JavaScript were executed.
I created my own SetHtml to achieve that, but I'm wondering if this
Jon, that sounds very interesting and I'd love to see it. S3 support
in general would be a great module for Lift, in my opinion.
Peter
On Dec 2, 10:24 am, jon jonhoff...@gmail.com wrote:
For those that are using s3, I created a MappedS3Image MappedField for
automating the storage of image
I think the feature has merits. I can see it either as an alternative to
SetHtml (e.g., SetAndRun) or as a flag on SetHtml so existing code runs the
same way.
On Wed, Dec 2, 2009 at 11:00 AM, Marius marius.dan...@gmail.com wrote:
Personally I have reservations about this. If you want to
Hi Tim,
Lift is not yet compatible with Jetty 7 continuations... if you want to use
comet, please use Jetty 6 for the moment.
I don't use comet. But is this dependency mentioned anywhere in the
Lift docs? Can't remember
having seen any such information!
Job
--
You received this message
Lift doesn't necessarily require Jetty 6. Lift runs pretty much on any
JEE web container including jetty 7. But Lift comet support
automatically detects Jetty 6 continuations API and use it. If that is
missing Lift will gracefully fall back in using a locking based
mechanism for Comet. Of course
Hey Marius,
Im not 100% sure that Servlet 3.0 will solve our problems... im
worried that the vendors will not standardise once again (they are
already diverging paths in early access servlet 3.0
implementations)...
To this end, I cant help but wonder if we will end up falling back on
something
On Wed, Dec 2, 2009 at 12:24 PM, Timothy Perrett timo...@getintheloop.euwrote:
Hey Marius,
Im not 100% sure that Servlet 3.0 will solve our problems... im
worried that the vendors will not standardise once again (they are
already diverging paths in early access servlet 3.0
It should be in place now. Can you verify that it's working for you?
On Fri, Nov 27, 2009 at 6:49 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
http://reviewboard.liftweb.net/r/129/
I'll check this in to master in the morning.
On Fri, Nov 27, 2009 at 8:53 AM, Derek Chen-Becker
On Dec 2, 10:26 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Wed, Dec 2, 2009 at 12:24 PM, Timothy Perrett
timo...@getintheloop.euwrote:
Hey Marius,
Im not 100% sure that Servlet 3.0 will solve our problems... im
worried that the vendors will not standardise once again
Comments below.
On Dec 2, 2:00 pm, Marius marius.dan...@gmail.com wrote:
Personally I have reservations about this. If you want to include
templates in this manner why use script tags in those templates ? ...
I have existing templates which load as static pages and want to
convert to ajaxy
Folks (HarryH -- this means you),
I've just checked in code on the dpp_issue_213 that does Mapper - JObject
bridging using the awesome lift-json library.
The methods on MetaMapper:
protected def encodeAsJSON_! (toEncode: A): JsonAST.JObject
protected def decodeFromJSON_!(json: JsonAST.JObject):
Not for single, though I should be able to manually merge.
On Nov 27, 5:49 am, Indrajit Raychaudhuri indraj...@gmail.com wrote:
Fixed in snapshot repo :)
The following command should give you a good project now.
mvn archetype:generate -DarchetypeRepository=http://scala-tools.org/
disregard, user error.
On Dec 2, 6:23 pm, Todd ojint...@gmail.com wrote:
Not for single, though I should be able to manually merge.
On Nov 27, 5:49 am, Indrajit Raychaudhuri indraj...@gmail.com wrote:
Fixed in snapshot repo :)
The following command should give you a good project now.
Welcome Jon!
On Dec 2, 6:25 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Folks,
It may or may not be true that for Jon Hoffman that Martin Odersky praises
[his] valuable contributions. [He] can read APIs in the
dark.http://udorse.com/about/jobsBut Jon's made a valuable
contribution
Welcome Jon!
On Thu, Dec 3, 2009 at 8:25 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Folks,
It may or may not be true that for Jon Hoffman that Martin Odersky praises
[his] valuable contributions. [He] can read APIs in the dark. But Jon's
made a valuable contribution to Lift as
Welcome Jon!
Its new-committer-o-rama!! I need to get on top of the current team list to
revise the site etc
Cheers, Tim
On 2 Dec 2009, at 23:25, David Pollak wrote:
Folks,
It may or may not be true that for Jon Hoffman that Martin Odersky praises
[his] valuable contributions. [He] can
It's been a long time since I looked at that particular code, so I may have
misspoke. Having said that, if it's currently disabled in the driver I'm not
sure why and I would want to review it before saying that it works properly
in all cases.
Derek
On Sun, Nov 29, 2009 at 1:11 PM, Julian Backes
Hi Derek,
It's been a long time since I looked at that particular code, so I may
have misspoke. Having said that, if it's currently disabled in the
driver I'm not sure why and I would want to review it before saying that
it works properly in all cases.
I think the problem here is that the
Thanks very much, yeah, that what i want.
Is there a wiki example tutorial ?
Cheers,
Neil
On Dec 3, 12:46 am, Timothy Perrett timo...@getintheloop.eu wrote:
Neil,
ActorPing is what you want, yes. Essentially, calling it says in X time span
call Z method - if you need repeating
Is there a way to configure Lift not to call request.getSession(true)
in the servlet api? I do not want to use the servlet api session
tracking. I plan on storing some of the state in an AES encrypted
cookie and the rest in hidden form fields.
Any assistance would be appreciated.
Thanks.
Is there a way to configure Lift not to call request.getSession(true)
in the servlet api? I do not want to use the servlet api session
tracking. I plan on storing some of the state in an AES encrypted
cookie and the rest in hidden form fields.
Any assistance would be appreciated.
Thanks.
On Wed, Dec 2, 2009 at 5:39 PM, Shawn C cla...@gmail.com wrote:
Is there a way to configure Lift not to call request.getSession(true)
in the servlet api?
No.
I do not want to use the servlet api session
tracking. I plan on storing some of the state in an AES encrypted
cookie and the
Sounds really cool. Welcome Jon!
On Dec 3, 1:25 am, David Pollak feeder.of.the.be...@gmail.com wrote:
Folks,
It may or may not be true that for Jon Hoffman that Martin Odersky praises
[his] valuable contributions. [He] can read APIs in the
dark.http://udorse.com/about/jobsBut Jon's made a
Thanks for the warm welcome! Lift's been super productive for me and
I'm happy to have the oppurtunity to give back.
On Dec 2, 6:56 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Welcome Jon!
Its new-committer-o-rama!! I need to get on top of the current team list to
revise the site
Welcome, Jon!
2009/12/3 David Pollak feeder.of.the.be...@gmail.com
Folks,
It may or may not be true that for Jon Hoffman that Martin Odersky
praises [his] valuable contributions. [He] can read APIs in the
dark.http://udorse.com/about/jobsBut Jon's made a valuable contribution to
Lift as
Not yet - feel free to add one! There plenty of examples within lift
itself though tho.
Cheers, Tim
Sent from my iPhone
On 3 Dec 2009, at 01:43, Neil.Lv anim...@gmail.com wrote:
Thanks very much, yeah, that what i want.
Is there a wiki example tutorial ?
Cheers,
Neil
On Dec 3,
52 matches
Mail list logo