You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Julie Zhuo (JIRA)" <be...@incubator.apache.org> on 2005/05/13 18:42:09 UTC

[jira] Closed: (BEEHIVE-651) Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true

     [ http://issues.apache.org/jira/browse/BEEHIVE-651?page=all ]
     
Julie Zhuo closed BEEHIVE-651:
------------------------------


Verified fixed at rev170022.

> Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true
> ----------------------------------------------------------------------------
>
>          Key: BEEHIVE-651
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-651
>      Project: Beehive
>         Type: Bug
>   Components: Documentation
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Julie Zhuo

>
> bash05102005 
> Or have its interface/itself implement Serializable. It won't compile that way.
> ****Here is the copy of the sample code from the tutorial**************
> Step 3: Add a Parameterized Method to the Control
> To edit the Interface and Implementation Files
> Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.jcs so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlImplementation
> public class HelloImpl implements Hello
> {
>     public String hello()
>     {
>         return "hello!";
>     }
>     public String helloParam( String name )
>     {
>         return "Hello, " + name + "!";
>     }
> }Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/Hello.java so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlInterface
> public interface Hello
> {
>     String hello();
>     String helloParam( String name );
> }Edit the Controller.jpf File

-- 
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