|
From: Leif J. <le...@us...> - 2007-06-10 20:27:14
|
User: leifj
Date: 07/06/10 13:27:17
Modified: andromda-jsf2/src/main/resources/templates/jsf2/controllers
Controller.java.vsl
Log:
fall back to using session if storing in the pageFlowScope doesn\t work
Revision Changes Path
1.2 +1 -0 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/controllers/Controller.java.vsl
Index: Controller.java.vsl
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/controllers/Controller.java.vsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- Controller.java.vsl 5 Dec 2006 19:39:27 -0000 1.1
+++ Controller.java.vsl 10 Jun 2007 20:27:17 -0000 1.2
@@ -61,6 +61,7 @@
{
#if (!$action.formFields.empty)
contextWrapper.getCurrentInstance().getPageFlowScope().put("$action.formKey", form);
+ this.getSession(false).setAttribute("$action.formKey",form);
// - add this temporary ADF context to the session so that we can retrieve from a view populator if required
this.getSession(false).setAttribute("$adfContextAttributeName", contextWrapper);
#end
|