Hybrid View

  1. #1
    Ext User
    Join Date
    Dec 2008
    Posts
    8
    Vote Rating
    0
    maverick79 is on a distinguished road

      0  

    Question GXT/GWT throws error when including id for body tag

    GXT/GWT throws error when including id for body tag


    I had the <body id="myid"> tag on my page and the GXT/GWT throws the error "undefined is null or not an object". When I replace it with <body> it works fine. I have to include id to make some stuff work. Can someone explain it why does it happen and how to solve it.

    Thanks

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I cannot reproduce this. Is the id probably the same than the appname?

  3. #3
    Ext User
    Join Date
    Dec 2008
    Posts
    8
    Vote Rating
    0
    maverick79 is on a distinguished road

      0  

    Default


    yeah the id is the same as the appname. I had the following in MyApp.gwt.xml

    <module rename-to='myapp'>

    and the body tag is

    <body id="myapp">

    there is a lot of code so i can't paste the stuff here. Even if i don't add anything to the RootPanel in onModuleLoad(), I still get that error.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    There is a GWT issue preventing you from having an element with the id same as the appname. I cannot find the ticket anymore, but i remember it a little bit

  5. #5
    Ext User
    Join Date
    Dec 2008
    Posts
    8
    Vote Rating
    0
    maverick79 is on a distinguished road

      0  

    Default


    Quote Originally Posted by sven View Post
    There is a GWT issue preventing you from having an element with the id same as the appname. I cannot find the ticket anymore, but i remember it a little bit
    Thanks Sven. I will try a workaround

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Simple change the id

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