Unable to override jpfScopeID from button when already set on form
------------------------------------------------------------------

         Key: BEEHIVE-178
         URL: http://issues.apache.org/jira/browse/BEEHIVE-178
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Beta    
 Environment: Windows XP, WebLogic
    Reporter: John Rohrlich


Setting jpfScopeID on both a form (via hidden field) and on a submit button via 
the targetScope attribute fails to set the scope to the button targetScope.

Here are key steps to reproduce the bug. The easiest repro is to copy and alter 
the pfScope DRT

1 - Set the jpfScopeID on a form by opening the form in a frame with a scopeID
 - for example   <frame src="a/FlowA.jpf?jpfScopeID=a" name="frameA">

2 - On the button of the form set targetScope="b" and remember to set action=

3 - Submit the form and notice that there is no value in the form's text field 
on refresh

-- sample code --
<frameset cols="50%,50%">
        <frame src="a/FlowA.jpf?jpfScopeID=a" name="frameA">
        <frame src="b/FlowB.jpf?jpfScopeID=b" name="frameB">
</frameset>

<netui:form action="someAction">
     foo: <netui:textBox dataSource="pageFlow.foo"/>
     <br>
     <netui:button value="update" targetScope="b" action="someAction"/>
</netui:form>
        

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to