pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From camicas <camilo.casadi...@adv.com.co>
Subject Re: Programmatic drawing in Pivot 2.0?
Date Thu, 25 Aug 2011 17:28:39 GMT
Hi there,..i fot stuck again...i got this bxml...

<Drawing xmlns:wtkx="http://pivot.apache.org/wtkx"
    xmlns="org.apache.pivot.wtk.media">
    <canvas>
        <Canvas xmlns="org.apache.pivot.wtk.media.drawing" bxml:id="canvas">
            <Ellipse width="320" height="320" stroke="" fill="#eeeeee"/>
            <Line x1="0" y1="0" x2="0" y2="-160" strokeThickness="4">
                <transforms>
                    <Shape.Translate x="160" y="160"/>
                    <Shape.Rotate bxml:id="rotation"/>
                </transforms>
            </Line>
        </Canvas>
    </canvas>
</Drawing>

and already movend the clases...corrected the
heritage....debuged...corrected issues...and now im triying to run mi first
example... but im geting this error.

Message:
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?Canvas&bxml:id&bxml

I also triyed

&lt;Drawing xmlns:wtkx=&quot;http://pivot.apache.org/wtkx&quot;
    xmlns=&quot;org.apache.pivot.wtk.media&quot;
    xmlns=&quot;org.apache.pivot.wtk.media.drawing&quot;&gt;
    <canvas>
        <Canvas bxml:id="canvas">
            <Ellipse width="320" height="320" stroke="" fill="#eeeeee"/>
            <Line x1="0" y1="0" x2="0" y2="-160" strokeThickness="4">
                <transforms>
                    <Shape.Translate x="160" y="160"/>
                    <Shape.Rotate bxml:id="rotation"/>
                </transforms>
            </Line>
        </Canvas>
    </canvas>
</Drawing>

but got this error...

Message: Attribute "xmlns" was already specified for element "Drawing".

and ifi remove and just use xml tags to show th system how to get into the
packages toresolve the classes  i got back to Message:
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?Canvas&bxml:id&bxml

any ideas???

--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Programmatic-drawing-in-Pivot-2-0-tp2253493p3284555.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message