commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Middleton Jorge <jmiddle...@afip.gov.ar>
Subject RE: betwixt abstract collection
Date Wed, 19 Jan 2005 12:47:03 GMT
No, betwixt can not find the adder. Look at this log:
 
WARN  BeanReader.create: Could not create instance of type: java.util.List
WARN  BeanReader.create: Could not create instance of type: java.util.List
Sequence@288051[activities=[],context=
<mailto:Sequence@288051[activities=[],context=<null>,id=<null>,comment=<null
>,processElementFactory=<null>
<null>,id=<null>,comment=<null>,processElementFactory=<null>]

Also we tried with an implementations of ChainedBeanCreator but we can
resolve the problem.
 
It is posible to betwixt to manage mixed collection?? Can you give me an
example?
 
Thanks a lot
Jorge

-----Mensaje original-----
De: robert burrell donkin [mailto:robertburrelldonkin@blueyonder.co.uk]
Enviado el: Tuesday, January 18, 2005 6:27 PM
Para: Jakarta Commons Users List
Asunto: Re: betwixt abstract collection



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: commons-user-unsubscribe@jakarta.apache.org 
> For additional commands, e-mail: commons-user-help@jakarta.apache.org 
> 
> 


--------------------------------------------------------------------- 
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org 
For additional commands, e-mail: commons-user-help@jakarta.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message