You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/09/19 16:21:32 UTC

[jira] Commented: (WICKET-2937) AbstractPropertyModel getObjectClass don't consider nested IObjectClassAwareModel targets

    [ https://issues.apache.org/jira/browse/WICKET-2937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912228#action_12912228 ] 

Hudson commented on WICKET-2937:
--------------------------------

Integrated in Apache Wicket 1.4.x #165 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/165/])
    WICKET-2937 Fix generics

Wicket 1.5's CompoundPropertyModel caught this error.
WICKET-2937 AbstractPropertyModel getObjectClass don't consider nested IObjectClassAwareModel targets

Use the IObjectClassAwareModel's target class if available.
patch-provided-by: Pedro Santos


> AbstractPropertyModel getObjectClass don't consider nested IObjectClassAwareModel targets
> -----------------------------------------------------------------------------------------
>
>                 Key: WICKET-2937
>                 URL: https://issues.apache.org/jira/browse/WICKET-2937
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.9
>            Reporter: Pedro Santos
>            Assignee: Martin Grigorov
>             Fix For: 1.4.13, 1.5-M3
>
>         Attachments: patch.txt, TestModelObjectClass.java
>
>
> Currently if AbstractPropertyModel has an target that implements the IObjectClassAwareModel interface, the known class of that target is not used to infer the modeled property type. 
> Requested improvement: use 'target type'+'property expression' to return the property type of the AbstractPropertyModel

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