You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2009/11/21 00:59:42 UTC
[jira] Created: (MYFACES-2417) h:commandButton and h:commandLink
now can be rendered outside a form
h:commandButton and h:commandLink now can be rendered outside a form
--------------------------------------------------------------------
Key: MYFACES-2417
URL: https://issues.apache.org/jira/browse/MYFACES-2417
Project: MyFaces Core
Issue Type: Task
Components: JSR-314
Reporter: Leonardo Uribe
In jsf 1.2 this is not possible, but now it is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MYFACES-2417) h:commandButton and h:commandLink
now can be rendered outside a form
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Korherr updated MYFACES-2417:
-----------------------------------
Status: Patch Available (was: Open)
> h:commandButton and h:commandLink now can be rendered outside a form
> --------------------------------------------------------------------
>
> Key: MYFACES-2417
> URL: https://issues.apache.org/jira/browse/MYFACES-2417
> Project: MyFaces Core
> Issue Type: Task
> Components: JSR-314
> Reporter: Leonardo Uribe
> Attachments: myfaces-2417.patch
>
>
> In jsf 1.2 this is not possible, but now it is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (MYFACES-2417) h:commandButton and h:commandLink
now can be rendered outside a form
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe updated MYFACES-2417:
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-alpha-2
Assignee: Leonardo Uribe
Status: Resolved (was: Patch Available)
Thanks to Jakob Korherr for this patch
> h:commandButton and h:commandLink now can be rendered outside a form
> --------------------------------------------------------------------
>
> Key: MYFACES-2417
> URL: https://issues.apache.org/jira/browse/MYFACES-2417
> Project: MyFaces Core
> Issue Type: Task
> Components: JSR-314
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 2.0.0-alpha-2
>
> Attachments: myfaces-2417.patch
>
>
> In jsf 1.2 this is not possible, but now it is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2417) h:commandButton and h:commandLink
now can be rendered outside a form
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782227#action_12782227 ]
Jakob Korherr commented on MYFACES-2417:
----------------------------------------
OK, sorry - you got it from the TCK. I just took a closer look at the result.
But do you know, how h:commandLink should behave outside a form? just not render any javascript for submitting in onclick? mojarra prints a warning to the ResponseWriter that the related h:commandLink is not embedded in a form..
> h:commandButton and h:commandLink now can be rendered outside a form
> --------------------------------------------------------------------
>
> Key: MYFACES-2417
> URL: https://issues.apache.org/jira/browse/MYFACES-2417
> Project: MyFaces Core
> Issue Type: Task
> Components: JSR-314
> Reporter: Leonardo Uribe
>
> In jsf 1.2 this is not possible, but now it is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2417) h:commandButton and h:commandLink
now can be rendered outside a form
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782271#action_12782271 ]
Leonardo Uribe commented on MYFACES-2417:
-----------------------------------------
Thinking about it, we should do the same, just add a warn message and do not render any javascript for submitting in onclick.
> h:commandButton and h:commandLink now can be rendered outside a form
> --------------------------------------------------------------------
>
> Key: MYFACES-2417
> URL: https://issues.apache.org/jira/browse/MYFACES-2417
> Project: MyFaces Core
> Issue Type: Task
> Components: JSR-314
> Reporter: Leonardo Uribe
>
> In jsf 1.2 this is not possible, but now it is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2417) h:commandButton and h:commandLink
now can be rendered outside a form
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782224#action_12782224 ]
Jakob Korherr commented on MYFACES-2417:
----------------------------------------
Where did you find this information? Testing mojarra, h:commandButton can be rendered outside a form, but h:commandLink cannot.
Some details would be great (for example how h:commandLink should behave outside a form).
> h:commandButton and h:commandLink now can be rendered outside a form
> --------------------------------------------------------------------
>
> Key: MYFACES-2417
> URL: https://issues.apache.org/jira/browse/MYFACES-2417
> Project: MyFaces Core
> Issue Type: Task
> Components: JSR-314
> Reporter: Leonardo Uribe
>
> In jsf 1.2 this is not possible, but now it is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2417) h:commandButton and h:commandLink
now can be rendered outside a form
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782248#action_12782248 ]
Leonardo Uribe commented on MYFACES-2417:
-----------------------------------------
It seems h:commandButton now can be rendered outside a form because type="button" is now valid, but there is no reason besides TCK for allow h:commandLink to be rendered outside a form. Please ignore the fix for h:commandLink.
> h:commandButton and h:commandLink now can be rendered outside a form
> --------------------------------------------------------------------
>
> Key: MYFACES-2417
> URL: https://issues.apache.org/jira/browse/MYFACES-2417
> Project: MyFaces Core
> Issue Type: Task
> Components: JSR-314
> Reporter: Leonardo Uribe
>
> In jsf 1.2 this is not possible, but now it is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.