cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Madu <andrewm...@gmail.com>
Subject Re: Cast type in flowscript [ Javaflow]
Date Mon, 27 Feb 2006 02:40:25 GMT
  Simone,

> Form form = fi.getModel();

this incorrect as I get a 'Type mismatch: cannot convert from widget  
to form' error. What is the issue here?:

			FormInstance fi = new FormInstance("forms/register.xml");
			fi.show("register1.xml", new VarMap()
					.add("msg",Registermsg)
					.add("newOrderReg2",neworderreg2));
			
			Form model = fi.getModel();

many thanks

Andrew



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message