New Primefaces JSF cartridge

Writing your own cartridge ? Come and take a look in here ...

New Primefaces JSF cartridge

Postby jmcollin92 » Sat 3. Apr 2010, 14:42

Hello,

With the agreement of Walter, I have developped a new JSF Cartridge based on the JSF's one (A3.4-SNAPSHOT). It integrates the Primefaces component library and offers many capabilities that was not initialy in the JSF cartridge :
- support of Primefaces 1.x (JSF 1.2) and Primefaces 2.x (JSF 2.0),
- richtext, autocomplete component,
- support of FrontEndException,
- tree component,
- tab views, wizard,
...

You will find the description of the modifications in the root dir of the cartridge in a file named readme-primefacesIntegration.txt.

The cartridge is working fine and I've merged my work with andromda-jsf cartridge under svn.

You will find all projects for download here :
- http://secours.cpi-ksoft.com/trash/andromda-jsf.zip : the zip file containing all the JSF Cartridge merged. As expected, I've done separate templates when there was too much modifications for Primefaces integration or #if ($primefaces) if not. At the root of this file I've created a readme-primefacesIntegration.txt explaining all modifications done in the model. The merge point was done with revision of March 29 of the JSF Cartridge (so it must be recent),
- http://secours.cpi-ksoft.com/trash/andromda-profile-presentation.xml.zip : the UML 2.0 Presentation profile model modified to accept new tagged values needed for Primefaces integration,
- http://secours.cpi-ksoft.com/trash/TestPrimefaces.zip : a complete project (common + core + web) demonstrating all capabilities of the Primefaces cartridge.

Thank's to integrate this in the andromda-jsf cartridge in order to avoid too difficult future merge.
I'm waiting for the integration in svn before doing some others modifications.

Next step I'm working on is to update Andromdapp in order to generate a Primefaces JSF project. The work is almost complete (just testing) and will be ready for download soon.

Do not hesitate to seek me if need.

Best regards,

Jean-Marc
jmcollin92
 
Posts: 183
Joined: Sat 8. Jul 2006, 15:01

Re: New Primefaces JSF cartridge

Postby Overheat » Tue 6. Apr 2010, 19:07

Great work Jean-Marc!

Thanks for contributing new features to andromda!
Thanks,
Michail
Andromda Team
Overheat
 
Posts: 39
Joined: Fri 11. Jan 2008, 16:29
Location: Berlin, Germany

Re: New Primefaces JSF cartridge

Postby jmcollin92 » Wed 7. Apr 2010, 07:27

Hello,

The andromdapp modified is here : http://secours.cpi-ksoft.com/trash/andromdapp.zip.
It can generate Primefaces 1.x (JSF 1.2) or Primeface 2.x (JSF 2.0) WebUI.
In order to make it works, I had to do some change in the pom.xml files. There are annoted with <!-- JMC -->. Maybe it's a good idea to keep it for other cartridge because, "as is", it couldn't work.

Feel free to ask me if necessary.
jmcollin92
 
Posts: 183
Joined: Sat 8. Jul 2006, 15:01

Re: New Primefaces JSF cartridge

Postby Overheat » Wed 7. Apr 2010, 17:47

Hello Jean-Marc,

there are some things, you need to change in your code, to get it a step forward for applying to andromda.
Please have a look at our coding convention here: http://docs.andromda.org/coding-conventions.html
I looked at your sources and have seen "wrong" placed brackets for example.

You have also to create a patch-file for your changes. It is unnecessary to add all of .svn-directories to your patch, we don't need it:-)

Please create a new Jira entry for your patch too!
Thanks,
Michail
Andromda Team
Overheat
 
Posts: 39
Joined: Fri 11. Jan 2008, 16:29
Location: Berlin, Germany


Return to Cartridge development

Who is online

Users browsing this forum: No registered users and 1 guest