You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Curtiss Howard (JIRA)" <de...@myfaces.apache.org> on 2010/05/06 14:22:49 UTC
[jira] Created: (MYFACES-2704) in not
rendered properly
<f:param> in <h:commandButton> not rendered properly
----------------------------------------------------
Key: MYFACES-2704
URL: https://issues.apache.org/jira/browse/MYFACES-2704
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0
Reporter: Curtiss Howard
When we have an <h:commandButton> with a nested <f:param>, the <f:param> is rendered as a hidden input with the given name and value. This works fine except in the case where two different <h:commandButton> widgets each have an <f:param> with the same name. The result is two hidden inputs with the same name but different values, and one of the values will win out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MYFACES-2704) in not
rendered properly
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe updated MYFACES-2704:
------------------------------------
Status: Patch Available (was: Open)
> <f:param> in <h:commandButton> not rendered properly
> ----------------------------------------------------
>
> Key: MYFACES-2704
> URL: https://issues.apache.org/jira/browse/MYFACES-2704
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0
> Reporter: Curtiss Howard
> Attachments: MYFACES-2704-1.patch
>
>
> When we have an <h:commandButton> with a nested <f:param>, the <f:param> is rendered as a hidden input with the given name and value. This works fine except in the case where two different <h:commandButton> widgets each have an <f:param> with the same name. The result is two hidden inputs with the same name but different values, and one of the values will win out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MYFACES-2704) in not
rendered properly
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe updated MYFACES-2704:
------------------------------------
Status: Resolved (was: Patch Available)
Assignee: Leonardo Uribe
Fix Version/s: 2.0.1-SNAPSHOT
Resolution: Fixed
Committed solution. I did some small changes, and also I added a test on test-webapp. Now it should work as expected.
> <f:param> in <h:commandButton> not rendered properly
> ----------------------------------------------------
>
> Key: MYFACES-2704
> URL: https://issues.apache.org/jira/browse/MYFACES-2704
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0
> Reporter: Curtiss Howard
> Assignee: Leonardo Uribe
> Fix For: 2.0.1-SNAPSHOT
>
> Attachments: MYFACES-2704-1.patch
>
>
> When we have an <h:commandButton> with a nested <f:param>, the <f:param> is rendered as a hidden input with the given name and value. This works fine except in the case where two different <h:commandButton> widgets each have an <f:param> with the same name. The result is two hidden inputs with the same name but different values, and one of the values will win out.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.