Comentarios (11)

1 JC_Wilson ha hecho un comentario el Enlace permanente

Great article but was loooooooong overdue. Can we see more? Personally, I would like to see examples where a control is bound to an attribute that reads and writes values.

2 gebhardt ha hecho un comentario el Enlace permanente

Thanks for the feedback. I definitely plan to write more on this topic and I think your suggestion is a good one. I'll take a look at incorporating it into the next post.

3 D.Brendon ha hecho un comentario el Enlace permanente

Thank you for the informative article! I agree with the previous comments about an example for a data-bound control. Specifically I have an application where I would like each cell in a table/grid to reference data from a row in a Maximo table (MBO). Such that when you move from cell to cell in a row, the data in the 'Detail View' updates. I'm hoping that this is similar to the way that the 'Detail View' now updates when you move from row to row.

4 2mohamed2 ha hecho un comentario el Enlace permanente

Thank you for this articles, <div>&nbsp;</div> There are other points you didn't talk about. <br /> First, we must enable dojo framework via Maximo system property menu. <br /> Later, I don't know why I must reload the firefox page (press enter in address box) so that the chart will be visible. <div>&nbsp;</div> Any ideas please.

5 gebhardt ha hecho un comentario el Enlace permanente

@D.Brendon: Thanks, I appreciate the feedback! Your use-case sounds like a dojo DataGrid connected to a JsonRest store with an onRowClick handler to update the detail view. Here's an example (it's not perfect because it only supports clicks and not keyboard navigation, but it's a start): <div>&nbsp;</div> http://dojotoolkit.org/documentation/tutorials/1.7/working_grid/demo/rowclick.php <div>&nbsp;</div> @2mohamed2: My pleasure. The dojo framework should always be enabled; what system property are you referring to? I haven't seen that firefox issue in my tests; which version?

6 2mohamed2 ha hecho un comentario el Enlace permanente

Thank you for your reply,
Am using Maximo 7.1 (contains dojo framework 1.4.3 ) I must set properties below to :
webclient.dojo = 1
mxe.webclient.dojocalendar = 1

 
I must also set my jsp chart file as below to be working :
--------------------------------------------------------------------
<%@ include file="../common/componentheader.jsp" %>
<html>
<head>
<title>Cylinder chart</title>
<script type="text/javascript" src="http://192.168.89.128:9081/maximo/webclient/javascript/dojo_1-4-3_20100519/dojo/dojo.js" djConfig="isDebug: true"></script>
 
<script type="text/javascript" src="http://192.168.89.128:9081/maximo/webclient/javascript/dojo_1-4-3_20100519/dojox/charting/Chart3D.js"></script>
<script type="text/javascript" src="http://192.168.89.128:9081/maximo/webclient/javascript/dojo_1-4-3_20100519/dojox/charting/plot3d/Base.js"></script>
<script type="text/javascript" src="http://192.168.89.128:9081/maximo/webclient/javascript/dojo_1-4-3_20100519/dojox/charting/plot3d/Cylinders.js"></script>
 
</head>
<body>
<div id="test" style="width: 500px; height: 500px;"></div>
<script type="text/javascript">
 
dojo.require("dojox.charting.Chart3D");
dojo.require("dojox.charting.plot3d.Cylinders");
 
MXServer
var m = dojox.gfx3d.matrix;
var chart = new dojox.charting.Chart3D("test",
{
lights: [{direction: {x: 5, y: 5, z: -5}, color: "white"}],
ambient: {color:"white", intensity: 2},
specular: "white"
},
[m.cameraRotateXg(10), m.cameraRotateYg(-10), m.scale(0.8), m.cameraTranslate(-50, -50, 0)]
);
 
var plot1 = new dojox.charting.plot3d.Cylinders(500, 500, {gap: 10, material: "yellow"});
plot1.setData([1,2,3,2,1,2,3,4,5]);
chart.addPlot(plot1);
 
var plot2 = new dojox.charting.plot3d.Cylinders(500, 500, {gap: 10, material: "red"});
plot2.setData([2,3,4,3,2,3,4,5,5]);
chart.addPlot(plot2);
 
var plot3 = new dojox.charting.plot3d.Cylinders(500, 500, {gap: 10, material: "blue"});
plot3.setData([3,4,5,4,3,4,5,5,5]);
chart.addPlot(plot3);
 
chart.generate().render();
 
</script>
</body>
</html>
----------------------------------------------------------------
Here I need to reload dojo in my chart jsp to work fne.otherwise i must recharge the page in FIREFOX.
 
Thanks

7 gebhardt ha hecho un comentario el Enlace permanente

Thanks 2mohamed2, In Maximo 7.5 it's always-on; I should have indicated that this was developed against the 7.5 framework. Thank you for the clarification and thank you for testing it on 7.1!

8 ian.wright ha hecho un comentario el Enlace permanente

i have tried this on 7.5.0.4 the only difference being i used a tab on the main screen the java console gives me the following error any idea's anyone

 
network: Connecting http://maxdev/maximo/webclient/applets/telco/dummyClassesDiagrammer.jar with cookie "JSESSIONID=0000V3urzmuAOQLNUhfHE8J4m6j:-1"
network: Downloading resource: http://maxdev/maximo/webclient/applets/telco/dummyClassesDiagrammer.jar
Content-Length: 20,177
Content-Encoding: null
network: Downloading resource: http://maxdev/maximo/webclient/applets/telco/dummyClassesDiagrammer.jar
Content-Length: 20,177
Content-Encoding: pack200-gzip
java.io.IOException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream.<init>(Unknown Source)
at java.util.zip.GZIPInputStream.<init>(Unknown Source)

9 ian.wright ha hecho un comentario el Enlace permanente

sorry forget my previous post the error appear to occur regardless with or without the tab

10 gebhardt ha hecho un comentario el Enlace permanente

Hi Ian, <div>&nbsp;</div> At first glance, the error you're seeing appears to be unrelated. I would check to see if the following file exists and hasn't been corrupted: <div>&nbsp;</div> applications\maximo\maximouiweb\webmodule\webclient\applets\telco\dummyClassesDiagrammer.jar

11 elga.silaban ha hecho un comentario el Enlace permanente

Hi gebhardt, <div>&nbsp;</div> Great article, an eye opener. <div>&nbsp;</div> somehow, I want to use Drag and Drop Capability from Dojo. <br /> I already follow step by step from your article and successfully implemented it (chart). <br /> but when I try to implement the drag and drop from dojo, i got stucked. <div>&nbsp;</div> have you try to use drag and drop from the dojo for on SCCD/Maximo? <br /> Please Help. <div>&nbsp;</div> Thanks,