Table of contents
    No headers
    date.format(date.now, "MM/dd")
    05/24

    ---

    date.format(xml.date(web.xml(page.api), "//date.edited"), "MM/dd")
    missing value for parameter 'datetime' (index 0) (click for details)

    ---

    00000012
    Tag page
    Viewing 3 of 3 comments: view all
    Works on my parnet pages just fine, however this Does not work on child/child pages.

    Getting this error
    MindTouch.Deki.Script.DekiScriptInvokeException: function 'date.format' failed ---> System.ArgumentException: missing value for parameter 'datetime' (index 0)
    at MindTouch.Deki.DekiScriptFunction+DekiScriptInvokeDelegateWrapper.Invoke (MindTouch.Deki.Script.DekiScriptLiteral arguments) [0x00000]
    at MindTouch.Deki.DekiScriptFunctionNative.Invoke (MindTouch.Deki.Script.DekiScriptLiteral arguments) [0x00000]
    at MindTouch.Deki.Script.DekiScriptRuntime+<Invoke>d__0.MoveNext () [0x00000] --- End of inner exception stack trace ---

    at MindTouch.Deki.Script.DekiScriptRuntime+<Invoke>d__0.MoveNext () [0x00000]
    at MindTouch.Dream.Coroutine.Iterate_Helper (IEnumerator`1 coroutine, MindTouch.Dream.TaskBehavior behavior) [0x00000]
    at System.VoidClosure`2[System.Collections.Generic.IEnumerator`1[MindTouch.Dream.IYield],MindTouch.Dream.TaskBehavior].Closure () [0x00000]
    at MindTouch.Dream.Task.Execute (System.VoidHandler handler, MindTouch.Dream.TaskBehavior behavior) [0x00000] edited 12:25, 28 Aug 2009
    Posted 12:24, 28 Aug 2009
    @superguyent are you running a private wiki? if so, you have to use wiki.api instead of web.xml
    Posted 16:17, 28 Aug 2009
    not sure what that means? I was just copying your code and using it, I am not a developer so I am not sure how to do that.
    Posted 10:35, 31 Aug 2009
    Viewing 3 of 3 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by