[jboss-jira] [JBoss JIRA] Created: (JBAS-7093) communitcation from scriptlet to jsf managed bean is not working

anil kumar (JIRA) jira-events at lists.jboss.org
Fri Jul 10 09:07:29 EDT 2009


communitcation from scriptlet to jsf managed bean is not working
----------------------------------------------------------------

                 Key: JBAS-7093
                 URL: https://jira.jboss.org/jira/browse/JBAS-7093
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JSF
    Affects Versions: JBossAS-5.1.0.GA
         Environment: windows
            Reporter: anil kumar
            Assignee: Stan Silvert



Here is the sample code.
   <%
                    
            for (int i = 1; i < 5; i++) {
                HeaderBean header = new HeaderBean();
                header.setScreenID("" + i);
                application.setAttribute("HeaderBean", header);
               %>                                     
                    
                <h:outputText  value="#{HeaderBean.screenID}"> </h:outputText> 	
                    
 <%}%>        

its always displaying the last value,the out put is "4444" instead of "1234". Is this expected behavior?



-- 
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 jboss-jira mailing list