Chrome

Piramidale's picture

wm.List - Copy row displayed content to clipboard with a click (JS-generated contents)

0

Hi all,
my goal is to obtain, on a long press, the copy of the wm.List element text content and let user choose how to share it (ex. email, SMS, ecc.).

I can use "onLongClick" event on wm-List widget to launch a custom function, but i have know how to get the entire row content and copy it to the clipboard.

In the following code i have inserted "?????????" to show the missing code.

share: function(inSender) {
    var Content = this.my_list.selectedItem.?????????;
    window.clipboardData.setData("Text",Content);
},

Thank you!
Jason

Studio 7 Beta - request

0

Hi
Any chance the database designer 'table layout' be persisted as user drawn instead of moving all the tables to a single 'row' on the screen?
Thanks.

Cascade option not saved when changed

0

Hello everyone,
i have a small problem with the database i'm using:
when i change the cascade type to ALL ans save the project, everything works fine.
but i close wavemaker and reopen my project i see that the option is back to NONE as if nothing.
any idea please ?

Formatting Dojo Grid row

0

Hi,

I'm trying to format a dojogrid row based on the content on one of the rows. I am using a formatter for the grid and it works fine to format an individual cell using the code below. If I use rowObj instead of cellObj nothing happens.

Could you please advise if I am missing something.

Cheers

Craig

mainGridIstatusFormat: function( inValue, rowId, cellId, cellField, cellObj, rowObj) {

if(inValue == "Closed" ){
cellObj.customStyles.push("color:green");
}
return inValue;

},

kentj's picture

Create new project error

0

Creating a new project failed for me. I tried to create a Prefab project and that didn't work.
I tried creating the project as a Default, eShop, and a Prefab and all returned the same error.

Here is a picture of what I tried to do and the error I got when creating a new project:
Image and video hosting by TinyPic

wm.DojoFileUpload error

0

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.

passing variable to object reference

0

Hi,

I am getting annoying error when attempting to pass a variable to dot notation object reference

