GWT and HTML id tags

IntelliJ complains about "Unresolved references to html tags" on the generated sample after running GWT's webAppCreator with GWT 1.6.4. When I open the EntryPoint class, it complains about the RootPanel.get("nameFieldContainer") statement even though the generated HTML files includes the following:


    <table align="center">
      <tr>
        <td colspan="2" >Please enter your name:</td>     
      </tr>
      <tr>
        <td id="nameFieldContainer"></td>
        <td id="sendButtonContainer"></td>
      </tr>
    </table>

The HTML code does indeed include the id nameFieldContainer.

I've tried to get IntelliJ to search my whole project, but IntelliJ still doesn't find the html assosiated to the id.

Any hint on how to resolve this?

Thanks,
Trond

PS: One clarification is that I generated an Eclipse project with the webAppCreator script and imported from IntelliJ existing project using the Eclipse project as the source.

1 comment

IDEA 8 doesn't support a new project structure introduced in GWT 1.6. In particular it doesn't resolve such references if html file is located outside
source roots. The problem will be resolved in IDEA 9 (its first EAP build will be available soon).

IntelliJ complains about "Unresolved references to html tags" on the generated sample after running GWT's webAppCreator with GWT 1.6.4. When I open the EntryPoint class, it complains about the RootPanel.get("nameFieldContainer") statement even though the generated HTML files includes the following:

>       
>         Please enter your name:       
>       
>       
>         
>         
>       
>     ]]>


The HTML code does indeed include the id nameFieldContainer.

I've tried to get IntelliJ to search my whole project, but IntelliJ still doesn't find the html assosiated to the id.

Any hint on how to resolve this?

Thanks,
Trond

---
Original message URL: http://www.jetbrains.net/devnet/message/5238471#5238471



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.