Hi Isomorphic,
I’m new to SmartClient and i have to develop a demo using SmartClient. We have our own Tomcat setup and want to use the same for SmartClient. For a start i want to write a HelloWorld in my own server. Could you please let me know what all need to be copied to my web application, call it as “sample” which is the base directory in webapps folder.
Please give us response.
Cheers
KK
Hi KK,
See the Deploying SmartClient topic in the SmartClient Reference.
SmartKK
Hi Isomorphic,
I have copied the isomorphic folder from <HOME>/SmartClient\SmartClient_651_LGPL\SmartClient_651_LGPL\smartclientRuntime to my webroot.
And have prepared one index.jsp which contains sample code for a button
<%@ taglib uri=“/WEB-INF/iscTaglib.xml” prefix=“isomorphic” %>
<script>
isc.IButton.create({
title: “Hello”,
click: “isc.say(‘Hello world!’)”
})
</script>
Deployed it in my local tomcat and got errors saying iscTaglib.xml is not there and isomorphic is not identified.
I didn’t find the “iscTaglib.xml” in the installation folder.
I have tested with a JavaScript alert statement in my jsp and is working.
Could you please help me regarding this.
Cheers
KK
See Chapter 4, “Coding”, from the QuickStart Guide. It will show you a correct bootstrap file in .html and .jsp. These are also provided in the smartclientSDK/templates directory.
If you don’t have iscTaglib.xml, this indicates you downloaded SmartClient LGPL, which does not include the SmartClient Server functionality.
SmartKK
Hi Isomorphic,
Yes i have downloaded Free LGPL version. If i would like to add the UI components to my jsp page rather than html, i need to have iscTaglib.xml. Where as iscTaglib.xml is not available with LGPL version. Could you please let me know what needs to be done if i want to use the SmartClient in my custom jsp page?
Cheers
KK
Once again, see Chapter 4, “Coding”, from the QuickStart Guide.
The ISC taglib is not required for server integration. The contents of the .html version of the versions of the templates work perfectly fine within a .jsp.