[ http://issues.apache.org/jira/browse/BEEHIVE-177?page=history ]
Nathan Jantz reopened BEEHIVE-177:
----------------------------------
Assign To: Rich Feit (was: Nathan Jantz)
As of rev 155598, the following JSP code :
<netui:form action="submit">
<netui:textBox dataSource="pageFlow.str"/>
<netui:button targetScope="w" value="submit to W scope (form and button)"/>
</netui:form>
still generates HTML as:
<form action="/pageFlowScoping/targetScope/submit.do" method="post">
<input type="text" name="{pageFlow.str}">
<input type="submit" value="submit to W scope (form and button)">
</form>
The expected result would be something like:
<form action="/pageFlowScoping/targetScope/submit.do" method="post">
<input type="hidden" name="jpfScopeID" value="w">
<input type="text" name="{pageFlow.str}">
<input type="submit" value="submit to W scope (form and button)">
</form>
> 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: Rich Feit
>
> 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