hi jorge

is betwixt correctly finding your adder?

(you might need to turn up logging, write a unit test or use an IDE with a debugger to find this out)

- robert

On 17 Jan 2005, at 19:15, Middleton Jorge wrote:

Hi,

I have the following situations:

 <sequence>
    <activity-list>
      <set el="ognl" expression="a+2" var="x"/>
        <break condition="a == 10"/>
      <sequence>
        <activity-list>
          <set el="ognl" expression="a+2+a" var="y"/>
        </activity-list>
      </sequence>
    </activity-list>
 </sequence>

Sequence, Set, Break are all of type ContainerActivity and contains the
following code:

        protected List activities = new ArrayList();

        public List getActivityList() {
                return this.activities;
        }

        public void addActivity(Activity activity) {
                this.activities.add(activity);
        }

When I try to convert from xml to object I can't rebuild the graph of
objects correctily because betwixt doesn't recognize the list.
I've tried with derived clases but I couldn't resolve the problems. Somebody
can tell me what can I try to do..


Thanks in advance.
Jorge


--------------------------------------------------------------------- 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