You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Carlin Rogers (JIRA)" <de...@beehive.apache.org> on 2006/09/18 19:36:24 UTC

[jira] Resolved: (BEEHIVE-1139) Differences in project created with apache-beehive-1.0.1\ant\beehive-runtime.xml and documentation that describes it

     [ http://issues.apache.org/jira/browse/BEEHIVE-1139?page=all ]

Carlin Rogers resolved BEEHIVE-1139.
------------------------------------

    Resolution: Incomplete

Petrenko, What document are you referring to? Is it the tutorial? The example Controller in the bug looks like it comes from the tutorial. Also, the ant targets in beehive-runtime.xml do not generate the Controller class files. So this looks like an issue with some document you are referring to and in your example it appears just to be an issue with the formatting of the code... spaces, etc.

Note, the tutorial was cleaned up with svn revision 447474.

> Differences in project created with apache-beehive-1.0.1\ant\beehive-runtime.xml and documentation that describes it
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1139
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1139
>             Project: Beehive
>          Issue Type: Bug
>          Components: Documentation, NetUI
>    Affects Versions: 1.0.1
>            Reporter: Petrenko Oleksandr
>            Priority: Minor
>
> In docs there is the following example:
> Controller.java
> @Jpf.Controller(
>     simpleActions={
>         @Jpf.SimpleAction(name="begin", path="index.jsp"),
>         @Jpf.SimpleAction(name="toPage2", path="page2.jsp")
>     }
> )
> public class Controller   extends PageFlowController 
> {
> .....
> }
> and the actual annotation should look like:
> @Jpf.Controller(
>      simpleActions = { 
>          @Jpf.SimpleAction(name = "begin", path = "index.jsp"),
>          @Jpf.SimpleAction(name = "toPage2", path = "Page2.jsp") 
>    }
> )
> public class Controller extends PageFlowController {
> ....
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira