The best place to start learning about Jetspeed is look at the tutorial found at
http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm
Roshan
From: "Gil Vernik" <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: help with jetspeed Date: Tue, 5 Aug 2003 20:00:58 +0200
I am new to jetspeed. I have tomcat 5 and jetspeed 1.4b. I wrote a class : public class recieveTraficLight extends VelocityPortlet {
protected void buildNormalContext(VelocityPortlet portlet,Context context, RunData rundata) { try{ Service service = new Service(); Call call = (Call) service.createCall();
call.setOperationName(new QName("AddFunction", "addInt"));
call.setTargetEndpointAddress(new java.net.URL(
"http://localhost:8080/axis/services/AddFunction.jws"));
call.addParameter("a", XMLType.XSD_INT, ParameterMode.IN);
call.addParameter("b", XMLType.XSD_INT, ParameterMode.IN);
call.setReturnType(XMLType.XSD_INT);
Integer ret = (Integer) call.invoke(new Object[] { new Integer(1),new Integer(2) });
context.put("color_number",ret); } catch (Exception e) { e.printStackTrace(); } } }
I wrote a vm file that checks the $ret variable and print something on the screen. This a vm file :
#if ($color_name==1)
<p>
<img border="0" src="�>
</p>
#end
my question is, how to run all this? Where should I put my class file, where should I put vm file, what html will run it?
I got lost with all this, please help me with using it.
_________________________________________________________________ On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
