click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "WarnerJan Veldhuis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLK-528) Let FormTable use Column#setProperty(...) to support setting properties on complex valueobjects
Date Mon, 27 Apr 2009 13:38:30 GMT

    [ https://issues.apache.org/jira/browse/CLK-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703121#action_12703121
] 

WarnerJan Veldhuis commented on CLK-528:
----------------------------------------

It looks like you don't  need the propertyname, since that will be the columnname itself.
Only the name of the field is postfixed with the rownumber, not the columnname. 



> Let FormTable use  Column#setProperty(...) to support setting properties on complex valueobjects
> ------------------------------------------------------------------------------------------------
>
>                 Key: CLK-528
>                 URL: https://issues.apache.org/jira/browse/CLK-528
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>            Reporter: WarnerJan Veldhuis
>            Assignee: Bob Schellink
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> The onProcess method of FormTable uses Column#getProperty() to get the property of a
particular valueobject, but uses reflection to set that property. 
> Add a Column#setProperty(Object, Field) method, so developers can override that method
if refelection doesn't work for their VO's.

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


Mime
View raw message