You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/06/20 12:36:24 UTC

[jira] [Comment Edited] (WICKET-5623) Custom Getters and Setters for PropertyResolver

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

Martin Grigorov edited comment on WICKET-5623 at 6/20/14 10:34 AM:
-------------------------------------------------------------------

It seems you need your own custom property resolver, i.e. custom property model, etc.
The one provided in Wicket is for Java Beans (set, get, is).


was (Author: mgrigorov):
It seems you need your own custom property resolver, i.e. custom property model, etc.
The one provider in Wicket is for Java Beans (set, get, is).

> Custom Getters and Setters for PropertyResolver
> -----------------------------------------------
>
>                 Key: WICKET-5623
>                 URL: https://issues.apache.org/jira/browse/WICKET-5623
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 6.15.0
>            Reporter: Ilia Naryzhny
>              Labels: properties, property-expression
>
> There is no way to customize getting of properties from the object. All possible ways to gain properties are hardcoded in PropertyResolver. 
> But, for example, there is set of NoSQL document DBs which have some class "Document" to work with DB. And to get some property of that document you should call something like this: 'doc.getProperty("myPropertyName")'.
> Please add ability to customize obtaining properties from different kind of objects.



--
This message was sent by Atlassian JIRA
(v6.2#6252)