Thanks for the workaround.
To make it works on 1.6.0 version, I just had to change a bit the code you
provided by this:

«AROUND templates::web::JSFCrudGuiJava::saveMethod FOR UserTask»
«LET getPrimaryServiceOperation() AS saveOperation»
public org.springframework.webflow.execution.Event
save(org.springframework.webflow.execution.RequestContext ctx) «
IF saveOperation != null »«EXPAND templates::Exception::throws FOR
saveOperation»«ENDIF» {
«name.toFirstUpper()»Form form = formObject(ctx);
«for.getDomainPackage()».«this.for.name» model = form.toModel();
«IF saveOperation != null »
model = «saveOperation.service.name.toFirstLower()».«saveOperation.name»(«IF
isServiceContextToBeGenerated()»«serviceContextStoreClass()».get(),
«ENDIF»model);
«ENDIF»
putModelInFlashScope(ctx, "«for.name»", model);
return success();
}
«ENDLET»
«ENDAROUND» 

Otherwise, I get an error while creating the object in web interface. It
complains it expects an Event instead of a String. 

Yannick



Patrik Nordwall wrote:
> 
> Thanks for reporting. I have fixed the bug in trunk. If you need an
> immediate workaround you can add a piece of code in WebSpecialCases.xpt.
> See http://fornax.itemis.de/jira/browse/CSC-389
> 
> /Patrik
> 

-- 
View this message in context: 
http://www.nabble.com/Sculptor---Problem-in-web-tier-when-using-createWith-tp24823520s17564p24860230.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to