From: WalterIM (A. F. <fo...@an...> - 2009-03-30 11:45:36
|
Hi folks, the current development version of the JSF2 cartridge is 1.1-SNAPSHOT. Some of the goals of the standalone (non-portlet) mode : 1 - Smart Ajax support: if a transition (action) goes out of an action state, do some back-end processing and goes back to the same action state, only the changed view elements are refreshed, a full page refresh does not occur. 2 - Use of tr:subform instead of many tr:form tags, as stated by the Trinidad team. 3 - Form aggregation: views with many outgoing actions can have only one form rendered, with the parameters being merged and the correct validation selected according the actual executed action. #1 and #2 are committed and it is quite stable. If you're interested in testing such a features, change the version of the andromda-jsf2-cartridge and andromda-jsf2-cartridge-components to 1.1-SNAPSHOT in the main pom.xml and add <property name="ajaxLibrary">trinidad</property> to the jsf2 namespace in andromda.xml. If you are using some xhtml changed 'by hand', you should take a look at some fresh generated files to understand the changes you have to do on your old files. Mainly using tr:subform instead tr:form and adding some partialTriggers / partialSubmit attributes. If you're starting the JSF2 development I strongly recommend you start with the 1.1-SNAPSHOT version. I hope you enjoy the enhancements, -- Walter Mourão http://waltermourao.com.br _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=27468#27468 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! |