You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "John Rohrlich (JIRA)" <be...@incubator.apache.org> on 2005/01/18 19:15:18 UTC

[jira] Created: (BEEHIVE-177) targetScope attribute on button not setting jpfScopeId unless action attribute is also set

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


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


[jira] Resolved: (BEEHIVE-177) targetScope attribute on button not setting jpfScopeId unless action attribute is also set

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-177?page=history ]
     
Rich Feit resolved BEEHIVE-177:
-------------------------------

    Resolution: Fixed

Fixed with revision 155306.

> 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


[jira] Assigned: (BEEHIVE-177) targetScope attribute on button not setting jpfScopeId unless action attribute is also set

Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-177?page=history ]

Nathan Jantz reassigned BEEHIVE-177:
------------------------------------

    Assign To: Nathan Jantz  (was: Alejandro Ramirez)

> 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

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


[jira] Assigned: (BEEHIVE-177) targetScope attribute on button not setting jpfScopeId unless action attribute is also set

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-177?page=history ]

Rich Feit reassigned BEEHIVE-177:
---------------------------------

    Assign To: Rich Feit

> 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


[jira] Assigned: (BEEHIVE-177) targetScope attribute on button not setting jpfScopeId unless action attribute is also set

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-177?page=history ]

Rich Feit reassigned BEEHIVE-177:
---------------------------------

    Assign To: Alejandro Ramirez  (was: Rich Feit)

> 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: Alejandro Ramirez

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


[jira] Resolved: (BEEHIVE-177) targetScope attribute on button not setting jpfScopeId unless action attribute is also set

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ 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


[jira] Reopened: (BEEHIVE-177) targetScope attribute on button not setting jpfScopeId unless action attribute is also set

Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
     [ 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


[jira] Closed: (BEEHIVE-177) targetScope attribute on button not setting jpfScopeId unless action attribute is also set

Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-177?page=history ]
     
Nathan Jantz closed BEEHIVE-177:
--------------------------------


This issue is now resolved.  I failed to update my netui jars properly.  I updated them and retested and now I'm seeing the expected results.

> 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