Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Corerction. SC.say() works, but com.smartgwt.client.widgets.Window does not. It 
does
not appear on cell context click, only browser context menu. But it works in 
hosted mode.

Original comment by [email protected] on 13 Dec 2008 at 6:30

from smartgwt.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
Attached is source that shows exactly what I want to do and the problem with 
it. Zip
file contains eclipse project (not the project folder itself, only the contents 
under
it). Module my.smart.module.MySmartTree is the one. It extends the sample 'Load 
from
local data' and adds cell context click handler. When you run it under GWT 
Hosted
mode, a window with property form appears on a right click. When you deploy it 
under
Tomcat, and open with a browser (FF and IE tested), only browser context menu 
appears.

Original comment by [email protected] on 15 Dec 2008 at 10:56

Attachments:

from smartgwt.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024
It took me some time to resolve this...

The problem is not in event dispatching, it works fine, but in the following 
line of
my code:
    ps.setColWidths(new int[] {50, 200});

Hosted mode will accept this and display window properly. However, to have 
correct
behaviour in production environment, without hosted mode, the line should be 
like this:
    ps.setColWidths(new Object[] {50, 200});


As the method signature requires Object[], I would expect an error in hosted 
mode too
but it did not happen and made a heavy confusion.

I consider this issue closed.

Original comment by [email protected] on 29 Dec 2008 at 2:18

from smartgwt.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 29, 2024

Original comment by [email protected] on 29 Dec 2008 at 2:42

  • Changed state: Invalid

from smartgwt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.