Dear Wiki user, You have subscribed to a wiki page or wiki category on "Shale Wiki" for change notification.
The following page has been changed by CedricDumoulin: http://wiki.apache.org/shale/ShaleAndClayTutorial The comment on the change is: Typo ------------------------------------------------------------------------------ In the field "Select root directory" enter the name of you workspace or use the âBrowse..â button to navigate to it. Eclipse should now list all available projects. Select the ShaleClay project and hit the âFinishâ button. - You may see a red cross on your projectname if you have not defined the maven classpath variable âM2_REPOâ. You ca add it under "Window-preferences" and then "Java-Build Path-Classpath Variables" + You may see a red cross on your projectname if you have not defined the maven classpath variable âM2_REPOâ. You can add it under "Window-preferences" and then "Java-Build Path-Classpath Variables" attachment:ShaleClay4.jpg @@ -68, +68 @@ Eclipse will then inform you that it has to rebuild the workspace. Press the "Yes" button. - If you still have a re cross after it has recompiled, check the default Java version in Eclipse. If you have Java5 as standard the cause is the compiler-level is mismatched with what Maven set when it generated the project. Go to the problems view, right click on the message and choose âQuick Fixâ + If you still have a red cross after it has recompiled, check the default Java version in Eclipse. If you have Java5 as standard the cause is the compiler-level is mismatched with what Maven set when it generated the project. Go to the problems view, right click on the message and choose âQuick Fixâ attachment:ShaleClay6.jpg @@ -79, +79 @@ attachment:ShaleClay7.jpg In the Java sourcefolder (src/main/java) under the packagename you provided you should find two classes: - Person og TestVC. + Person and TestVC. In the resources folder (src/main/resources) you will find three property files. This is actually one property file with two language provisions of it. These can be identified by their nameextention. In the web sources folder (src/main/webapp) you will find several folders: - The folder âimagesâ contains the images and backgrouns that are used for the site. + The folder âimagesâ contains the images and backgrounds that are used for the site. - The folder âpagesâ contains standard definitions (defaultxxx.html) of the various parts tghat make up the site, along with som specific definitions (pageXbody.html) + The folder âpagesâ contains standard definitions (defaultxxx.html) of the various parts that make up the site, along with some specific definitions (pageXbody.html) The folder âtemplatesâ contains the template that we are using to build our site â we will return to this shortly @@ -143, +143 @@ * org.apache.shale.clay.FULLXML_CONFIG_FILES â What are the name(s) of the Clay configuration file(s) that tells Clay about our page definitions.[[BR]] * org.apache.shale.clay.XML_TEMPLATE_SUFFIX â Which page suffixes should be handled by Clay.[[BR]] - The are the Filter defintions. A filter is a Javaclass that will be called by the webcontainer on every request that comes into it (Actually only requests that match a certain predefined pattern â See filter-mapping below) + Then are the Filter definitions. A filter is a Javaclass that will be called by the webcontainer on every request that comes into it (Actually only requests that match a certain predefined pattern â See filter-mapping below) <filter>[[BR]] <filter-name>shale</filter-name>[[BR]]