DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14980>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14980

jsp:getProperty not working .

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-12-01 13:53 -------
jsp:getProperty is working fine. The problem is found in  
two different objects of "organization":  
  
The object "organization" is a local variable on the page and  
by using jsp:useBean a new instance of HROrganization is  
created, stored in the session and assigned to the local  
variable "organization". In your scriptlet you change the  
value of the local variable, but you don't change the object  
instance in the session. Hence accessing the session object  
(by jsp:getPropert) is using another instance than the access  
of the local variable (by using <%=organization.get....%>). 
 
Don't try to mix jsp:userBean with scriplets. A work-around 
could be to add a  
line after  
organization = om.getOrganization(orgId,true); 
like this (to update the instance that is holded in the 
session: 
session.put("organization", organization);

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to