Dojo

Draggable Tree

Hi folks,

I'm trouble with the "nodeDrop" function within DraggableTree.js.

In my previous WM (6.4.6) only one selection was possible before dropping, but it worked.
In 6.7.0 I can't anymore drop nodes...
I seeked in the code and noticed that, within nodeDrop, the :
dojo.forEach(moveNodes, function(moveNode) {...}, this);
loop just doesn't loop over moveNodes, at least for one single selected node.

I replaced this loop by a simple
var moveNode = this.draggedItem;
and it works again... (in single selection, of course).

Any hints / patches ?

Thanks A LOT for your job!

kentj's picture

Execute Service Call When Window Unloads

How do I ensure a service call executes when a user closes the browser window or navigates to another page?

I am using the BIRT Reporting Engine and have started up an instance of the report Platform object that I need to clean up. I execute a service call to the Reporting Java Service to trigger the destruction of my instance to the garbage collector will delete it.

wm.DojoFileUpload error

I use wm.DojoFileUpload to import CSV file data into DB.
When I click the wm.DojoFileUpload button, I sometimes get into the following error message.

Error
File failed to upload: Error: HTML Upload
Error:Cannot read property 'value' of undefined

Thank you for your help.

Dramia's picture

DojoGrid how setData

Hi everyone !

Actually, I have a ServiceVariable bind to a Java function which return a complex list.
With that, in JavaScript, I fill 2 var, each contains a list.

How bind these 2 lists of a empty DojoGrid ?

Thank you for any tips !

Dramia

Numeric Filter in liveVariable

hello everyone,

i have a simple problem yet very irritating .
i need to filter a live variable with a numeric column but the filter consider it like a string column.

how can i filter the rows as follows :

${price} > 50

i noticed in the documentation that i should put %% before the number so that Dojo evaluates it as a number but that does not work and shows an error in the console "Service Call Failed: .read "

Problem with blob/clob from Oracle

Hi

I am integrating Oracle Database with Wavemaker project, some of my tables having CLOB datatype.

Now I am getting an error to retrieve, update, insert and delete a blob or clob from Oracle database in wavemaker.

Please find attached screenshot for an error.

Has anyone found any appropriate solution or workaround? Can you please share?

Regards
Lokesh

Re-rendering a Calendar

Does anybody know how I can re-render a dijit calendar after changing the specialdates data?

Wavemaker studio freezes while working on large HQL statement

Hi there!

I am having a big problem: I have a huge HQL statement that I am working on with over 40 parameters. The problem is that I cannot change the type of any paramater now and also cannot add additional parameters because the page becomes unresponsive and I get the following message (in Firefox):

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: http://localhost:8094/wavemaker/lib/dojo/dojo/dojo_build.js:40002

manipulate / exchange LiveVariable query

Hi there,

I need to somehow edit the query (exchange with a more detailed select statement) of the LiveVariable. I tried out also different ways (JavaServices, HQL), but this options don't give me the necessary features (filtering, updating, performance, ...) of the LiveVariable.

I am trying to code this in the source code of Wavemaker but cannot find a starting point. I also don't understand where and how the query of the LiveVariable is built.

Can somebody point me in the right direction? Thanks anyone for helping!

Is it possible to get the clean open source code of the obfuscated JavaScript libraries?

Hi there,

I would like to know if it's possible to get the clean (non-obfuscated, at best with comments) source code of the JavaScript defining Wavemaker front end functionality. I am talking particular about the libaries found in wavemaker\wavemaker-studio\src\main\webapp\lib\wm\compressed. For example the wm_dojo_grid.js.

Or maybe I am looking in the wrong place?

Please somebody help!

Three dojo charts needs to come horizontally in same plane

Hi,

I have three dojo charts and each inside a separate div tag. I want all the three dojo charts to come horizontally in same level.

I tried with float: left and bla bla with no result.

Please suggest me.

Three dojo charts needs to come horizontally in same plane

Hi,

I have three dojo charts and each inside a separate div tag. I want all the three dojo charts to come horizontally in same level.

I tried with float: left and bla bla with no result.

Please suggest me.

Adding images in a dojogrid with conditional expression

Hi everyone.

I'm new in Weave Maker, tryng to do my app.

I follow the Add images in Datagrid using: Conditional and DATAEXPRESION tutorial ( http://dev.wavemaker.com/wiki/bin/Dev/Add+images+in+Datagri+using+a+conditional+...).

I can't visualized the image that i uploaded in resources/images, the only way to do this is to bind an URL link (i uploaded my images on imageshack).

I write the conditional expression using the resources/images path, like in the tutorial:
- if(${location} == "Austin"){''}. NOT WORK

Very poor performance transferring / displaying result of JavaService in DojoGrid

I have a project with a big dojo grid which is dependent on an user entry and also dependent on the user's role (also can depend on some date values but I skip that to make the problem easier). This logic is implemented through a JavaService which is used by a ServiceVariable to populate the DojoGrid. The problem is that it takes a significant amount of time after the JavaService returns to actually display the data in the grid.

I attached an example project with an example database. I use MS SQL Server so you may have to adjust some (the table names) of the SQL script.

TitlePane dijit

I would like to implement the dojo.TitlePane in my app and after looking through the available examples I am still a little fuzzy on the mechanics.

- Placed the dojo.require in the start function of my page

- Placed a dijit.TitlePane in my page, and pointed the dijit.class to dijit.TitlePane and a number of Properties showed up, however no 'title' or 'content' option, so it just looks like an empty panel

- In the function displaying that part of the page insterted the following:
var tp;
dojo.addOnLoad(function() {
tp = new dijit.TitlePane({

Syndicate content