I vote for this! Personally I do not completely understand all the
possibilities Failure gives and how to achieve these. BTW, I found
recently the appendix about Boxes disappeared from the printed Lift
book :(
On Jul 2, 5:55 pm, Timothy Perrett timo...@getintheloop.eu wrote:
We really ought to
Yes, it's available on the APress website. It was omitted due to an issue
with the APress workflow :(
http://www.apress.com/book/view/1430224215
Derek
On Fri, Jul 3, 2009 at 8:22 AM, Alexander Azarov alaz...@gmail.com wrote:
I vote for this! Personally I do not completely understand all the
On Wed, Jul 1, 2009 at 10:43 PM, g-man gregor...@gmail.com wrote:
I'm getting a Null Pointer: 'Trying to open an empty box', from S.attr
(todos).open_!
Don't use open_! It's dangerous.
That's why Boxes exist. They contain (or don't) something that may or may
not exist. If you use open_!
The open_! came right from the 'Getting Started' Todo tutorial I am
enhancing:
Listing 17: list method in TD class
def list(html: NodeSeq) = {
val id = S.attr(all_id).open_!
Nevertheless, the question remains: How can I filter the Todo items by
a Tag and render the list?
I guess I could
On Thu, Jul 2, 2009 at 6:55 AM, Timothy Perrett timo...@getintheloop.euwrote:
We really ought to get around to writing a “guides for boxes” - its easily
one of the most confusing concepts in lift (a magnitude less confusing
than when it was called Can[T])
But of course I know this :-)
Thinking back to when I first started scala a couple of years ago I just
couldn¹t understand why you wanted to put something in a box... Your article
does a good job of explaining, but I think we could do with some specific
documentation.
Cheers, Tim
On
We really ought to get around to writing a ³guides for boxes² - its easily
one of the most confusing concepts in lift (a magnitude less confusing
than when it was called Can[T])
Cheers, Tim
On 02/07/2009 14:46, David Pollak feeder.of.the.be...@gmail.com wrote:
On Wed, Jul 1, 2009 at
I will look into the nested snippets.
For expediency, I folded all the snippets that interact with my
template into one file, so I can concentrate on the business logic.
For my Todo app enhancement, I need to pass the id of my selected Tag
(which I have confirmed is correctly gathered from the
On Wed, Jul 1, 2009 at 2:28 PM, g-man gregor...@gmail.com wrote:
I will look into the nested snippets.
For expediency, I folded all the snippets that interact with my
template into one file, so I can concentrate on the business logic.
For my Todo app enhancement, I need to pass the id of
I'm getting a Null Pointer: 'Trying to open an empty box', from S.attr
(todos).open_!
Here's my layout:
todo.html template
lift:TD.listTodos todos=todos
--- Todo list table stuff ---
lift:TD.listTags tags=tags
--- Tag list table stuff (where the selection to filter comes from)
Where is the second list getting called from? Code?
-
g-mangregor...@gmail.com wrote:
I'm getting a Null Pointer: 'Trying to open an empty box', from S.attr
(todos).open_!
Here's my layout:
todo.html template
lift:TD.listTodos todos=todos
Can you paste some code?
Essentially we support nested snippets so your snippet can simply
return a markup containing another snippet and it will be invoked. If
you really want to manually invoke a snippet from another snippet and
if you are not using StatefulSnippets you can just instantiate
Or you can use S.locateMappedSnippet ... but first try to see if
nested snippet won't do the trick for you ...
On Jun 30, 10:17 am, marius d. marius.dan...@gmail.com wrote:
Can you paste some code?
Essentially we support nested snippets so your snippet can simply
return a markup containing
I don't have such a clear picture of what you're trying to do. If you need to
refer to the instance of a snippet that exists on the same page, it looks to me
like that data is private in S.snippetForClass.
Maybe you can nest the Tag tags in the ToDo snippet tag, have it instantiate a
Tag
14 matches
Mail list logo