History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23919
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Eugene Petrenko
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

JSP does not take into accont generic type parameters

Created: 17 Dec 07 13:01   Updated: 17 Dec 07 19:44
Component/s: J2EE.JSP
Fix Version/s: Diana 8243, Selena 7.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Fixed in build: 8,058


 Description  « Hide
public class Base<T extends A> { public List<T> getFoo() {...} }
public class Inh extends Base<Bar> { ... }

in JSP I have variable of Inh taken from some other bean. I have <c:ForEach ... construct on getFoo collection (should be of type Bar, not A)
But it does not no anything about T = Bar thus I receive warning of using getter that may not have been defined on the class...



 All   Comments   Work Log   Change History      Sort Order:
Maxim Mossienko - 17 Dec 07 13:46
Please, give complete jsp example