on 09-17-2007 8:21 AM
Hi Everybody,
I am very much new to xMII. I got hands-on xMII using the documentation. I need to know how can html and applets usage in xMII.
I mean i require which let me know the steps to do that as i am very much eager to learn this.
Can anybosy help me on this.
Thanks
Supriya.
Hi Supriya,
You can start off something like this:
Create a an Applet like this:
<APPLET NAME="MyApplet" WIDTH="700" HEIGHT="275" CODE="Type of Applet Name" CODEBASE="/Illuminator/Classes" ARCHIVE="illum8.zip" MAYSCRIPT>
<PARAM NAME="QueryTemplate" VALUE="Path/QueryName">
<PARAM NAME="DisplayTemplate" VALUE="Path/DisplayTemplate Name ">
<!-- Put the Events required for application like for example shown just below -- >
<PARAM NAME="InitialUpdate" value="false">
<PARAM NAME="AllowSelection" VALUE="true">
<PARAM NAME="SelectionEvent" VALUE="RowSelected">
<!and many are there -- >
</APPLET>
- In the code specify the applet u want use like
iGrid,iChart,iBrowser,iTicker,iCalender,iCommand.
- u can specify the width and height of applet u are using.
- Create a Query in query template
- Create a display in Display Template and map the query template to Display
template in datamapping tab of Display Template.
- The applet written above can be made more interactive by specifying some built- in Events like i mentioned above then write functions related to that events and
perform desired task.
for ex:write a function called "RowSelected" which will be called when ever a
Selection Event occurs on the applet.
See for the events which specifically related only to that Applets not for all. The
above was just an example. Its not that events i mentioned applies for all.
what ever i have told above i nothing. there's lots and lots in this. just explore
the things by going thru Help documentation on Applet Reference and try out
different things.
Good Luck. Happy Learning.
I hope this will be helpful to u.Pl. reward me points if u find useful.
Regards,
Adarsh S P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Supriya,
The better way is use xMII Help. In help search for Applet references
or try this http://<server>/LighthammerCMS/Help/Applet_Reference_Details/Applet_Reference.htm
This link can help you a lot in understanding Applets and its methods and events
Anymore help, plz let me know
Regards
Muzammil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Applet Common events : CreationEvent ,FirstUpdateEvent,UpdateEvent,SelectionEvent,DoubleClickEvent
By using help you can practice for iGrid,iChart...
here is the ex. for iGrid:
<HTML><HEAD><TITLE> Events in Applets </TITLE></HEAD>
<SCRIPT>
function selectMe(){ alert("ON DOUBLE CLICK"); }
</SCRIPT>
<BODY>
<APPLET NAME="app1" CODEBASE="/Illuminator/Classes" CODE="iGrid" ARCHIVE="illum8.zip" WIDTH="1000" HEIGHT="400"
MAYSCRIPT>
<PARAM NAME="QueryTemplate" VALUE="query temp path">
<PARAM NAME="DisplayTemplate" VALUE="display temp path">
<PARAM NAME="DoubleClickEvent" VALUE="selectMe">
</APPLET>
</BODY>
</HTML>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.