Provide more options to extend BeanModelImpl?
---------------------------------------------

                 Key: TAP5-618
                 URL: https://issues.apache.org/jira/browse/TAP5-618
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.1.0.1
            Reporter: Alfie Kirkpatrick
            Priority: Minor


I recently wanted to provide a subclass of this class. It provides some useful 
code to handle the reordering / including of properties from the bean but I 
wanted to construct my own implementation of PropertyModel within it. I could 
override the add(...) methods but the properties field is private so it didn't 
get me very far. Simply making this protected or providing a getter / setter 
would do it.

I ended up having to copy and paste the whole class which is kind of ok. I've 
just done it for a JCR backend and now want to do it again for a dynamic 
Hashmap backing class for a dynamic search form.

I realise this is in the internal package so you might not be happy to open 
this up...

Regards, Alfie.



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

Reply via email to