I'm confused, because I don't think there is a line 375 in
/tags/webskin/pagination.cfm. In any case, I use /tags/formtools/pagination.
Whether I should or not is a different matter.

In 5.1.5: under that tag there should be a arguments.actionURL (
http://fisheye.farcrycms.org/browse/core/tags/milestone-5-1-5/tags/formtools/pagination.cfm?r=3774#l57).


My tag for calling pagination, inside my execute.cfm of the appropriate rule
(or displayTypeBody.cfm for that matter) is:

    <ft:pagination
        actionURL = "#application.fapi.getLink(objectid=request.navid)#"
        qRecordSet="#q#"
        typename="gsgMeetings"
        pageLinks="10"
        recordsPerPage="#stobj.numitems#"
        Top="true"
        Bottom="false"
        renderType="inline">

        <ft:paginateLoop r_stObject="stMeetingArchive" >
            <skin:view objectid="#stMeetingArchive.objectid#"
typename="gsgMeetings" webskin="#stObj.displaymethod#" />
        </ft:paginateLoop>
        <cfoutput>    </table></cfoutput>
    </ft:pagination>

That might help,

Tomek

On Fri, Jun 12, 2009 at 10:32 AM, Marco van den Oever <
[email protected]> wrote:

>
> For example i am watching at the code on rule 375 in tags/webskin/
> pagination.cfm:
>
> <cfoutput><li><a href="#getPaginationLinkHREF(attributes.currentPage+1)
> #" onclick="#getPaginationLinkOnClick(attributes.currentPage+1)
> #;">#attributes.htmlNext#</a></li></cfoutput>
>
> This results in a browser url like:
>
> index.cfm?container=&BSHOWTRAY=true&bodyview=displayBody&furl=/
> products&OBJECTID=700726D0-2A0A-11DE-9234000C7674A083&pageruleNews=2
>
> So how would you change that?
>
> On Jun 12, 3:29 pm, Marco van den Oever <[email protected]>
> wrote:
> > Ok awesome thanks both, will go and try some stuff.
> >
> > On Jun 12, 2:31 pm, Tomek Kott <[email protected]> wrote:
> >
> > > there's also application.fapi.getLink() function. As an argument you
> can put
> > > in an objectid or a navigational alias and it will give you the link as
> it
> > > sees fit. If you're talking about the automatic url listed during
> > > ft:pagination, then use the <ft:pagination
> > > actionURL="#application.fapi.getLink(request.navid)#" ....other options
> ...>
> > > I don't have the code in front of me, but I do something like that to
> get
> > > the furl nicely put. But I don't know which 'next' and 'previous' links
> > > you're talking about...
> >
> > > Tomek
> >
> > > On Fri, Jun 12, 2009 at 7:34 AM, Matthew Williams <
> >
> > > [email protected]> wrote:
> >
> > > > The only way that I know of to have the system create FURLs for you
> is
> > > > to use the skin:buildlink tag.
> >
> > > > Matthew Williams
> > > > Geodesic GraFX
> >
> >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to