[ http://issues.apache.org/jira/browse/BEEHIVE-177?page=history ]
     
Rich Feit resolved BEEHIVE-177:
-------------------------------

      Assign To: Nathan Jantz  (was: Rich Feit)
     Resolution: Cannot Reproduce
    Fix Version: V1Beta

Hi Nathan,

When I paste in that exact JSP code, I get this in the rendered HTML:

        <form action="/lastmile/nathan/submit.do" method="post">
            <input type="text" name="{pageFlow.str}">
            <input type="submit" name="actionOverride:submit?jpfScopeID=w" 
value="submit to W scope (form and button)">
        </form>

...which is correct.  Are your beehive-netui-*.jar files updated in your 
webapp?  If so, would you reopen this with a repro attached?

Thanks,
Rich

> targetScope attribute on button not setting jpfScopeId unless action 
> attribute is also set
> ------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-177
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-177
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>  Environment: windows xp, webLogic
>     Reporter: John Rohrlich
>     Assignee: Nathan Jantz
>      Fix For: V1Beta

>
> When targetScope is set on a button no jpfScopeID is generated if the button 
> lacks the action attribute
> Setting the targetScope attribute on netui:button should set jpfScopeID in 
> one of two ways
>    - get the action from the form tag and generate an action override
>          (e.g. name="actionOverride:begin?jpfScopeID=a")
> or 
>    - add a hidden field (e.g. <input type="hidden" name="jpfScopeID" 
> value="a">)
> neither of these code choices is generated

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