1> port it to 1.3

-Matej

Johan Compagner wrote:
In 2.0 we have a model change:

IModel.getObject(Component) -> IModel.getObject()
IModel.setObject(Component,Object) -> IModel.setObject(Object)

So if you want to object from a component in 2.0 you only have to do:

component.getModel().getObject()

instead of


component.getModel().getObject(XXXX)

That XXX is depending on what kind of model you use. If the component
did inherit a CompoundModel then you have to specify the component.this
If you where owner of the compoundmodel then you shouldn't specify anything
(null)

This is all fixed in 2.0 and now we can backport it to 1.3:

1> port it to 1.3

2> don't port it to 1.3


Reply via email to