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

Melloware commented on MYFACES-4656:
------------------------------------

 IT looks like Mojarra submitted this PR 
[https://github.com/eclipse-ee4j/mojarra/pull/5418] not sure if MyFaces has 
similar code?

> Component with overriden isRequired method does not evaluate plain string 
> value
> -------------------------------------------------------------------------------
>
>                 Key: MYFACES-4656
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4656
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 4.0.2
>            Reporter: chaloma1
>            Priority: Minor
>             Fix For: 5.0.0, 4.1.0-RC2, 4.0.3
>
>         Attachments: primefaces-test-git.zip
>
>
> Component with overriden isRequired() method using "required" instead 
> PropertyKeys.required string as in UIInput parent class (you can add default 
> value here if attribute is not found or set). Works with #\{true} or 
> #\{xxxController.isComponentRequired} {*}but not with plain string like 
> "true"{*}.
> See ThirdComponent in attached example. You can execute the sample with mvn 
> jetty:run -Pmyfaces40 command and hit [http://localhost:8080/primefaces-test] 
> to run the page.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to