I have a current and clean XWork build at r1221, but I'm showing a build failure on the CodeBehind plugin.
[INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure C:\projects\Apache\struts-current\struts2\plugins\codebehind\src\test\java\org\a pache\struts2\codebehind\CodebehindUnknownHandlerTest.java:[36,31] cannot find s ymbol symbol : class VoidResult location: package com.opensymphony.xwork2 Is it suppose to NullResult, or something like that? -Ted. On 11/19/06, Don Brown <[EMAIL PROTECTED]> wrote:
Inspired from a conversation Ted and I had at the last ApacheCon, I've finally got around to creating the Codebehind plugin. The Codebehind plugin brings elements of the "Page Controller" design to Struts 2 for the purposes of reducing the amount of mundane configuration through conventions. There are two common situations for configuration that could be improved: 1. *Pages with no Action* - These are cases where the page is mostly static and doesn't require an Action class to execute logic. Common examples are index pages and those that heavily use JSP tags or JSF components. 2. *Default results* - The purpose of most Actions is to execute code to prepare the data for a specific page. The name of this page is usually the same as the Action itself. To improve the first case, the Codebehind plugin will detect the presence of a page with no corresponding Struts Action and automatically substitute the ActionSupport class, which is basically a NO-OP Action. For the problem of default results, the Codebehind plugin will make it unnecessary to define those results by detecting the presense of a page for that Action and creating the appropriate configuration on-the-fly. In these ways, the Codebehind plugin allows you to follow a page-based development style, handing the linking of Struts Actions and pages or Results in a common way. For more information, see: http://cwiki.apache.org/WW/codebehind-plugin.html As usual, you can also see the plugin in action in the Showcase application. I combined it with the Zero Configuration demo (person manager) to show how little configuration can be necessary. Don --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- HTH, Ted. * http://www.husted.com/struts/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]