[richfaces-issues] [JBoss JIRA] Resolved: (RF-7604) a4j:actionparam doesn't support comma in value

Alex Kolonitsky (JIRA) jira-events at lists.jboss.org
Tue Jul 28 09:57:29 EDT 2009


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

Alex Kolonitsky resolved RF-7604.
---------------------------------

    Resolution: Cannot Reproduce Bug
      Assignee: Tsikhon Kuprevich  (was: Alex Kolonitsky)


for test below all work well:

        <a4j:commandButton value="Set Name to Alex"  reRender="rep" >
            <a4j:actionparam name="username" value="Host:type=Processors,name=CPU.UserMode" assignTo="#{bean.name}"/>
        </a4j:commandButton>
        <a4j:commandButton value="Set Name to Lex"  reRender="rep" >
            <a4j:actionparam name="username" value="Test,NoTest" assignTo="#{bean.name}"/>
        </a4j:commandButton>
        <h:outputText id="rep" value="Selected Name:#{bean.name}"/>

> a4j:actionparam doesn't support comma in value
> ----------------------------------------------
>
>                 Key: RF-7604
>                 URL: https://jira.jboss.org/jira/browse/RF-7604
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-a4j-core
>    Affects Versions: 3.3.2.CR1
>         Environment: richfaces-ui-3.2.1.GA
> Tomcat 6.0.16
> Facelets 1.1.14
>            Reporter: Stephen Kinser
>            Assignee: Tsikhon Kuprevich
>            Priority: Minor
>             Fix For: 3.3.2.CR1
>
>
> I attempt to define a value that contains a comma, as follows:
> <a4j:actionparam name="metricName" value="Host:type=Processors,name=CPU.UserMode" assignTo="#{GraphPageBean.metricName}"/>
> Here's the method that I expect to be passed Host:type=Processors,name=CPU.UserMode:
> public void setMetricName(String metricName) {
>     this.metricName = metricName;
>   }
> setMetricName is called with a metricName value of "Host:type=Processors". I modified the value to use a '|' instead of a ',' and I got the full value of Host:type=Processors|name=CPU.UserMode.

-- 
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