myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Breijo (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Comment Edited] (MYFACES-4169) selectOneRadio grouping broken
Date Tue, 14 Nov 2017 20:14:00 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16252068#comment-16252068
] 

Eduardo Breijo edited comment on MYFACES-4169 at 11/14/17 8:13 PM:
-------------------------------------------------------------------

I have uploaded a patch that solves the Validation Error issue for the specific case in selectOneRadioGroupOneValue.xhtml.
But there is still one more issue I noticed, when submitting the value of a component that
doesn't contain a Value Expression, that radio does not stay checked (selected), although
the value was submitted and processed in the bean. Could it be some kind of issue with the
rendering of this specific case?

I didn't notice that behavior with the case described in last (above) comment.


was (Author: eduardobreijo):
I have uploaded a patch that solves the Validation Error issue for the specific case in selectOneRadioGroupOneValue.xhtml.
But there is still one more issue I noticed, when submitting the value of a component that
doesn't contain a Value Expression, that radio does not stay checked (selected), although
the value was submitted and processed in the bean. Could it be some kind of issue with the
rendering of this specific case?

I didn't noticed that behavior with the case described in last (above) comment.

> selectOneRadio grouping broken
> ------------------------------
>
>                 Key: MYFACES-4169
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4169
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-372
>    Affects Versions: 2.3.0-beta
>            Reporter: Paul Nicolucci
>            Assignee: Thomas Andraschko
>             Fix For: 2.3.0
>
>         Attachments: JSF23SelectOneRadioGroup.war, MYFACES-4169-1.patch, SelectOneRadioGroupBean.java,
index.xhtml, selectOneRadioGroupOneValue.xhtml
>
>
> I was testing out the new group attribute on the <h:selectOneRadio/> component
and found that it does not look to work in all scenarios:
> I've provided a test application to shows a working scenario and then multiple scenarios
that I think should work but don't.
> The app can be deployed on tomcat. 
> You can drive a request to the index page which will contain the links what doesn't work:

> http://localhost:8080/JSF23SelectOneRadioGroup/index.xhtml
> Or you can directly verify what does not work by sending requests to:
> localhost:8080/JSF23SelectOneRadioGroup/error.xhtml
> localhost:8080/JSF23SelectOneRadioGroup/error2.xhtml
> localhost:8080/JSF23SelectOneRadioGroup/error3.xhtml
> localhost:8080/JSF23SelectOneRadioGroup/error4.xhtml



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message