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