Dear Mrs. Rogers,
I am referring to http://beehive.apache.org/docs/1.0.1/netui/tutorial.html.
Step 2: Create your First Page Flow Controller
...
Add a Simple Action to Handle the Link
"Open the file web/myFlow/Controller.java.
Edit Controller.java so it appears as follows. Don't forget the
comma after the first Jpf.SimpleAction(...) element!
Controller.java
package myFlow;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
import org.apache.beehive.netui.pageflow.PageFlowController;
@Jpf.Controller(
simpleActions={
@Jpf.SimpleAction(name="begin", path="index.jsp"),
@Jpf.SimpleAction(name="toPage2", path="page2.jsp")
}
)
public class Controller
extends PageFlowController
{
} Save Controller.java"
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 {
....
}
----- Original Message -----
From: "Carlin Rogers (JIRA)" <[email protected]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 18, 2006 9:36 PM
Subject: [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