Jump to content

Click on IE Folder in Pentaho without using colour code


Recommended Posts

Hi,

I need to click on Folder "Steel Wheels" in Pentaho without using Colour code.I have tried with the pixel search.But All the folders in the path is the same colour.

Kindly help me on this.

Source code as follows.

<html>

<head>

<title>Pentaho User Console</title>

<meta name="gwt:property" content="locale=en_US">

<link rel="shortcut icon" href="/pentaho-style/favicon.ico" />

<link rel='stylesheet' href='mantle/MantleStyle.css'/>

<link rel="stylesheet" href="content/data-access/resources/gwt/datasourceEditorDialog.css">

<script type="text/javascript" src="mantle/nativeScripts.js"></script>

<script type="text/javascript">

if(window.opener && window.opener.reportWindowOpened != undefined){

window.opener.reportWindowOpened();

}

var dataAccessAvailable = false; //Used by child iframes to tell if data access is available.

/* this function is called by the gwt code when initing, if the user has permission */

function initDataAccess(hasAccess) {

dataAccessAvailable = hasAccess;

if(!hasAccess){

return;

}

if(typeof(addMenuItem) == "undefined"){

setTimeout("initDataAccess("+hasAccess+")", 1000);

return;

} else {

addMenuItem("manageDatasourcesEllipsis","manage_content_menu", "ManageDatasourcesCommand");

addMenuItem("newDatasource","new_menu", "AddDatasourceCommand");

}

}

var datasourceEditorCallback = {

onfinish : function(val, transport) {

},

onerror : function(val) {

alert('error:' + val);

},

onCancel : function() {

},

onReady : function() {

}

}

// This allows content panels to have PUC create new datasources. The iframe requesting

// the new datasource must have a function "openDatasourceEditorCallback" on it's window scope

// to be notified of the successful creation of the datasource.

function openDatasourceEditorIFrameProxy(windowReference){

var callbackHelper = function(bool, transport){

windowReference.openDatasourceEditorCallback(bool, transport);

}

openDatasourceEditor(new function(){

this.onerror = function(err){

alert(err);

}

this.onCancel = function(){

}

this.onReady = function(){

}

this.onfinish = function(bool, transport){

callbackHelper(bool, transport);

}

});

}

</script>

</head>

<body oncontextmenu="return false;">

<div id="loading">

<div class="loading-indicator">

<img src="mantle/large-loading.gif" width="32" height="32"/>Pentaho User Console is Loading...<a href="http://www.pentaho.com"></a><br/>

<span id="loading-msg">Please Wait</span>

</div>

</div>

<!-- OPTIONAL: include this if you want history support -->

<iframe id="__gwt_historyFrame" style="width:0px;height:0px;border:0;display:none"></iframe>

</body>

<script language='javascript' src='mantle/mantle.nocache.js'></script>

<script language='javascript' src='content/data-access/resources/gwt/DatasourceEditor.nocache.js'></script>

</html>

Thanks.

Edited by shreeks
Learning is Lifelong!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...