On Wed, 19 Sep 2012 04:02:23 -0300, llama-king <[email protected]> wrote:

@Thiago - this is just the issue in that the PropertyModelImpl source looks
like this;

   public PropertyModelImpl(BeanModel model, String name, PropertyConduit
conduit, Messages messages)  {
         -- snip --
        id = TapestryInternalUtils.extractIdFromPropertyExpression(name);
        label = TapestryInternalUtils.defaultLabel(id, messages, name);
         -- snip --
    }

You shouldn't use PropertyModelImpl. Instead, just implement your own PropertyConduit implementation and add properties to BeanModel using the add(String propertyName, PropertyConduit conduit) or add(RelativePosition position, String existingPropertyName, String propertyName, PropertyConduit conduit) methods. PropertyModelImpl is just for real Java-style properties. In addition, it's inside a package named 'internal', so it shouldn't be used directly.

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to