Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-2477 in 3.0.3.
  1. #1
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    0
    dieterv is on a distinguished road

      0  

    Default Possible ModalPanel bug?

    Possible ModalPanel bug?


    I'm trying to make a modal panel with a 75% opacity in stead of 25%. As usual I create a custom appearance to make this happen.
    It didn't work however, as the default constructor of the ModalPanel does a GWT.create of the ModalPanelDefaultAppearance in stead of the interface (ModalPanelAppearance). So my 'replace -with' in gwt.xml didn't work.
    Code:
    public ModalPanel() {
     this(GWT.ModalPanelAppearance.create(ModalPanelDefaultAppearance.class));
    }
    Isn't this a bug?
    And how would I work around this to fix my issue for now?

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    You are correct, this is an issue. The easiest workaround I'm seeing is for you to extend ModalPanelDefaultAppearance instead of implementing the interface, and make an additional rebind rule (keep the old one so that when we fix the bug your code continues to work) that replaces ModalPanelDefaultAppearance with your custom appearance. This would look something like this:

    Code:
    <replace-with class="my.custom.theme.client.CustomModalPanelAppearance">
      <when-type-is class="com.sencha.gxt.widget.core.client.ModalPanel.ModalPanelDefaultAppearance" />
    </replace-with>

  3. #3
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    0
    dieterv is on a distinguished road

      0  

    Default


    That is the solution I tried myself. But whatever rebind rule I try, in the end the application keeps using the ModalPanelDefaultAppearance.

    Any idea why this happens?

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    To verify that there has been no miscommunication, and that there isn't some other issue here, can you post the contents of your module file and the modal panel appearance you are trying to use to replace the default?

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    This issue has been fixed in SVN and nightly builds, and will be available in the next release.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi