Alright, not sure exactly what's going on but the problem appears to be this:
xScale
xOffset
yScale
yOffset

Once I changed these properties to xscale, xoffset, etc. and change the method signatures to match it works fine. Is this a bug somewhere in the chain?

-warner

On Aug 14, 2005, at 10:40 AM, Warner Onstine wrote:

Ok, after some testing I've narrowed down the problem to the following parameters:
    <parameter name="xOffset">
        <description>
A value to be added to the x position of this view before drawing
it. This affects the apparent rotation point of the view, as well as
its apparent x position. It does not affect the view's width or its
internal coordinate system.
        </description>
    </parameter>
    <parameter name="xScale">
        <description>
The horizontal scaling applied to the view's resource. If xscale
is set, the view stretches in its x axis. A value of 1 means that
the resource will be distorted in the horizontal axis.The horizontal scaling applied to the view's resource. If xscale
is set, the view stretches in its x axis. A value of 1 means that
the resource will be distorted in the horizontal axis.
        </description>
    </parameter>

    public abstract void setXScale(Integer xScale);
    public abstract Integer getXScale();

    public abstract void setXOffset(Integer xOffset);
    public abstract Integer getXOffset();

    <parameter name="yOffset">
        <description>
A value to be added to the y position of this view before drawing
it. This affects the apparent rotation point of the view, as well as
its apparent y position. It does not affect the view's width or its
internal coordinate system.
        </description>
    </parameter>
    <parameter name="yScale">
        <description>
The horizontal scaling applied to the view's resource. If yscale
is set, the view stretches in its y ayis. A value of 1 means that
the resource will be distorted in the horizontal ayis.The horizontal scaling applied to the view's resource. If yscale
is set, the view stretches in its y ayis. A value of 1 means that
the resource will be distorted in the horizontal axis.
        </description>
    </parameter>

    public abstract void setYOffset(Integer yOffset);
    public abstract Integer getYOffset();

    public abstract void setYScale(Integer yScale);
    public abstract Integer getYScale();

When I commented out the setXScale parameter (and corresponding java code) it complained about XOffset, when I commented that one out it complained about YScale, so I commented out both YScale and YOffset and the component works as it should. Can anyone see anything wrong with these declarations?

-warner

On Aug 12, 2005, at 7:18 PM, Warner Onstine wrote:


Trying again (although the list may be blocking attachments).

-warner
On Aug 12, 2005, at 7:14 PM, Shawn Church wrote:



The source code attachment did not come through. Can you please try it
again?

Thanks

-----Original Message-----
From: Warner Onstine [mailto:[EMAIL PROTECTED]
Sent: Friday, August 12, 2005 8:09 PM
To: Tapestry users
Subject: Re: 4.0 component problem


I've attached the component source code that may help point out what
I'm doing wrong here.

-warner


-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: tapestry-user- [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: tapestry-user- [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to