OK - someone slap me again for not hitting save in Eclipse prior to
running the build script?  I ran a build in Eclipse but apparently
that doesnt auto-save changes of the file.  Turns out it was a simple
problem (I knew it would be).  The jar file in WEB-INF/lib had a stale
version of ServerBean.. so indeed it had no setName() method.

- Brent

On Mon, 26 Jul 2004 13:10:32 -0400, Brent Johnson <[EMAIL PROTECTED]> wrote:
> OK this is driving me crazy.  All I'm trying to do is call a method in
> a custom java class.  What's driving me crazy about that?  I'm doing
> it in one flowscript and its working fine (with a different class).  I
> try in another flowscript in a different sitemap and I get:
> 
> org.apache.avalon.framework.CascadingRuntimeException: setName is not
> a function.
> 
> It's just a simple bean!  Here's the basic flowscript code...
> 
> importPackage(com.li.wedge.client);
> var serverBean = new ServerBean(); // ServerBean is
> com.li.wedge.client.ServerBean
> serverBean.setName("whatever");
> 
> So what's the deal?  There is defiintely a setName(String) method in
> ServerBean and it's public.  Something missing in the sitemap.xmap
> file?
> 
> I'm just getting into flowscript.. but on a side note.. could someone
> slap me for not using flowscript before?  I come from the old-school
> XSP arena.. and switching to flowscript is DEFINITELY the way to go.
> 
> Thanks,
> 
> - Brent
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to