cancel
Showing results for 
Search instead for 
Did you mean: 

xMII Applets in ASP.net page

Former Member
0 Kudos

Is it possible to call/embed xMII applets in ASP.net page? If so, kindly explain the procedure to achieve the same. Will the Query template be refreshed without causing any errors?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Shankar,

You can actually have a url call to a webpage with an xMII applet in one of the frames in the .net page.

You can achieve it by passing the login credentials in an encoded format.

This will work.If you want it to be refreshed automatically set the autorefreshing thing.

But if you want to pass certain parameters to be passed to the applet before refreshing it then make a call to the javascript function residing in the frame which has the web page with xMII applet .

That particular function will execute the query and will refresh the applet again.errors like class not found wont come as required logon credentials are being passed to the url .

parent.otherFrameName.functionName(); can be used to execute a javascript function of other frame. Try it out at your end get back if you have any problems.

Regards

Shabareesh

Former Member
0 Kudos

Using Frames (or IFrames) is the safest way for forward compatibility. In version 12.0, applet tags embedded directly in ASP pages will likely not work, due to the fact that the WebAS instance which hosts xMII will be listening on a different port than IIS/ASP. Usually, scripting across frames is not permitted from a browser security perspective, but it should work in this case if the page(s) are from the same domain.

- Rick

jcgood25
Active Contributor
0 Kudos

Shankar,

Applets should have no issues running inside an aspx page, as long as xMII and .NET are on the same webserver. The <APPLET/> block is rendered by the Sun JRE on the client browser and the path to the illum8.zip file uses a relative URL.

PLEASE be aware that Microsoft specific web content such as asp and aspx webpages are NOT migrated into version 12, so you may want to take this into consideration.

Best Regards,

Jeremy Good

Former Member
0 Kudos

Vijaya,

This link mainly explains about getting data from xMI to .NET. But, how about the applets? How do you get the display template?

Former Member
0 Kudos

Hi Shankar,

Have a look at the thread below to have an idea...

Regards

Vijaya