You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Alexander Zynevich (JIRA)" <ji...@apache.org> on 2007/06/21 15:55:25 UTC

[jira] Created: (GERONIMO-3253) Bug in calculation of ${} EL expression

Bug in calculation of ${} EL expression
---------------------------------------

                 Key: GERONIMO-3253
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.0-M6
         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
            Reporter: Alexander Zynevich


I have simple JSP snip:
    *<h:outputText id="cll1" value="#{customerDetailsBean}" />*<br/>
    *<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />*<br/>
    *${customerDetailsBean}*<br/>
    *${customerDetailsBean.customer}*<br/>

it renders to:
*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9*
*com.mycomp.data.customer.Customer@149e361*
*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9*
**
How it may be?

The only special about my code is that I use Spring 2 and have 		
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>

but this customerDetailsBean is defined in faces-config.xml and in session scope:
	<managed-bean>
		<description>Backing bean for customer_details.jsp</description>
		<managed-bean-name>customerDetailsBean</managed-bean-name>
		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
		<managed-property>
			<property-name>customerManager</property-name>
			<value>#{customerManager}</value>			
		</managed-property>
		<managed-property>
			<property-name>specialsManager</property-name>
			<value>#{specialsManager}</value>			
		</managed-property>
	</managed-bean>

again bug in Tomcat EL engine, like geronimo-tomcat6-jee5-2.0-M6-rc1 ?

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


[jira] Updated: (GERONIMO-3253) Сalculation of ${} EL expression of second level, like ${a.b} cause null value

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Component/s: web

> Сalculation of ${} EL expression of second level, like ${a.b} cause null value
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

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


[jira] Updated: (GERONIMO-3253) Сalculation of ${} EL expression of second level, like ${a.b} cause null value

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Attachment: eltest.zip

I also attach the sources of this simplest application

> Сalculation of ${} EL expression of second level, like ${a.b} cause null value
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>         Attachments: eltest.war, eltest.zip
>
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

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


[jira] Updated: (GERONIMO-3253) Сalculation of ${} EL expression of second level, like ${a.b} cause null value

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Attachment: eltest.zip

> Сalculation of ${} EL expression of second level, like ${a.b} cause null value
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>         Attachments: eltest.war
>
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

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


[jira] Updated: (GERONIMO-3253) Сalculation of ${} EL expression of second level, like ${a.b} cause null value

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Summary: Сalculation of ${} EL expression of second level, like ${a.b} cause null value  (was: Сalculation of ${} EL expression of seconf level, like ${a.b} cause null value)

> Сalculation of ${} EL expression of second level, like ${a.b} cause null value
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

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


[jira] Updated: (GERONIMO-3253) Bug in calculation of ${} EL expression

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Description: 
I have simple JSP snip:
    **<h:outputText id="cll1" value="#{customerDetailsBean}" />**<br/>
    **<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />**<br/>
    **${customerDetailsBean}**<br/>
    *${customerDetailsBean.customer}*<br/>

it renders to:
**com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9**
**com.mycomp.data.customer.Customer@149e361**
**com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9**
**
How it may be?

The only special about my code is that I use Spring 2 and have 		
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>

but this customerDetailsBean is defined in faces-config.xml and in session scope:
	<managed-bean>
		<description>Backing bean for customer_details.jsp</description>
		<managed-bean-name>customerDetailsBean</managed-bean-name>
		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
		<managed-property>
			<property-name>customerManager</property-name>
			<value>#{customerManager}</value>			
		</managed-property>
		<managed-property>
			<property-name>specialsManager</property-name>
			<value>#{specialsManager}</value>			
		</managed-property>
	</managed-bean>

again bug in Tomcat EL engine, like geronimo-tomcat6-jee5-2.0-M6-rc1 ?

  was:
I have simple JSP snip:
    *<h:outputText id="cll1" value="#{customerDetailsBean}" />*<br/>
    *<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />*<br/>
    *${customerDetailsBean}*<br/>
    *${customerDetailsBean.customer}*<br/>

it renders to:
*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9*
*com.mycomp.data.customer.Customer@149e361*
*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9*
**
How it may be?

The only special about my code is that I use Spring 2 and have 		
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>

but this customerDetailsBean is defined in faces-config.xml and in session scope:
	<managed-bean>
		<description>Backing bean for customer_details.jsp</description>
		<managed-bean-name>customerDetailsBean</managed-bean-name>
		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
		<managed-property>
			<property-name>customerManager</property-name>
			<value>#{customerManager}</value>			
		</managed-property>
		<managed-property>
			<property-name>specialsManager</property-name>
			<value>#{specialsManager}</value>			
		</managed-property>
	</managed-bean>

