You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by do...@apache.org on 2006/01/11 22:37:24 UTC
svn commit: r368134 -
/beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle/ControlLifecycleController.java
Author: dolander
Date: Wed Jan 11 13:37:21 2006
New Revision: 368134
URL: http://svn.apache.org/viewcvs?rev=368134&view=rev
Log:
I moved the call to the control method into the begin action so that the control is
excersized on a page refresh instead of just on the pageflow creation.
Modified:
beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle/ControlLifecycleController.java
Modified: beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle/ControlLifecycleController.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle/ControlLifecycleController.java?rev=368134&r1=368133&r2=368134&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle/ControlLifecycleController.java (original)
+++ beehive/trunk/netui/test/webapps/drt/src/controls/lifecycle/ControlLifecycleController.java Wed Jan 11 13:37:21 2006
@@ -38,11 +38,11 @@
private String _message;
public void onCreate() {
- _message = _control.echo("Hello World! -- controls.lifecycle.ControlLifecycleController");
}
@Jpf.Action()
public Forward begin() {
+ _message = _control.echo("Hello World! -- controls.lifecycle.ControlLifecycleController");
getRequest().setAttribute("echoMessage", _message);
return new Forward("index");
}