Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Portlet integration (Liferay) Canvas problem

    SEEMS TO BE MY FAULT, NOT SMARTGWT FAULT
    CHEERS


    ---

    Hi everyone,

    I've been working in a Liferay Portlet using SmartGWT and I'm facing some integration problems.

    I have a SectionStackItem that contains 2 controls (a textitem, and a Canvas).

    Im DevMode, it works perfectly (as shown in the 1st joined picture). But, deployed in Liferay, my Canvas background color (the one set as a SectionStackItem control) doesn't show up (as shown in the 2nd picture).

    I'm aware of CSS problems, but I've already check CSS Visibility and Z-index, and those values are correct.

    Any thoughts on what could be conflicting with SmartGWT ? How Background-color of a Canvas is managed ?

    Same issue with SmartGWT 2.4 & SmartGWT 2.5 (using GWT 2.3), Firefox 5.

    Thanks for helping.
    Attached Files
    Last edited by jmichelgarcia; 12 Sep 2011, 06:51. Reason: Not SmartGWT fault

    #2
    Hey,

    In fact, I found my issue.

    In GWT developper mode, using

    Code:
    Canvas.setBackgroundColor("[B]0000FF[/B]");
    working perfectly, but not in deploymentmode.

    I'm aware of the fact that the javadoc mention using #0000FF, but its a strange behavior that it works only in DevelopperMode.

    Just posting in case it may help someone.

    Cheers.

    Comment

    Working...
    X