All Answers

0 votes

Hi Robin,

The project is using a very old theme definition, that’s what it causing the issue. Before this release the checkbox cell was a background image and then the DataGrid detected the click in the middle measuring the size of the image. One of the problems was that the background image needed also a padding and the padding prevented the cell to be resized smaller than the padding causing it to bleed over the next cell.

Now the grid cells are containers and the click inside is detected without measuring anything, it returns the role attribute of the inner element. This way we can easily detect t he inner checkbox image without caring about the coordinates, and we can also detect clicks on the +/- buttons for expandable rows (when they will be available), etc.

You can also detect clicks on custom elements, if you set the cell to AllowHtml and add “<span role=’MyItem1′>MyItem1</span><span role=’MyItem2′>MyItem2</span>” then you will find “MyItem1” or “MyItem2” in the new Role  property of the DGV and LV click event args.

Coming back to the issue at hand… 🙂

If you are just changing the colors it’s a lot easier to use a theme minx.

In your project:

  • In Web.config set the theme to “Classic-2”
  • Delete \Themes\TestDefault.theme
  • Create a new \Themes\TestDefault.mixin.theme
  • Copy the definition below in the mixin theme file:
{
 "name": "TestDefault",
   "colors": {
     "activeBorder": "LightSteelBlue",
     "buttonText": "Black",
     "controlText": "Black"
 }
}

These are the changes I could spot over the default theme.

Now you can select any theme and Wisej will simply override the settings in the mixin. See this example: http://demo.wisej.com/apps/userdesktop

The theme buttons are RadioButtons with their AppearanceKey property set to “theme-button” and themed using a mixin like this:

{
 "appearances": {
   "theme-button": {
     "inherit": "button",
       "states": {
         "default": {
           "styles": {
             "backgroundColor": "rgba(0,0,0,.5)",
             "radius": 0
           },
           "properties": {
             "textColor": "white"
           }
       },
       "checked": {
         "styles": {
           "backgroundColor": "black"
         }
       }
     }
   }
 }
}

Best,
Luca

  • Luca answered Dec 9, 2016 - 7:00 pm
  • last active Dec 9, 2016 - 7:02 pm
0 votes

Hi Mark, are you using a custom theme or copied the theme file into the project? The change was a setting in the theme.

See this: http://demo.wisej.com/apps/userdesktop

 

It uses this image: 

 

It scales well in the taskbar.

I noticed a different problem with the icon in the title of the window with some themes due to scaling.

Let me know if the same sample is what you need to do.

Best,

Luca

 

  • Luca answered Dec 9, 2016 - 6:23 pm
0 votes

 

 

The problem continues in the new version

  • Mark Villela answered Dec 9, 2016 - 5:34 pm
0 votes

Hi Rudy,

I tried your server, the png images returned by the server are empty, not broken. It returns the png end of stream “IEND‚” marker.  Looks like the resources are simply missing from the dll. Can you send the compiled dlls in a zip to support?

/Luca

  • Luca answered Dec 9, 2016 - 3:55 pm
0 votes
In reply to: Address Lookup

The elements don’t have IDs, you can get the element itself since in Wisej they don’t change. If you pass the control ID to the URL:

string url += "?id1=" + ((IWisejComponent)this.textBox1).Id;

On the client side you can read it like this:

var args = qx.util.Uri.parseUri(location.href);
var id1 = args["id1"];

Then to find the textBox1 widget on the client side:

var widget = Wisej.Core.getComponent(id1);

To get the dom element:

var el = widget.getContentElement().getDomElement();

However, in the case of wisej.web.TextBox (and ComboBox and DateTimePicker), the element is not the <input> element since the <input> is wrapped inside in order to add buttons around it. The actual input is called “textfield”:

var field = widget.getChildControl("textfield");
var inputEl = field.getContentElement().getDomElement();

The dom element can be null if you try to get it too early before the widget is rendered.

In any case, I will upload different versions of this integration using the html box and will also try to fix the problem they have wrapping a div in a div.

HTH

Best,

Luca

  • Luca answered Dec 9, 2016 - 3:33 pm
1 vote

Hi Nic,

This is roughly the list:

  • Propertygrid
  • Google Controls and Polymer
  • TinyMCE
  • ReportViewer for Crystal
  • Filedialogs for system  and S3
  • UserComboBox, Color/Font Pickers
  • Ribbonbar and accordion
  • File system for onedrive and google drive
  • Onlyoffice.org integration
  • Going to Mars.

It’s not strictly in order of implementation, rather in priority/urgency. Most of the items on the list are already started and at different stages and some can go in parallel or depend on each other.

The color picker’s issue is not the code, rather translating the theme for the inner layout from qooxdoo’s javascript approach to Wisej’s JSON theme files.

Best,

Luca

 

  • Luca answered Dec 8, 2016 - 4:24 pm
  • last active Dec 9, 2016 - 3:19 pm
0 votes
In reply to: Address Lookup

Hi Luca

If I use an HTML panel in a popup control to host the Crafty Clicks Java Script how do I pass the control IDs of the address fields into the HTML panel?

How do I access the textbox values via the control ID in JavaScript in the HTML Panel so I can perform address verification?

Many Thanks for your help

Ewan

0 votes

Hi

I tried installing the latest version and I get the error message the previous version cannot be removed.

The fix is to rerun the installed for build 1.3.13 and select Repair. You can then install 1.3.15

Thanks

Ewan

  • Ewan Walker answered Dec 9, 2016 - 12:11 pm
  • last active Dec 9, 2016 - 12:35 pm
0 votes

Thanks. Confirmed fixed. Also.. really like the new placement options.

Robin.

0 votes

Revised 1.3.15 build is back online.

We have fixed the problems we found and successfully retested the build.

Please download it at https://wisej.com/builds or use the AutoUpdate tool.

Best regards
Frank

0 votes

Important note:

In a last test we uncovered a problem that is going to be examined in detail now,
requiring a fresh round of testing before we release the next build.

We´ll inform you once it is available. Sorry for any confusion.

Best regards
Frank

0 votes

Hi Frank,

I have re-sent the details to support@wisej.com

best Regards
Rudy

  • Rudy answered Dec 8, 2016 - 2:40 am
0 votes

Hi Alex,

the readonly property for ComboBoxes is now available with build 1.3.15.

Best regards
Frank

0 votes

Hi Andrew,

this change (WJ-7847) is included in the latest build (1.3.15).

Best regards
Frank

0 votes

Hi Andrew,

WJ-7834 is also included in the latest Wisej build (1.3.15).

Best regards
Frank

0 votes

Hi Wilfred,

the fix for http that Luca mentioned was logged as WJ-7849 and is included in our latest build (1.3.15).

Best regards
Frank

0 votes

Michael, Andrew,

WJ-7836 has been implemented in the latest build (1.3.15).

Best regards
Frank

0 votes

Hi Mark,

AutoHideTaskbar is now available (with build 1.3.15).

Best regards
Frank

0 votes

Hi Mark,

please retry with the latest Wisej build (1.3.15). It´s fixed in there.

Best regards
Frank

0 votes

Hi Mark,

the problem was logged as WJ-7846 and is fixed in the latest release (1.3.15).

Best regards
Frank

Showing 9941 - 9960 of 11k results