PDA

View Full Version : Are Form Object Automatically Exposed to Subflows



curtney
Jul 8th, 2005, 10:50 PM
Greetings!

Are form objects automatically exposed to subflows or do I have to explicitly map the form to my subflows and back out again to be used in the paent flow.

If so, how would one map the form object to and from flows? I am mapping my other attributes as follows:


public BrowseCatalogFlowAttributeMapper () {

List input = new ArrayList();

input.add (new Mapping ("sourceEvent.parameters.category",BrowseCatalogFlowExecutionListener.CATEGORY));

input.add (new Mapping ("sourceEvent.parameters.subcategory",BrowseCatalogFlowExecutionListener.SUBCATEGORY));

input.add (new Mapping ("sourceEvent.parameters.action",BrowseCatalogFlowExecutionListener.ACTION));

input.add (new Mapping ("sourceEvent.parameters.method",BrowseCatalogFlowExecutionListener.METHOD));

input.add (new Mapping ("sourceEvent.parameters.row",BrowseCatalogFlowExecutionListener.ROW));

setInputMappings(input);



List output = new ArrayList();

output.add (new Mapping (BrowseCatalogFlowExecutionListener.ROW));

output.add (new Mapping (BrowseCatalogFlowExecutionListener.ACTION));

output.add (new Mapping (BrowseCatalogFlowExecutionListener.METHOD));

output.add (new Mapping (BrowseCatalogFlowExecutionListener.))

setOutputMappings(output);

}

Thanks inadvance,

Curtney

curtney
Jul 9th, 2005, 12:42 AM
Ok, I got it. I have to map the name of the form to and from the subflow.

_CJ