You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gurminderpal (JIRA)" <de...@myfaces.apache.org> on 2010/09/15 16:52:35 UTC

[jira] Commented: (MYFACES-1569) Error message when input text is disabled or readOnly

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

Gurminderpal commented on MYFACES-1569:
---------------------------------------

<h:inputText id="name"
                         readonly="#{!webNewBean.genericTypeSelected}"
                         rendered="#{webNewBean.genericTypeSelected}"
                         styleClass="input_field"
                         value="#{webNewBundleBean.name}"/>

As you can see i need readonly or disabled attribute to be opposite of rendered attribute. and still don't want to see the above  warning mentioned. 
Even if i use only rendered attribute then too i see the above warning.

Please help me how to get rid of this warning.

Thank you. 

> Error message when input text is disabled or readOnly
> -----------------------------------------------------
>
>                 Key: MYFACES-1569
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1569
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: General
>            Reporter: Oliver Pfau
>            Assignee: Mike Kienenberger
>            Priority: Minor
>             Fix For: 1.1.6
>
>
> Submit of a from with input text is disabled == true leads to the following message:
> "WARNING: There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only . Component : <...inputText>"
> The warning does not appear when readOnly == true. Please remove the part "or read-only" from the message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.