[ 
http://issues.apache.org/jira/browse/BEEHIVE-541?page=comments#action_64084 ]
     
Kyle Marvin commented on BEEHIVE-541:
-------------------------------------

The root cause of this problem is that the pageflow runtime isn't using the 
code-generated ClientInitializer, which has all the code to do the event 
handler wireup.  Instead, there is just a manual iteration in 
netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/JavaControlUtils 
that initializes the fields, but only does that.

The fix would be to convert this over to using the generated initializer, which 
I am going to attempt.  Trying to touch base with Ken/Rich to understand if 
there is a reason why this hadn't already been done.

> controls event: could not receive event on .jpf with eventhandler
> -----------------------------------------------------------------
>
>          Key: BEEHIVE-541
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-541
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: James Song
>     Assignee: Kyle Marvin
>      Fix For: V1

>
> Description: could not receive the events raised by the control on pageflow 
> with eventhandler.
> Repro:
> 1. svn update to r162106;
> 2. deploy controlsWeb;
> 3. invoke the following 
> url:http://localhost:8080/controlsWeb/event/eventhandler/begin.do
> What is expected from server output:
> "***************************************"
> " On Controller.jpf:event1 received!"
> "***************************************"
> "***************************************************"
> " On Controller.jpf: event2 receive!"
> "***************************************************"

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

Reply via email to