Yes, all trhough the API

http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/beaneditor/BeanModel.html#add(org.apache.tapestry5.beaneditor.RelativePosition,
java.lang.String, java.lang.String,
org.apache.tapestry5.PropertyConduit)

beanModel.add(null, "foo", "bar", conduit).dataType("string")



On Sun, Feb 27, 2011 at 12:49 AM, Stephan Windmüller
<stephan.windmuel...@tu-dortmund.de> wrote:
> On 24.02.2011 18:20, Thiago H. de Paula Figueiredo wrote:
>
>> That's strange. Your PropertyConduit implementation and use looks
>> correct to me.
>
> As far as I can see, the constructor
>
>  PropertyModelImpl(BeanModel, String, PropertyConduit, Messages)
>
> which is called by BeadModel.add(String, PropertyConduit) does not set
> the datatype at all. I fixed it by setting the datatype manually to
> "number", but is this the right way to go?
>
> - Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to