[richfaces-issues] [JBoss JIRA] Updated: (RF-8247) add displayValueOnly attribute to all richfaces components

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Jan 12 06:34:31 EST 2010


     [ https://jira.jboss.org/jira/browse/RF-8247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-8247:
-------------------------------

      Component/s: component-input
    Fix Version/s: Future
         Assignee: Ilya Shaikovsky


> add displayValueOnly attribute to all richfaces components
> ----------------------------------------------------------
>
>                 Key: RF-8247
>                 URL: https://jira.jboss.org/jira/browse/RF-8247
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>         Environment: ALL
>            Reporter: Dave Chen
>            Assignee: Ilya Shaikovsky
>             Fix For: Future
>
>
> A compont can be editing mode for users to input data,  or in showing mode for display values only.  
> Attribute "displayValueOnly" will reduce JSF page size and memory size, and simplify programming.
> For example: for pickList, we have to use two components: one for editing, and one for showing:
> <rich:pickList rendered="#{bean.isEditing}"
>            value="#{bean.values}" >
>     <f:selectItems value="#{bean.selectItems}"/>  		   
> </rich:pickList>
> <h:outputText rendered="#{!bean.isEditing}"  value="#{bean.valuesAsString}" />
> After adding displayValueOnly, one component will be sufficient, very clean.
> <rich:pickList rendered="#{bean.isEditing}"
>            value="#{bean.values}"  displayValueOnly="#{!bean.isEditing}"  >
>     <f:selectItems value="#{bean.selectItems}"/>  		   
> </rich:pickList>
> This applies to all components.                                           

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list