AnsweredAssumed Answered

How to get current node object from node id in javascript

Question asked by miteshpanchal on Nov 6, 2006
Latest reply on Nov 8, 2006 by ajshaw
Hi all,

I was trying to implement action on forum. For that I have configured "web-client-config-forum-actions.xml" and written following code

<action id="create_summary">
  <label>Create Summary</label>
  <script>/Company Home/Data Dictionary/Scripts/atest.js</script>
      <param name="id">#{}</param>
here param "id" is node UID.
Now How can i get the javascript node object from args["id"] in my atest.js.
And after getting it I want to access topics and posts of the forum and based on that i want to make summary html page.

I have used parametes like
1. - to get current forum as space -  Got Exceptions
2. - to get all children of the forum - Throws Exception in ArrayList

How can i get access to Forum space and children of current forum

waiting for your replys….
Thanks in advance…