again bug in Tomcat EL engine, like geronimo-tomcat6-jee5-2.0-M6-rc1 ?


> Bug in calculation of ${} EL expression
> ---------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>
> I have simple JSP snip:
>     **<h:outputText id="cll1" value="#{customerDetailsBean}" />**<br/>
>     **<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />**<br/>
>     **${customerDetailsBean}**<br/>
>     *${customerDetailsBean.customer}*<br/>
> it renders to:
> **com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9**
> **com.mycomp.data.customer.Customer@149e361**
> **com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9**
> **
> How it may be?
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like geronimo-tomcat6-jee5-2.0-M6-rc1 ?

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


[jira] Updated: (GERONIMO-3253) Bug in calculation of ${} EL expression

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Description: 
I have simple JSP snip: 

    \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
    \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
    \*${customerDetailsBean}\*<br/>
    \*${customerDetailsBean.customer}\*<br/>

it renders to:
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*\*
How it may be? I would expect:
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*

The only special about my code is that I use Spring 2 and have 		
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>

but this customerDetailsBean is defined in faces-config.xml and in session scope:
	<managed-bean>
		<description>Backing bean for customer_details.jsp</description>
		<managed-bean-name>customerDetailsBean</managed-bean-name>
		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
		<managed-property>
			<property-name>customerManager</property-name>
			<value>#{customerManager}</value>			
		</managed-property>
		<managed-property>
			<property-name>specialsManager</property-name>
			<value>#{specialsManager}</value>			
		</managed-property>
	</managed-bean>

again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?

  was:
I have simple JSP snip:
    **<h:outputText id="cll1" value="#{customerDetailsBean}" />**<br/>
    **<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />**<br/>
    **${customerDetailsBean}**<br/>
    *${customerDetailsBean.customer}*<br/>

it renders to:
**com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9**
**com.mycomp.data.customer.Customer@149e361**
**com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9**
**
How it may be?

The only special about my code is that I use Spring 2 and have 		
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>

but this customerDetailsBean is defined in faces-config.xml and in session scope:
	<managed-bean>
		<description>Backing bean for customer_details.jsp</description>
		<managed-bean-name>customerDetailsBean</managed-bean-name>
		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
		<managed-property>
			<property-name>customerManager</property-name>
			<value>#{customerManager}</value>			
		</managed-property>
		<managed-property>
			<property-name>specialsManager</property-name>
			<value>#{specialsManager}</value>			
		</managed-property>
	</managed-bean>

again bug in Tomcat EL engine, like geronimo-tomcat6-jee5-2.0-M6-rc1 ?


> Bug in calculation of ${} EL expression
> ---------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?

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


[jira] Updated: (GERONIMO-3253) Сalculation of ${} EL expression of second level, like ${a.b} cause null value

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Attachment:     (was: eltest.zip)

> Сalculation of ${} EL expression of second level, like ${a.b} cause null value
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>         Attachments: eltest.war
>
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

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


[jira] Updated: (GERONIMO-3253) Сalculation of ${} EL expression of second level, like ${a.b} cause null value

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Attachment: eltest.war

I add a simplest test application (no Spring, no JEBs, just faces-config.xml, web.xml, 2 classes and 2 jsps).
The print.jsp has:
    <f:view>
    <h:form id="myform" >
    <b>Using sharp-el</b>: <br/>
    \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
    \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
    <b>Using dollar-el</b>: <br/>
    \*${customerDetailsBean}\*<br/>
    \*${customerDetailsBean.customer}\*<br/>
    <b>Classical "servlet" style</b>: <br/>
    \*<% if (session.getAttribute("customerDetailsBean") != null) {%><%= session.getAttribute("customerDetailsBean") %><% } %>\*<br/>
    \*<% if (session.getAttribute("customerDetailsBean") != null) {%><%= ((eltest.CustomerDetailsBean)session.getAttribute("customerDetailsBean")).getCustomer() %><% } %>\*<br/>
    </h:form>
    </f:view>

WHICH renders:
    *Using sharp-el:* 
    \*CustomerDetailsBean: { customer: Customer {frstName: Alex , lastName: Zynevich, id: 1979}}\*
    \*Customer {frstName: Alex , lastName: Zynevich, id: 1979}\*
    *Using dollar-el:* 
    \*CustomerDetailsBean: { customer: Customer {frstName: Alex , lastName: Zynevich, id: 1979}}\*
    \*\*
    *Classical "servlet" style:* 
    \*CustomerDetailsBean: { customer: Customer {frstName: Alex , lastName: Zynevich, id: 1979}}\*
    \*Customer {frstName: Alex , lastName: Zynevich, id: 1979}\*

