hi all

I have change code as this:

<?python
    if not current_page:
        page_set = space.root_pages
    elif current_page:
        page_set = current_page.sub_pages
?>

${display_pages(page_set)}

It worked, but I think it is not the best way...

-- 
with kind regards

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to