[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: mrubenfeld  XML
Profile for mrubenfeld -> Messages posted by mrubenfeld [4]
Author Message
Hi,

We think we solved the poblem with "textgridlineunselection=v23" not working in the new v8 build.

Since we only run in "textgridlineunselection=v23" mode, we do not have to check for its value each time.

So we added the following code, which always assumes that textgridlineunselection is set to v23 mode, to the central.js file :

// added to prevent deselect on same row click - MAR 11-19-2013
var vLastTLSelected = this.getPropertyValue(casacontrol.CASA_lastselectprop);
if( (vLastTLSelected == rowIndex) && (vCurrent == "true" || vCurrent == true)) return;
// end of added


The code was added about 16 lines before the end of that function which is shown abridged here:

function C_selectRowTEXTGRID(casacontrol,rowIndex, ctrlKey, shiftKey, suppressSubmit)

It was added as:

function C_selectRowTEXTGRID(casacontrol,rowIndex, ctrlKey, shiftKey, suppressSubmit)
{
if (shiftKey == true)
{
if (this.isIE() == true)
this.parent.document.selection.empty();
else
this.parent.window.getSelection().removeAllRanges();
}
if (!casacontrol || rowIndex < 0) return;
var vVariable = casacontrol.CASA_displayitemsprop+"["+rowIndex+"]."+casacontrol.CASA_selectprop;
this.setKeyboardFocusTEXTGRID(casacontrol, rowIndex);
if (casacontrol.CASA_selectprop != null && casacontrol.CASA_singleselect == false)
{
if (casacontrol.CASA_rowcount != null &&
casacontrol.CASA_rowcount > 0)
{
......


if (vCurrent != "true" && vCurrent != true)
this.selectItemsTEXTGRID(casacontrol, rowIndex, rowIndex);
}
}
}
if (casacontrol.CASA_selectprop != null &&
casacontrol.CASA_singleselect == true)
{
var vCurrent = this.getPropertyValue(vVariable);
// added to prevent deselect on same row click - MAR 11-19-2013
var vLastTLSelected = this.getPropertyValue(casacontrol.CASA_lastselectprop);
if( (vLastTLSelected == rowIndex) && (vCurrent == "true" || vCurrent == true)) return;
// end of added
this.deselectAllTEXTGRID(casacontrol);
if (vCurrent != "true" && vCurrent != true)
this.selectItemsTEXTGRID(casacontrol, rowIndex, rowIndex);
}
if (casacontrol.CASA_lastselectprop != null)
{
var vTopIndex = 0;
if (casacontrol.CASA_topindexprop != null)
vTopIndex = (-1) * (-1) * this.getPropertyValue(casacontrol.CASA_topindexprop);
this.setPropertyValue(casacontrol.CASA_lastselectprop,(vTopIndex+rowIndex));
}
}

Thanks.

Marty
Hi,

We got our entire application working in IE9 and ie10 using the new v8 build.

But we have a problem with the cisconfig.xml attribute for:

textgridlineunselection="v23"

This attribute is supposed to prevent a textgrid row from being deselected by multiple clicks on the same row. eg: A row is only allowed to be deselected by clicking on a different row.

In v8, each click on a textgrid row toggles the row instead of leaving it selected.

Does anyone know which js class(s) control this feature and the concept of how this attribute feature works?
Hi Björn,

Thank you for looking at this.

Yes you are correct. The error screen appears instead of the page.

Attaching screen shots of the crashes in demo workplace and ide workplace.

Marty
Hello community,

We have been using CIS_V24_20111006 without problem but we wanted to enable our application in Firefox so we took the new v8 build from Software AG last year.

We have Software AG's v8 build, version CIS_V826_20121130_2039_CIT, and we are using apache-tomcat-6.0.36.

We have our application working in IE9 and Firefox using v8.

But then along came IE10.

We're having problems with IE10 crashing adapters with grids in them when using v8.

Our application runs in IE10 in Compatibility Mode but not in straight IE10 Mode.

It looks like the problem is with v8, not our application, because we see the same behavior in the v8 demo workplace.

Try this: Open the demo workplace: localhost:port#/your project/HTMLBasedGUI/workplace/demo.html.

Make sure that your IE10 is in IE10 Mode, not in Compatibility Mode.

Click the Hello World demo or Combo Box demo in the Navigation frame; they work.

Click Control Overview demo, Tree demo, Drag and Drop demo, Text Grids demo, or Schedule demo in the Navigation frame; they all crash.

It can also be seen using the ide workplace: localhost:port#/your project/HTMLBasedGUI/workplace/ide.html

When the workplace opens, the Navigation frame itself crashes.

In all these cases, you can see the properly rendered page for a second just before the content crashes.

We checked the js code as per Manfred's advice and all those changes do appear in v8 already (there were about 6 they missed, we added them, but fixing the missing ones did not fix the problem).

Note: We are not sure if these crashes also happen in the v24 demo workplace when using IE10.

We have attached the log file for the Tree demo click crash, {serverLog_20131025 - Tree Demo IE10.log} to this message.

We have attached our cisconfig.xml file to this message.

Any help would be greatly appreciated.

Thanks in advance.

Marty
 
Profile for mrubenfeld -> Messages posted by mrubenfeld [4]
Go to:   
Powered by JForum 2.1.6 © JForum Team