i think it is not Geronimo's problem -- looks like MyFaces' one.

> Сalculation of ${} EL expression of second level, like ${a.b} cause null value
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>         Attachments: eltest.war
>
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

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


[jira] Issue Comment Edited: (GERONIMO-3253) Сalculation of ${} EL expression of second level, like ${a.b} cause null value

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507685 ] 

Alexander Zynevich edited comment on GERONIMO-3253 at 6/24/07 6:46 AM:
-----------------------------------------------------------------------

I also attach the sources of this simplest application, I am also to report this bug to myfaces, because it seems to be more likely of their responsibility


 was:
I also attach the sources of this simplest application

> Сalculation of ${} EL expression of second level, like ${a.b} cause null value
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>         Attachments: eltest.war, eltest.zip
>
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

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


[jira] Updated: (GERONIMO-3253) Сalculation of ${} EL expression of seconf level, like ${a.b} cause null value

Posted by "Alexander Zynevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Zynevich updated GERONIMO-3253:
-----------------------------------------

    Description: 
I have simple JSP snip: 

    \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
    \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
    \*${customerDetailsBean}\*<br/>
    \*${customerDetailsBean.customer}\*<br/>

it renders to:
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*\*
How it may be? I would expect:
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*

The only special about my code is that I use Spring 2 and have 		
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>

but this customerDetailsBean is defined in faces-config.xml and in session scope:
	<managed-bean>
		<description>Backing bean for customer_details.jsp</description>
		<managed-bean-name>customerDetailsBean</managed-bean-name>
		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
		<managed-property>
			<property-name>customerManager</property-name>
			<value>#{customerManager}</value>			
		</managed-property>
		<managed-property>
			<property-name>specialsManager</property-name>
			<value>#{specialsManager}</value>			
		</managed-property>
	</managed-bean>

again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?

actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

  was:
I have simple JSP snip: 

    \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
    \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
    \*${customerDetailsBean}\*<br/>
    \*${customerDetailsBean.customer}\*<br/>

it renders to:
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*\*
How it may be? I would expect:
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*
\*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
\*com.mycomp.data.customer.Customer@149e361\*

The only special about my code is that I use Spring 2 and have 		
<variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>

but this customerDetailsBean is defined in faces-config.xml and in session scope:
	<managed-bean>
		<description>Backing bean for customer_details.jsp</description>
		<managed-bean-name>customerDetailsBean</managed-bean-name>
		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
		<managed-property>
			<property-name>customerManager</property-name>
			<value>#{customerManager}</value>			
		</managed-property>
		<managed-property>
			<property-name>specialsManager</property-name>
			<value>#{specialsManager}</value>			
		</managed-property>
	</managed-bean>

again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?

        Summary: Сalculation of ${} EL expression of seconf level, like ${a.b} cause null value  (was: Bug in calculation of ${} EL expression)

> Сalculation of ${} EL expression of seconf level, like ${a.b} cause null value
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3253
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3253
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.0-M6
>         Environment: geronimo-tomcat6-jee5-2.0-M6-rc1
>            Reporter: Alexander Zynevich
>
> I have simple JSP snip: 
>     \*<h:outputText id="cll1" value="#{customerDetailsBean}" />\*<br/>
>     \*<h:outputText id="cll2" value="#{customerDetailsBean.customer}" />\*<br/>
>     \*${customerDetailsBean}\*<br/>
>     \*${customerDetailsBean.customer}\*<br/>
> it renders to:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*\*
> How it may be? I would expect:
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> \*com.mycomp.viewbeans.cust.CustomerDetailsBean@15c50e9\*
> \*com.mycomp.data.customer.Customer@149e361\*
> The only special about my code is that I use Spring 2 and have 		
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
> but this customerDetailsBean is defined in faces-config.xml and in session scope:
> 	<managed-bean>
> 		<description>Backing bean for customer_details.jsp</description>
> 		<managed-bean-name>customerDetailsBean</managed-bean-name>
> 		<managed-bean-class>com.mycomp.viewbeans.cust.CustomerDetailsBean</managed-bean-class>
> 		<managed-bean-scope>session</managed-bean-scope>
> 		<managed-property>
> 			<property-name>customerManager</property-name>
> 			<value>#{customerManager}</value>			
> 		</managed-property>
> 		<managed-property>
> 			<property-name>specialsManager</property-name>
> 			<value>#{specialsManager}</value>			
> 		</managed-property>
> 	</managed-bean>
> again bug in Tomcat EL engine, like https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because <c:when test='${customerDetailsBean.customer != null}'> is not fired :(

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