I have a pair of templates which rely on both a Snippet and a
CometActor. There appears to be a dependency injection process of
sorts where lift_page is defined and liftAjax.js is included. However,
it looks like the list of things is being included in reverse order.
The results seem to be the
On Tue, Mar 2, 2010 at 11:07 AM, Rick R rick.richard...@gmail.com wrote:
I have a pair of templates which rely on both a Snippet and a
CometActor. There appears to be a dependency injection
Dependency injection is an entirely different concept. Lift rewrites the
page as it goes out
They are not being rendered in reverse. There is no problem. The code
works correctly.
Why?
First, the code in the CometActor is a call a function in response to an
event. The page will be loaded before you can press the button or otherwise
cause the event to be dispatched.
Second, as I
That's funny, because I'm a Haskell coder. As soon as I hit
Javascript, both sides of my brain turn off. I think it's the curly
braces that do it.
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
On Thu, Feb 25, 2010 at 12:40 PM, Richard richard.m.willi...@gmail.com wrote:
I have pages that I've created with standard HTML forms and javascript
validation. What is the fastest or best way to use them in my Lift
app? Do I have to completely rewrite in Lift snippets using JsCmds in
order to
I have a textarea in which I process onKeyUp and onKeyDown commands.
The handlers for such things are custom javascript.
I would like to invoke functions in a Comet LiftActor /
ListenerManager via these custom javascript functions. Is there
documentation on the recommended way to do so?
It looks
on the client (this example works in non-IE browsers, but that's
just 'cause I'm using event.which rather than event.keyCode).
Hope this helps.
Thanks,
David
On Wed, Feb 24, 2010 at 8:23 AM, Rick R rick.richard...@gmail.com wrote:
I have a textarea in which I process onKeyUp
PM, Rick R wrote:
That works beautifully, thanks.
With regards to using custom javascript functions, I have a function
processKeyPress. It's role is to filter key presses, only send events
to the server upon certain key presses.
I guess the easiest way to handle this would be to pass
John De Goes as in the author of Cutting-Edge 3d Game Programming With C++ ?
That book convinced me that I could be a professional computer (and
game) programmer.
I still have that book on my bookshelf :)
I look forward to seeing what you can do with Lift. I might decide to
become a web
I have added a mapping of game_state to the DispatchSnippet GameState.
This works for game_state.list, but fails for game_state.addGame,
shown below.
What did I screw up this time?
WARN - Snippet Failure: SnippetFailure(/ -
ParsePath(List(index),,true,false),Full(game_store.addGame),Stateful
reflection to find a method with the same name. So, you
need to add:
case addGame = addGame
to your def dispatch
-Ross
On Oct 6, 2009, at 11:19 AM, Rick R wrote:
I have added a mapping of game_state to the DispatchSnippet
GameState. This works for game_state.list, but fails
lift-webutil
On Tue, Sep 29, 2009 at 2:11 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Tue, Sep 29, 2009 at 11:08 AM, Timothy Perrett timo...@getintheloop.eu
wrote:
OK - that I can understand.
Could I suggest however that we find a different name? Both myself and
Marius
12 matches
Mail list logo