David Pollak feeder.of.the.be...@gmail.com writes:
At least the most recent version of Boot.scala has reasonable testing of
connection validity:
case x :: xs = try {
x.setAutoCommit(false)
Full(x)
} catch {
case e = try {
pool = xs
Change - to -%
Doing this preserves any element attributes, for example:
disabled=disabled
Cheers, Tim
On Oct 20, 6:30 am, sunanda sunanda.pa...@gmail.com wrote:
Hi,
I need to disable all the textfield and then want to enable the fields
for editing on click of a button.
How can i do this
David Pollak feeder.of.the.be...@gmail.com writes:
At least the most recent version of Boot.scala has reasonable testing of
connection validity:
case x :: xs = try {
x.setAutoCommit(false)
Full(x)
} catch {
case e = try {
pool = xs
On Tue, Oct 20, 2009 at 10:34 AM, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
David Pollak feeder.of.the.be...@gmail.com writes:
At least the most recent version of Boot.scala has reasonable testing of
connection validity:
case x :: xs = try {
x.setAutoCommit(false)
Hi all.
When using lift:bind-at, the result page is fine as I wished,
yet these warnings run into the log for every request:
WARN - Unused binding values for lift:bind: content, main
WARN - Unused binding values for lift:bind: sidebar, main
WARN - Unused binding values for lift:bind: sidebar
Am
Hi,
Previously i was working on version 1.1-M3 of lift framework and i
used autocomplete widget by override _toForm method in my Test.scala
file. It was something like that:
object Test extends Test with KeyedMetaMapper[Long, Test] with CRUDify
[Long,Test] {
(...)
}
class Test extends
Here is my argument for breaking it out:
I think that we're in agreement that the *default* impl for Lift should
eventually be Joda Time, after some period of deprecation on the old stuff.
I also agree with your earlier comment that it should be something that the
developer can choose. I'm sure
s/version 1.2-final/some future version/
On Tue, Oct 20, 2009 at 8:01 AM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Here is my argument for breaking it out:
I think that we're in agreement that the *default* impl for Lift should
eventually be Joda Time, after some period of deprecation
I encountered these and sent a message to the list last week or so. I
didn't hear anything back, maybe the best route is to file an issue?
http://github.com/dpp/liftweb/issues
-Ross
On Oct 20, 2009, at 5:30 AM, night_stalker wrote:
Hi all.
When using lift:bind-at, the result page is fine
Another note is that ScalaJPA provides a pretty thin wrapper on a JPA
persistence unit. Each persistence unit represents *one* database, so you
actually need more than one persistence unit to have connections to two
databases. I recently added support in 1.2-SNAPSHOT so that you can provide
a
Are you putting these changes in Review Board, or is this still experimental
work?
Derek
On Mon, Oct 19, 2009 at 9:02 AM, Joni Freeman freeman.j...@gmail.comwrote:
Added a way to change how 'type hints' are processed. The default is
NoTypeHints which will never output 'jsonClass' field. Then
I think that the ajaxText already handles an enter key as field
submission. Here's the code that defines an ajaxText field:
1. private def
ajaxText_*(value: String, jsFunc: Box[Call], func: AFuncHolder,
attrs: (String, String)*): Elem = {
2. val raw = (funcName: String,
Get firebug and look at the CSS hierarchy for the element. That should
locate where it's being overridden pretty quickly.
Derek
On Mon, Oct 19, 2009 at 9:53 PM, sunanda sunanda.pa...@gmail.com wrote:
Thats what I wonder. It should work. When I refer to a css file with
the border setting it
Hi - I think I'm following the rules in integrating reCaptcha into a
page, but I'm not seeing anything in the hidden fields when the form
is submitted. Am I making some kind of assumption I shouldn't be? I'm
rather new to Lift (and web development), so something on the simple
example side would
replying to myself a bit here - starting to figure some of this out:
Turns out it doesn't submit the values in the form, but rather as
parameters to the submission. I see I can get at those through
S.param(recaptcha_challenge_field), etc. This returns a Box
(Full), which I now need to
Yup please file a ticket. I think Derek worked on this a while ago.
Derek, please correct me if I'm wrong
Br's,
Marius
On Oct 20, 5:16 pm, Ross Mellgren dri...@gmail.com wrote:
I encountered these and sent a message to the list last week or so. I
didn't hear anything back, maybe the best
Here's the link to my previous report -- I did some code review when
looking at it last time, in case it's helpful for anyone.
http://groups.google.com/group/liftweb/browse_thread/thread/c40316267412460b/16c405be378566a0
-Ross
On Oct 20, 2009, at 1:13 PM, Marius wrote:
Yup please file a
Hi,
Yes I'll put these to Review Board soon. I just add some
documentation, rerun serialization benchmark and do a little bit
testing.
Unless someone wants to discuss details/alternatives/etc more...
Cheers Joni
On 20 loka, 18:22, Derek Chen-Becker dchenbec...@gmail.com wrote:
Are you putting
I was hoping to see something minimalistic and isolated so I can
quickly try it out.
I'm not sure what you do with redirect(/workflow/claims) but from
Ajax function you should probably use JsCmd.RedirectTo ..
Hopefully I'll have some time this weekend to play with tinyMCE
Br's,
Marius
On Oct
Does it help to change map to flatMap?
On Tue, Oct 20, 2009 at 7:15 AM, Tweek d.sztwio...@gmail.com wrote:
Hi,
Previously i was working on version 1.1-M3 of lift framework and i
used autocomplete widget by override _toForm method in my Test.scala
file. It was something like that:
object
Yes, but then how can I distinguish back on the server whether func is
being executed because of a blur (in which case I don't really want to
do anything) or because of a keypress of enter (in which case I want
to perform an action as if the go button had been pressed).
-harryh
On Oct 20, 11:27
S.param(recaptcha_challenge_field) match { case Full(value) = // work
with the value of 'value'
case _ = // deal with the fact that there's no result.
}
On Tue, Oct 20, 2009 at 12:49 PM, CodeSlave9000 ccebelen...@gmail.comwrote:
replying to myself a bit here - starting to figure some of
For a little more on Box (and Option), see
http://blog.lostlake.org/index.php?/archives/50-The-Scala-Option-class-and-how-lift-uses-it.html
On Tue, Oct 20, 2009 at 9:49 AM, CodeSlave9000 ccebelen...@gmail.comwrote:
replying to myself a bit here - starting to figure some of this out:
Turns
With the current function you can't. I can see a need for having the ajax
fired on key press and not on blur, so please open an issue and reference
this conversation.
Derek
On Tue, Oct 20, 2009 at 1:05 PM, harryh har...@gmail.com wrote:
Yes, but then how can I distinguish back on the server
Could someone give an example of a Sitemap menu entry that performs an
action and then redirects?Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
Is S.uri supposed to return the part of the URL after '?'?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group,
Loc(Feedback, List(feedback), Feedback, Loc.EarlyResponse(() =
{println(I like to redirect); S.redirectTo(S.referer openOr /)})
On Tue, Oct 20, 2009 at 2:50 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Could someone give an example of a Sitemap menu entry that performs an
action and then
On Tue, Oct 20, 2009 at 2:48 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Is S.uri supposed to return the part of the URL after '?'?
No
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me:
Menu(Loc(logout, List(logout), logout, Template(() =
{ User.logout }), ifLoggedIn)) ::
object User {
def logout = {
logUserOut
S.redirectTo(/)
}
}
On Oct 20, 5:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
Could someone give an example of a Sitemap menu entry that performs
Folks,
I've just pushed the completed Lift Actor code to the dpp_wip_actorize
branch. Jonas and I coordinated on the Actor API and Akka Actors will use
the same basic trait so Akka Actors could be used to power Lift's Comet.
I am ready to push this code to SNAPSHOT. When I do this, there will
On Tue, Oct 20, 2009 at 4:15 AM, Tweek d.sztwio...@gmail.com wrote:
Hi,
Previously i was working on version 1.1-M3 of lift framework and i
used autocomplete widget by override _toForm method in my Test.scala
file. It was something like that:
object Test extends Test with
I'm having trouble doing an mvn install on the JPA example from the
book...
mvn archetype:generate \
-DarchetypeRepository=http://scala-tools.org/repo-snapshots \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-jpa-basic \
-DarchetypeVersion=1.1-SNAPSHOT \
Or, if you're OK with it, I could just make a lift-joda module that has the
traits. That would also keep the Joda Time dependency out of the main lift
modules.
On Tue, Oct 20, 2009 at 5:48 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
On Tue, Oct 20, 2009 at 4:59 PM, David Pollak
Still getting the same issue, with
mvn -U archetype:generate \
-DarchetypeRepository=http://scala-tools.org/repo-snapshots \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-jpa-basic \
-DarchetypeVersion=1.1-SNAPSHOT \
-DgroupId=com.foo.jpaweb \
-DartifactId=JPADemo \
Thanks Tim
On Oct 20, 6:02 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Change - to -%
Doing this preserves any element attributes, for example:
disabled=disabled
Cheers, Tim
On Oct 20, 6:30 am, sunanda sunanda.pa...@gmail.com wrote:
Hi,
I need to disable all the textfield
I agree with this.
My understanding is that the goal is that Lift should use Joda for its time
functions rather than java.util. If the Joda methods have different and longer
names, then it's existing side by side with the java.util implementation, not
replacing it.
To many people, it is
Then my addition to MetaMegaProtoUser of loginRedirect has a bug, because
loginFirst sets it based on S.uri.
Since I'm not usually around an internet connection, I won't be able to go
through filing a ticket, putting a diff on Review Board, and pushing it, in any
small amount of time.
On Tue, Oct 20, 2009 at 6:20 PM, Neil.Lv anim...@gmail.com wrote:
Hi all,
I have a newbie issue about the path .
The css, javascript, images folder are all in the WEB-INF or you
can specify the path ?
WEB-INF is where the stuff that's not going to be served by the container
lives.
On Tue, Oct 20, 2009 at 6:56 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
I agree with this.
My understanding is that the goal is that Lift should use Joda for its time
functions rather than java.util.
This is not the goal. The goal is to make JodeTime available. There is no
reason to
I have the following method display. source.body has html tags in it
but the actual tags are showing instead of being evaluated. e.g. I'm
seeing things like 'bHey There/b' instead of 'Hey There' in bold.
This method is in a CometActor and is running when the page is
rendered. Am I missing
40 matches
Mail list logo