pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From noobmike <mdri...@lakeheadu.ca>
Subject urls
Date Thu, 19 May 2011 18:50:12 GMT
Hello again fellas

I know that in .bxml files you can set image views like this:
<ImageView bxml:id="iiaImage" image="@image.png" styles="{fill:true}"/>

or you can set text areas like this: 
<TextArea bxml:id="dndTextArea" text="@textfile.txt"/>

My trouble is when I bind the variable to my class it doesnt work the same
way. 
for instance:

iiaImage = (ImageView)bxmlSerializer.getNamespace().get("iiaImage");
iiaImage.setImage("image2.png");	

I tried 
iiaImage.setImage("@image2.png");	

as well to no avail. 

any suggestions? 

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

Mime
View raw message