pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ripgiblet <m...@mrchambers.org>
Subject Re: in java how can i reference the instance define in a nested bxml's "bxml:id..."
Date Tue, 21 Jan 2014 06:53:08 GMT
Still the question remains...

How can you reference the objects in nested bxml files?

You cant always use inline, since the id: does not seem to be able to take a
variable... so you cant nest any bxml code with duplicate TextInput for
example if its in the same variable space, since you cant seem to make:
<bxml:script>
            var vTextInput = "TextInput" + vTab;
</bxml:script>
<TextInput bxml:id="$TextInput" styles="{font:'Arial bold 28',
color:'#000000',
            horizontalAlignment:'left'}"/>

Just says that the id is $TextInput and that it is a duplicate if you
include it again...
It works for actions but not for bxml:id...

So it seems you have to not make it inline and reference it somehow?



--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/in-java-how-can-i-reference-the-instance-define-in-a-nested-bxml-s-bxml-id-tp4022008p4022830.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message