[jira] Updated: (GERONIMO-3253) Сalculation of ${} EL e xpression of second level, like ${a.b} cause null value
[
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:
> \*\*
> \* />\*
> \*${customerDetailsBean}\*
> \*${customerDetailsBean.customer}\*
> it renders to:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \*\*
> How it may be? I would expect:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> The only special about my code is that I use Spring 2 and have
> org.springframework.web.jsf.DelegatingVariableResolver
> but this customerDetailsBean is defined in faces-config.xml and in session
> scope:
>
> Backing bean for customer_details.jsp
> customerDetailsBean
>
> com.mycomp.viewbeans.cust.CustomerDetailsBean
> session
>
> customerManager
> #{customerManager}
>
>
> specialsManager
> #{specialsManager}
>
>
> again bug in Tomcat EL engine, like
> https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because 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 e xpression of second level, like ${a.b} cause null value
[
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:
> \*\*
> \* />\*
> \*${customerDetailsBean}\*
> \*${customerDetailsBean.customer}\*
> it renders to:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \*\*
> How it may be? I would expect:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> The only special about my code is that I use Spring 2 and have
> org.springframework.web.jsf.DelegatingVariableResolver
> but this customerDetailsBean is defined in faces-config.xml and in session
> scope:
>
> Backing bean for customer_details.jsp
> customerDetailsBean
>
> com.mycomp.viewbeans.cust.CustomerDetailsBean
> session
>
> customerManager
> #{customerManager}
>
>
> specialsManager
> #{specialsManager}
>
>
> again bug in Tomcat EL engine, like
> https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because 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 e xpression of second level, like ${a.b} cause null value
[
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:
> \*\*
> \* />\*
> \*${customerDetailsBean}\*
> \*${customerDetailsBean.customer}\*
> it renders to:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \*\*
> How it may be? I would expect:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> The only special about my code is that I use Spring 2 and have
> org.springframework.web.jsf.DelegatingVariableResolver
> but this customerDetailsBean is defined in faces-config.xml and in session
> scope:
>
> Backing bean for customer_details.jsp
> customerDetailsBean
>
> com.mycomp.viewbeans.cust.CustomerDetailsBean
> session
>
> customerManager
> #{customerManager}
>
>
> specialsManager
> #{specialsManager}
>
>
> again bug in Tomcat EL engine, like
> https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because 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 e xpression of second level, like ${a.b} cause null value
[
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:
Using sharp-el:
\*\*
\*\*
Using dollar-el:
\*${customerDetailsBean}\*
\*${customerDetailsBean.customer}\*
Classical "servlet" style:
\*<% if (session.getAttribute("customerDetailsBean") != null) {%><%=
session.getAttribute("customerDetailsBean") %><% } %>\*
\*<% if (session.getAttribute("customerDetailsBean") != null) {%><%=
((eltest.CustomerDetailsBean)session.getAttribute("customerDetailsBean")).getCustomer()
%><% } %>\*
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:
> \*\*
> \* />\*
> \*${customerDetailsBean}\*
> \*${customerDetailsBean.customer}\*
> it renders to:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \*\*
> How it may be? I would expect:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> The only special about my code is that I use Spring 2 and have
> org.springframework.web.jsf.DelegatingVariableResolver
> but this customerDetailsBean is defined in faces-config.xml and in session
> scope:
>
> Backing bean for customer_details.jsp
> customerDetailsBean
>
> com.mycomp.viewbeans.cust.CustomerDetailsBean
> session
>
> customerManager
> #{customerManager}
>
>
> specialsManager
> #{specialsManager}
>
>
> again bug in Tomcat EL engine, like
> https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because 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 e xpression of second level, like ${a.b} cause null value
[
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:
> \*\*
> \* />\*
> \*${customerDetailsBean}\*
> \*${customerDetailsBean.customer}\*
> it renders to:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \*\*
> How it may be? I would expect:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> The only special about my code is that I use Spring 2 and have
> org.springframework.web.jsf.DelegatingVariableResolver
> but this customerDetailsBean is defined in faces-config.xml and in session
> scope:
>
> Backing bean for customer_details.jsp
> customerDetailsBean
>
> com.mycomp.viewbeans.cust.CustomerDetailsBean
> session
>
> customerManager
> #{customerManager}
>
>
> specialsManager
> #{specialsManager}
>
>
> again bug in Tomcat EL engine, like
> https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because 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 e xpression of second level, like ${a.b} cause null value
[
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:
> \*\*
> \* />\*
> \*${customerDetailsBean}\*
> \*${customerDetailsBean.customer}\*
> it renders to:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> \*\*
> How it may be? I would expect:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> The only special about my code is that I use Spring 2 and have
> org.springframework.web.jsf.DelegatingVariableResolver
> but this customerDetailsBean is defined in faces-config.xml and in session
> scope:
>
> Backing bean for customer_details.jsp
> customerDetailsBean
>
> com.mycomp.viewbeans.cust.CustomerDetailsBean
> session
>
> customerManager
> #{customerManager}
>
>
> specialsManager
> #{specialsManager}
>
>
> again bug in Tomcat EL engine, like
> https://issues.apache.org/jira/browse/MYFACES-1656 ?
> actually I found this bug because 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.
