I absolutely agree with the last statement. We changed from MySQL to
PostgreSQL. Most of us here are Oracle DBAs, and we feel at home with
PostgreSQL. We have made tests in the three platforms and we have
chosen PostgreSQL. PostgreSQL gives us most of the main features of
Oracle in an open
I agree that the goal isn't to remove java.util.Date. For trivial time
handling it works just fine. What I'm trying to achieve here is a way to
make Joda Time be the default impl while leaving the user a choice. By using
separate traits instead of different names on the same trait, we achieve a
few
OK, I see why this is happening. the {exp} in the NodeSeq convert exp
to a String. So I did by creating a string and then converting it to a
NodeSeq at the end. Is there a way to do this without using and
intermediary string?
On Oct 21, 1:03 am, jack wrote:
> I have the following method display.
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 'Hey There' instead of 'Hey There' in bold.
This method is in a CometActor and is running when the page is
rendered. Am I missing something o
On Tue, Oct 20, 2009 at 6:56 PM, Naftoli Gugenheim wrote:
>
> 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 remove support f
On Tue, Oct 20, 2009 at 6:20 PM, Neil.Lv 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. Put images
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.
---
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 importa
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 ?
Thanks for any suggestion!
Cheers,
Neil
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Thanks Tim
On Oct 20, 6:02 pm, Timothy Perrett wrote:
> Change -> to -%>
>
> Doing this preserves any element attributes, for example:
> disabled="disabled"
>
> Cheers, Tim
>
> On Oct 20, 6:30 am, sunanda wrote:
>
>
>
> > Hi,
> > I need to disable all the textfield and then want to enable the f
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 \
-Dver
For some reason the pom.xml files in the JPA archetypes referred to lift M4
rather than SNAPSHOT. I've pushed a change. Once the build (
http://hudson.scala-tools.org/job/Lift/1298/ ) is done, try re-executing
your mvn command (make sure you do a mvn -U to pull the latest).
To the committers - s
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 wrote:
> On Tue, Oct 20, 2009 at 4:59 PM, David Pollak <
> feeder.of.the.be...@gmail.c
On Tue, Oct 20, 2009 at 4:59 PM, David Pollak wrote:
> What I checked in allows you to use JodaTime just as easily (well with 2
> extra characters in a few method names) as java.util.Date. How is anything
> more "default" than that?
>
My primary concern with this approach is that it makes chang
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 \
-DgroupId=com.fo
Please file a ticket.
On Mon, Oct 19, 2009 at 7:04 PM, harryh wrote:
>
> > See ProtoExtendedSession
>
> It might be kind of annoying to change at this point, but "experation"
> is a misspelling in this trait.
>
> -harryh
>
> >
>
--
Lift, the simply functional web framework http://liftweb.net
On Tue, Oct 20, 2009 at 7:01 AM, Derek Chen-Becker wrote:
> 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.
What I checked in allows you to use JodaT
On Tue, Oct 20, 2009 at 4:15 AM, Tweek 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 KeyedMetaMapper[Long, Test] with
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 b
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 wrote:
> Could someone give an example of a Sitemap menu entry that performs an
> action
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 wrote:
> Could someone give an example of a Sitemap menu entry that performs an
> action and then redirects
On Tue, Oct 20, 2009 at 2:48 PM, Naftoli Gugenheim wrote:
> 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: http://twitter.com/dpp
Surf
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, se
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 liftweb@googl
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 wrote:
>
> Yes, but then how can I distinguish back on the server whether func is
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 wrote:
>
> replying to myself a bit here - starting to figure some of this out:
>
> Turns out it doesn't subm
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 wrote:
>
> replying to myself a bit here - starting to figure some of this out:
>
> Turn
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
Does it help to change map to flatMap?
On Tue, Oct 20, 2009 at 7:15 AM, Tweek 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 Tes
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 Oc
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 wrote:
> Are you putting these changes in Rev
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
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 wrote:
> 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
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 fi
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 p
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 wrote:
>
> Thats what I wonder. It should work. When I refer to a css file with
> the border setting it works,
> but not with
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, value:St
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 wrote:
>
> Added a way to change how 'type hints' are processed. The default is
> NoTypeHints which will never output 'jsonClass' field. Then there's
> ShortType
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 prope
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 , the result page is fine as I wish
s/version 1.2-final/some future version/
On Tue, Oct 20, 2009 at 8:01 AM, Derek Chen-Becker wrote:
> 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.
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 th
Which liftweb version are you using ?
I've signaled a bug a few month ago, it was very very quickly fixed (thank
you again Derek for your reactivity !). My jpa apps are in production and I
have no such issue remaining, scalajpa looks like to be very stable.
Once, I wrongly specified a wrong "persi
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 KeyedMappe
Hi all.
When using , the result page is fine as I wished,
yet these warnings run into the log for every request:
WARN - Unused binding values for : content, main
WARN - Unused binding values for : sidebar, main
WARN - Unused binding values for : sidebar
Am I missing something, or, can I disable
On Tue, Oct 20, 2009 at 10:34 AM, Jeppe Nejsum Madsen wrote:
> David Pollak 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 {
David Pollak 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
> poolSi
Change -> to -%>
Doing this preserves any element attributes, for example:
disabled="disabled"
Cheers, Tim
On Oct 20, 6:30 am, sunanda 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 with the followin
48 matches
Mail list logo