in other words, the [] notation in Velocity creates a List, not an array. On 9/17/07, Nathan Bubna <[EMAIL PROTECTED]> wrote: > public void setAttributes(List list); > > On 9/17/07, Garey Mills <[EMAIL PROTECTED]> wrote: > > Hi - > > > > I am trying to call a Java method from Velocity. The method expects > > an array as an argument. I thought this would work (from the Velocity > > Users Guide) > > > > $person.setAttributes( ["Strange", "Weird", "Excited"] ) > > > > > > but my method is apparently not being called. In the example above, what > > would be the signature of the > > the Java method person.setAttributes()? > > > > Garey Mills > > > > > > > > --------------------------------------------------------------------- > > 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]
