BTW ... there were previous discussions that for 1.1 we'll deprecate
lift:bind, right? ... if so with-param would also be deprecated ... or
am I missing something?
Br's,
Marius
On Apr 27, 1:05 am, Timothy Perrett wrote:
> > Things changed with this code 2 days ago... independent of the 2.7.4 up
Hi David :
I think I need some really simple example, for example
Can you give me the detail how to make this ?
It doesn't seem to work as
>From the Liftbook, there are some advanced examples with Comet and
Ajax,
but my problem is even some simple things I don't know how to make it.
The p
On Sun, Apr 26, 2009 at 12:06 PM, Timothy Perrett
wrote:
>
> Guys,
>
> Just pulled the latest lift codebase and finding that an existing
> project im working on now has problems with the syntax:
>
>
> .
>
>
> I see this on the console of jetty:
>
> WARN - Snippet Failure: SnippetFailure(/
On Sun, Apr 26, 2009 at 7:45 AM, sailormoo...@gmail.com <
sailormoo...@gmail.com> wrote:
>
> > The type of a if expression (without and else) is always Unit. Unit is
> > always blank in XML, and thus you never get anything.
> Why ?? It doesn't make sense??
What is the type of the expression:
On Sun, Apr 26, 2009 at 1:11 PM, Tobias Daub wrote:
>
> Hi There,
>
> I've got a compiler error when I tried to override those new CRUDify
> methods.
>
> value editMenuLocParams is not a member of org.tobster.model.LimitOrder
> with
> net.liftweb.mapper.KeyedMetaMapper[Long,org.tobster.model.Limi
> Things changed with this code 2 days ago... independent of the 2.7.4 update.
> Marius moved the various tags into snippets.
Yeah I realized that once I trawled the commits.
> I think he checked in a fix a few minutes ago.
Indeed he has and its now working once more.
Cheers, Tim
--~--~
My suggestion is as follows:
- Don't try to serve dynamic JavaScript via snippets unless you use the
net.liftweb.http.js._ stuff... it's just too much pain
- Serve the dynamic JavaScript stuff via a custom dispatch (DispatchPF)
- If you can post a few of the existing JavaScript files I
Hi There,
I've got a compiler error when I tried to override those new CRUDify
methods.
value editMenuLocParams is not a member of org.tobster.model.LimitOrder
with
net.liftweb.mapper.KeyedMetaMapper[Long,org.tobster.model.LimitOrder]
with ScalaObject
I tried it with showAllMenuLocParams to
Thanks for the help.
The Javascript isn't written by me, and it's originally from a PHP
code.
What I do is porting and rewriting the PHP to Lift, which sometimes I
feel a bit tiresome,
I can directly use the code from PHP, but it's very hard to read,
and if I want to make it clearer, it takes tim
> The type of a if expression (without and else) is always Unit. Unit is
> always blank in XML, and thus you never get anything.
Why ?? It doesn't make sense??
With an "else" then you get a type, isn't it a bit magical ?
--~--~-~--~~~---~--~~
You received thi
done.
On Apr 26, 11:00 pm, Timothy Perrett wrote:
> Thanking you kind sir!
>
> Cheers, Tim
>
> On 26/04/2009 20:51, "marius d." wrote:
>
> > Yup the snippets stuff ... I'll fix it now.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Thanking you kind sir!
Cheers, Tim
On 26/04/2009 20:51, "marius d." wrote:
> Yup the snippets stuff ... I'll fix it now.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, sen
Yup the snippets stuff ... I'll fix it now.
On Apr 26, 10:11 pm, Timothy Perrett wrote:
> Correction, it appears this commit broke the snippet code:
>
> http://github.com/dpp/liftweb/commit/c27d8497cf671d250c55370e4407c15b...
>
> Cheers, Tim
>
> On Apr 26, 8:06 pm, Timothy Perrett wrote:
>
> >
George,
To tell lift what doctype you want to use see my blog post here:
http://is.gd/uJ4L
Also, you'll want to read another one of my posts in which I discuss
the bind(...) method and how you can stop putting markup into your
snippets: http://is.gd/sfyT
Cheers, Tim
On Apr 26, 1:02 pm, george
Correction, it appears this commit broke the snippet code:
http://github.com/dpp/liftweb/commit/c27d8497cf671d250c55370e4407c15bd8e3dd0f#diff-8
Cheers, Tim
On Apr 26, 8:06 pm, Timothy Perrett wrote:
> Guys,
>
> Just pulled the latest lift codebase and finding that an existing
> project im work
Guys,
Just pulled the latest lift codebase and finding that an existing
project im working on now has problems with the syntax:
.
I see this on the console of jetty:
WARN - Snippet Failure: SnippetFailure(/ -> ParsePath(List
(index),,true,false),Full(with-param),Class Not Found)
N
Hi,
As you well by now you can use Ajax with Lift in quite several ways.
However one particular practice is for the server to send down the
JSON structure and user function to "manually" process it.
The thing is that our lift_ajaxHandler JS function takes a success and
failure functions but to t
Oh wow ... no offense but I haven't seen such code in a while :) .. I
see the code but it's difficult to understand the problem that you are
trying to solve ... looks like you are building a clock. For building
reasonable small JavaScript I'd recommend using Lif't's JavaScript
abstraction (JsExp/J
On Sat, Apr 25, 2009 at 11:07 PM, mal3 wrote:
>
> Hi David,
>
> I saw your Twitter post a month ago
>
> "Walked out of a very bad keynote ... coding is more fun ... looking
> forward to learning about GWT"
>
> Do you see ways to incorporate GWT into Lift?
Not really.
GWT is all about Java. Th
Howdy,
Try this at the Scala REPL (the Scala command line):
scala> if (true)
scala>
The type of a if expression (without and else) is always Unit. Unit is
always blank in XML, and thus you never get anything.
Please change to if (true) else NodeSeq.Empty
scala> import scala.xml._
import scal
hello all,
hopefully someone can help me out here.
i am trying to port some simple ajax stuff over to lift from a rails
app. basically it just loads an html fragment and puts it into the dom
using prototype.
i have set up a template which contains the fragment at src/main/
webapp/fragment.html
Hi :
I want to ask why the won't appear in the following XML code.
And if I want to make such effect ? the "if" is inside an outer tag
following by a previous tag, how could I do ?
Thanks
scala> {if(1==1) }
res26: scala.xml.Elem =
--~--~-~--~~~---~--~~
Y
Here is the current solution. It's not clean, but I cannot think of
better idea for the code.
bind("entry", xhtml,
"js_realtimeoutput" -> {Unparsed
(js_realtime_output(room_day, room))})
private def js_realtime_output(room_day: RoomDay, room: Room) : String
= {
def date_string(datetim
Hi David,
I saw your Twitter post a month ago
"Walked out of a very bad keynote ... coding is more fun ... looking
forward to learning about GWT"
Do you see ways to incorporate GWT into Lift?
Regards, Mal.
--~--~-~--~~~---~--~~
You received this message because
24 matches
Mail list logo