The click.xml editor uses the Page package and classname
--------------------------------------------------------

                 Key: CLKE-39
                 URL: https://issues.apache.org/jira/browse/CLKE-39
             Project: Click Eclipse
          Issue Type: Bug
    Affects Versions: 2.1.0.0
            Reporter: Bob Schellink
            Assignee: Naoki Takezoe


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to