Uploaded image for project: 'Click Eclipse'
  1. Click Eclipse
  2. CLKE-39

The click.xml editor uses the Page package and classname

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0.0
    • Fix Version/s: 2.2.0.0
    • Labels:
      None

      Description

      When creating a Page through the wizard and checking the "Add mapping to click.xml" the generated click.xml is correct. For example if the default pages packages is "org.test", creating a new Home page will generate the following click.xml:

      <pages package="org.test" autobinding="annotation">
      <page path="home.htm" classname="Home"></page>
      </pages>

      The problem comes when using the click.xml editor "Pages" tab and selecting a Page using the "Browse..." button. If a Page is selected in this way the page and package is selected and added to the click.xml:

      <pages package="org.test" autobinding="annotation">
      <page path="home.htm" classname="org.test.Home"></page>
      </pages>

      At runtime Click tries to map the file "org.test.org.test.Home" which doesn't exist.

        Attachments

          Activity

            People

            • Assignee:
              takezoe Naoki Takezoe
              Reporter:
              sabob Bob Schellink
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: