The latest code in 1.3 and 1.4 are working with private fields and only
getters

If you have a property model on those fields it will use the field reference
directly to set it.

johan


On Tue, Mar 24, 2009 at 13:15, Andrea Aime <aa...@opengeo.org> wrote:

> Hi,
> I'm trying to make a component that edits the
> corners of a rectangle. The model of this
> component should be a JTS Envelope class:
>
> http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html?is-external=true
>
> This class has getters for minX,minY,maxX,maxY,
> but has no setters for them, you're supposed
> to call init(x1,x2,y1,y2) instead.
>
> Has anyone an idea of how to bind four text fields
> so that the model of my Panel is the JTS Envelope,
> the fields use the Envelope corners, but the
> update takes place as a single shot instead
> of a field by field basis (that I cannot do
> given the lack of setters?)
>
> Cheers
> Andrea
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to