• Get the Flash Player to see the slideshow.
  • Categories

  • Authors

  • Great Quotes

    Ruby inherited the Perl philosophy of having more than one way to do the same thing. I inherited that philosophy from Larry Wall, who is my hero actually. I want to make Ruby users free. I want to give them the freedom to choose. — Yukihiro Matsumoto - inventor of Ruby

Get in touch...

To have a chat about
your CMS needs...

Call us 0207 193 2014
or
Email us on

Referencing Hello World Java Class in LiveSite External Component

January 20th, 2009 by Yusuf Ali

Now that we have Hello.Java created as a class.  Please refer to the blog
Creating a “Hello World” LiveSite Java External

I will demonstrate below how the class would be utilised in a LiveSite component.

- Create a component (name the component what ever you would like it to be)
- Select the component as XML/XSL format
- In Content XML, add the the following code;  

<Data>

  <External>

    <Object Scope=”local”>com.littleforest.examples.Hello</Object>

    <Method>Hello</Method>

  </External>

</Data>

 - In Appearance XSL, add the following code;

<div>

  <xsl:value-of select=”/Properties/Data/Results/Hello”/>

</div>

- Save the component, and Preview the Component
- You will see the Hello.Java class discussed in the blog
Creating a “Hello World” LiveSite Java External in your LiveSite component.

Tags:

Leave a Reply

You must be logged in to post a comment.