Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

--------------------------- - what to do with this junk? --------------

Info
titleWhat is session and global scope?

TODO

...

Code Block
<org.pentaho.core.session.PentahoHttpSession scope="global">
   samples/filters/setCompanyName.xaction
</org.pentaho.core.session.PentahoHttpSession>


Info
titleLet's Break it Down

Let's break it down a bit using the previous example.

  • We make the output of the action sequence available to portlets by creating the XML element <org.pentaho.ui.portlet.PentahoHttpSession>.
  • We make the action sequence run at system start time and make output available in global scope by adding the scope="global" attribute to our element.
And we
  • We identify the name and location of our action sequence by adding samples/filters/setCompanyName.xaction as a child text node of our xml element.

Your pentaho.xml file would look something like this:

...