Continuation.pm
NAME
Communiware::DE::Continuation - Dynamic element Continuation
SYNOPSIS
<:Continuation mode [text [template [class [attrs]]]] :>
USAGE <:Continuation prev:>|<:Continuation start:>|<:Continuation next:>
DESCRIPTION
For pages, which contain splitted list, generates link to next (or first) part of the list. You can check context attributes FUTURE_PREV_ITEM and FUTURE_NEXT_ITEM to decide about using <:Contituation:> in some conditional blocks.
ARGUMENTS
- mode
- Either start, prev or next If start than link to first page of list is generated. Otherwise to previous or next page.
- text
- Text of the link.
- template
- Template, which is used to show referenced page.
- class
- additional attributes of A tag
- attrs
- Context attributes to pass through the link. In addition to ones specified by PassParams
BUGS
Continuation next should appear in the same context as loop it is related to, and after it. Contrary to that, Continuation start may appear anywhere in the template.
There is no way to distinguish between two lists which are cut. So, only one list with cutting may appear in the template where Continuation is intended to use.
16 октябрь 2007 13:44