contractorsDojoGridSelect: function(inSender) {

wm.forEach(this.LiveForm1.widgets, function(editor) {
var editorname = (editor.name);
if (editor.datePattern !== undefined) {
this[editorname].domNode.style.backgroundColor = "#ff2121";
this[editorname].domNode.style.fontWeight = "bold";
this[editorname].domNode.style.color = "#ffffff";
}}}

ERROR
Error in [Main:main].contractorsDojoGridSelect: Cannot read property 'domNode' of undefined

populate select field from database having only one column

0

Hello everyone ,

Can anyone tell me the steps to populate a select field in a live form to add data to column of a table with a select( drop down ) widget.

Also that i want to populate that select field from a column of a database and there is no relationship between any of the tables.

Thanks ,
Sahil Mahajan

Column Setting of LiveVariable Changed without any intention

0

During the development of my wm app, the column setting of LiveVariable has been changed without any intention.

The attached file "saved.png" shows how I saved the setting.
Then it was saved correctly and worked for some time (a few hours, days)

However suddenly, I found that the setting is changed, like the attached file "changed without any intention.png".
This problem happens really often, for several LiveVariables.
Always, if this happens, the sub-colomns (with relationship) are changed to be unchecked.

I'm not sure what causes this trouble. Please help me.

Dramia's picture

Export CSV with selectedRow on dojoGrid

0

Hi everyone,

I want to export, in a csv, a selection when I made.
So I have 2 grids :

Grid1 = all my data

I use this.dojoGrid1.setQuery(row : "myRow");

But the result of this query doesn't appaer (I got empty grid). I have to quit the layer, then come back at the layer to see my query. May be the issue is the dojogrid is not update.. but how can I update it in JavaScript?

After, I want to select automatically all row(s). But that doesn't work..

Numeric Filter in liveVariable

0

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 "

Modal Dialog disappears in Chrome - JQuery

0

Hello I am trying to open Modal Dialog box using JQuery on a click of dynamically added HTML button on a page.

The dialog opens in IE, Firefox properly, but in Chrome a appears momentarily and disappears.

$('A.content-upload-btn').click(function()
{
var contentCd = $(this).parents('.content_update_div').attr("id");
app.uploadingDialogBox.setShowing(true);
});

Anything specific I need to do for showing dialog thru JQuery for Chrome?

Wavemaker in Amazon

0

Good day,
Disclaimer: total newbie in amazon EC2.

I just purchased an amazon ec2 Wavemaker instance in the Amazon marketplace. I see the instance running, I can access the instance with SSH, I start the wavemaker service and I see it running:

1110 pts/0 Sl 0:07 java -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dwm.managerUser=quad_wave -Dwm.managerPassword=wave_2014_2014 -jar /opt/wavemaker-6.6.0.RELEASE/launcher/launcher.jar
1125 pts/0 S+ 0:00 sudo ps ax
1126 pts/0 R+ 0:00 ps ax

ubuntu@ip-172-31-30-87:~$ sudo netstat -nap | grep 8080

Dramia's picture

Export CSV limit 500

0

Hi everybody!

I currently use "this.DojoGrid.showCSVData();" in JavaScript to export my list of name.
However, my created file.csv contain only the 500 name of my selection.
How can I increase this limit for my file.csv contain all of my selection?

Thank you for any help.

Dramia

Need developer to continue work started

0

We have an application that needs some debugging and many more enhancements. I am looking for a developer that wants to develop a long term relationship working on our project from time-to-time. Jakob Perz was the last to work on the project and he is VERY GOOD, but it seems he is very busy and our project is not so big that he gives us the time we need.

Last time I posted I received many good inquiries, but I have since deleted them, so please resend me email if you are interested.

Email me at LaJollaMusic@gmail.com and I will send over details.

Thanks.

Table Export is failing with huge amount of records

0

If my table has ~ 1500 records (~ 50 columns) then the dojoGrid.showCSVData() working fine without any issue.
But if a table has around ~2000 records (~ 50 columns) then getting following error. Is there any way to fix this issue?

HTTP Status 500 - Request processing failed; nested exception is com.wavemaker.common.WMRuntimeException

type Exception report

message Request processing failed; nested exception is com.wavemaker.common.WMRuntimeException

description The server encountered an internal error that prevented it from fulfilling this request.

exception

Dramia's picture

Software caused connection abort: socket write error

0

Hi everyone !

I have a Web application which rather work fine.
But sometimes, I catch this error : "Software caused connection abort: socket write error" when my application try to use my DB for any request. And all my application has block.
To unblock him, I must to reload my application in my tomcat manager. (And after, that work fine until the next "Software caused connection abort: socket write error"...)

I would to know if someone know where this error come from (Java, MySQL, server, ... ?).

Any help or tips are welcome !

Dramia's picture

Get data from SelectMenu

0

Hi!

I don't manage to get the value from my SelectMenu.
In fact, my SelectMenu allow people to choose a line in the drop-down list or to write the answer.
If this person choose an answer in the list, it's OK, but if the person write the answer, I can't to get the value. And I don't understand why..

In my code (JavaScript):
console.log("Answer = " + this.myDropDownList.getValue("dataValue").c0);

In my debug:

If the person choose an answer in the list > "Answer = Anwer1"

If the person write an answer > TypeError: Cannot read property 'c0' of null

intertony's picture

Buscar en español en este foro

0

Hola, alguien sabe como buscar en este foro pero solo sobre el foro en español, puesto que si busco con el search de la izquierda me busca en todo los foros.

Gracias

MySQL Tables Not Updating After First Run

0

I am completely stumped on this one.

I created the simplest version of my application: two tables related in many to one fashion. The second table is used as a lookup for a value in the first table.

The problem: After the first time I run the application, I cannot update the tables any more.

I have tried two versions of Wavemaker: 6.5.3 and 6.6.0.M3. I've updated to the latest CE version of MySQL - 6.0.

kentj's picture

Binding the showing property of a tab

0

I couldn't find this problem anywhere in the forums or in the bugs list, but I have bound the showing property of 4 tabs. Three of them are bound to:
(objectname.selectedItem.stringField == "my value")
and the last one is bound to
(objectname.selectedItem.stringField == "my value") || (objectname.selectedItem.stringField == "my value2")

Deploying to OpenShift (works but index page loads forever)

0

Hi,

After reading some tutorials I managed to successfully deploy a test .war file and MySql database to

OpenShift PaaS (https://www.openshift.com/).

Everything apparently worked great on the configuration part but when I open my project it only shows

that "Loading..." thing forever, as you can see here: http://myproject-felynx.rhcloud.com/myproject/

Wavemaker studio freezes while working on large HQL statement

0

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

How to an ics Calendar File?

0

Hey Guys,

Does anyone know a good way to take information from a WaveMaker app's database, create and ics calendar file and send it via email?

Generally speaking, I want a user of my app to be able to create a database entry, which will essentially serve as the "event" information. Included in this database entry will be the contact info person responsible for the event. I would like for the WM app to grab this info (event & person), create an ics file, and email it to the person so that they can add it to their calendar program (Outlook, iCal, Google Calendar, etc.).

luism's picture

How to CSS Styling Text Field Reset Button?

0

I've been trying to Style the Tex Filed with Reset Button option, with no success... This is what firebug tells me it reads the image from:

<img src="../wavemaker/lib/dojo/dojo/../../../lib/images/boolean/Signage/Close_gray.png" style="position: absolute; width: 16px; height: 16px; top: 1px; right: 1px;">

This ain't CSS, how is it possible to add custom images on this type of widgets?

[RISOLTO] Problemi di login sul forum

0

Non riesco a capire perchè con la password che imposto non riesco a fare login sul forum.
Tutte le volte sono obbligato a farmi inviare un link di reset della password.
Succede anche a voi ?
BHOO !

Colonne ID

0

Entêtes de colonnes
View Edit
Submitted by dorothywillky on Thu, 05/30/2013 - 09:56. Studio User Interface WM 6.5.x
Hello,
I have a problem.
My panel contain about 1000 items (rows) and the columns are ID, firstname, lastname.
My grid display 20 rows per pages, with a data navigator.
When I click on the header on the id column then the listing begin with the real first id (in alphabetical order: a -> z). That’s good !
But, if I click again on it (for sorting z to a) i obtain a corect result, but only with the 20 rows corresponding to ma page I saw...

Were do i start?

0

Please lovely developer, i dont known where to start from even the download link is not working.
Please i really need ur help.
Thanks for responding?

studio script editor scrolls automatically to top

0

When we are editing using script editor of WM studio (6.5.3) in Chrome, the script automatically scrolls to the top. Even if we scroll down using the scrollbar, it goes back and hence we cannot edit anything properly.
I found that this problem occurs only when the Browser is not at the default zoom level of 100% but at 90% or at a lower zoom level. Reverting zoom to 100% removes this problem.
Just reporting!

KPP

How to save BigDecimal values

0

How to save BigDecimal values?
If I put 12,20 WM sends 120.00
Any idea to solve this?
Thanks.

Syndicate content