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

Kyle Marvin updated BEEHIVE-541:
--------------------------------

    Assign To: Rich Feit  (was: Kyle Marvin)

Rich is going to take a look at this.  The basic change that needs to be made 
is to replace the iteration of control fields in 
JavaControlUtils.initJavaControls() with a single call:

      Controls.initializeClient(null, controlClient, beanContext);

A complicating figure (which is why Rich is taking over) is that that control 
IDs are assigned by the generated initializer based upon the field name of the 
initializing field.   Rich uses a different algorithm due to the fact that 
multiple instances of a pageflow might actually exist within the 
ControlContainerContext.

He's going to look and see if he can relax this, and make the relationships 
between pageflows and their context one-to-one so there is no risk of ID 
collisions.

> 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: Rich Feit
>      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