cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Leangen" <>
Subject Getting started with flowscript
Date Thu, 13 May 2004 08:36:50 GMT

I again turn to you for salvation.

I'm finally ready to jump into flowscript... but I need a push in the right

Based on previous threads, it appears that a good approach (just to avoid
saying "best practice" ;-) is to invoke the business logic from flowscript,
set any values necessary, and call the values as needed within JXTemplates.

Ok, fine.

I made a trivial test class as follows:

package test.model;

public class Test
	private String m_val;

	public Test()

	public void setVal(String val)
		m_val = val;

	public String getVal()
		return m_val;

In my flowscript, I make this call:

  var test = new test.model.Test();

I pass this along to the pipeline.

So far, so good...

Now, in my JXTemplate, I'd like to call the getVal() getter.... but how do I
do this??

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message