Me n My Programming

If Only I Have TIme

Marama Code 118 ~ Get multiple input from entity attribute

Sometimes you will create an entity with a multiline attribute values. In my case an entity name Input with attribute name var (short for variable). The var can be more than one depending on the Input. So how do I retrieve this multipleline attribute values? Here is the code:

ArrayList<String> alVarInput = (ArrayList) inputShape.getPropertyValue(“var”);

All the var value will be stored in the alVarInput variable. You can now access the value.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


This entry was posted on August 15, 2011 by in Java, Life on Marama.
%d bloggers like this: