Hi,
first let me say, that I really love the flow framework. Finally it can be fun to write web applications. My problem is that I can't figure out how to pass objects other than simple strings via the bizData object to the view layer. In the example below I only get the users object converted to a string. neither the getGroup() nor the getNames() methods get called. What am I doing wrong? Thanks, Johannes Hofmann in my flowscript I have: var users = new Packages.test.Users(); sendPageAndWait("user.xml", {"users":users}); the relevant part of user.xml looks like: Users Object: <xsp:expr> <jpath:value-of select="users"/> </xsp:expr> Group: <xsp:expr> <jpath:value-of select="users/group"/> </xsp:expr> Names: <jpath:for-each select="users/names"> <jpath:value-of select="."/> </jpath:for-each> The corresponding JavaBean is: public class Users { String [] names = {"foo", "bar"}; public String getGroup() { return "myGroup"; } public String[] getNames() { return names; } } PS: I tried xml-cocoon2_20021230172148.tar.gz. -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>