commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-185) New Map decorator for DynaBeans to allow BeanUtils to operate with technologies such as JSTL
Date Fri, 01 Jun 2007 10:05:15 GMT

    [ https://issues.apache.org/jira/browse/BEANUTILS-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500654
] 

Niall Pemberton commented on BEANUTILS-185:
-------------------------------------------

I've been looking at the new Unified Expression language(EL) specification[1][2] (for background,
in JSP 2.1 (Servlet 2.5) the EL has been separated out (now its own spec) and is no longer
dependant on JSP). Anyway the optimum solution to resolving this issue of EL not recognizing
DynaBeans is to write a custom ELResolver[3] and registering that resolver for JSP/JSF. This
should be pretty straight forward to do. ASF compatible implementations of the EL are now
available from the Tomcat project in the maven repo. The only possible downside is that I
suspect they have been built using JDK 1.5 and so may present an issue trying to include such
an implementation in BeanUtils which is stil JDK 1.3 compatible.

References:

[1] http://java.sun.com/products/jsp/reference/techart/unifiedEL.html
[2] http://jcp.org/en/jsr/detail?id=245
[3] http://java.sun.com/mailers/techtips/enterprise/2006/TechTips_Aug06.html#1

> New Map decorator for DynaBeans to allow BeanUtils to operate with technologies such
as JSTL
> --------------------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-185
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-185
>             Project: Commons BeanUtils
>          Issue Type: Improvement
>          Components: DynaBean
>    Affects Versions: 1.7.0
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Gabriel Belingueres
>            Assignee: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.8.0
>
>         Attachments: AbstractRowSetDynaClass.java, BasicDirectAccessDynaBean.java, BasicDirectAccessDynaBeanTestCase.java,
BasicIndirectAccessDynaBean.java, beanutil-diff.txt, DirectAccessDynaBean.java, DirectRowSetDynaClass.java,
DynaBeanMapDecorator.java, DynaBeanMapDecoratorTestCase.java, IndirectAccessDynaBean.java,
IndirectRowSetDynaClass.java
>
>
> Hi,
> I've done some modifications to the beanutils package to better support the use 
> of DynaBeans with the JSTL tags. Some of the changes are discussed in this 
> thread of the commons-user mailing list:
> http://marc.theaimsgroup.com/?l=jakarta-commons-user&m=114669123403779&w=2
> I attach the diff file that comprises changes to the RowSetDynaClass.java file 
> and build.xml file (since I added a TestCase.) Note: Please try to filter 
> carefully the diffs in the build.xml file since they include some local 
> settings I have for compilation on my machine. :-(
> Together with the diff file, I attach the new java files added to the package.
> Regards,
> Gabriel Belingueres
> gaby@ieee.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message