cancel
Showing results for 
Search instead for 
Did you mean: 

HTML and Applet usage example in xMII

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

sidnooradarsh
Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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>

Former Member
0 Kudos

Hi Vijaya,

I need to know how the intgration happens. Can you please provide the step by step procedure which will very greatful for me to understand the flow...

Thanks

Supriya.