Rational JSF wizards (do anybody consider it useful?)
We use Rational for JSF develop (mostly for portlet interface). I found Rational "pagecode" logic for handling page components in most cases unusefull and coplicated. Full of non needed code groving with evry component added.
Do anybody has different meaning?
I ask because of making decission to live ibms JSF concept...
Thanks
[353 byte] By [
i_beslica] at [2007-10-3 2:29:31]

Pagecode is good enough for the ones who "develop" using the WYSIWYG editor.Not for me, I just code all the JSF pages and backing beans myself. I like clear, clean, reuseable and maintainable code.
I never understood the usefulness of the pagecode. It's extremely annoying. I haven't touched IBM's extended JSF toolkit, yet it still generates all the pagecode.
If I try to delete the pagecode my app stops working. Does anyone know any reason for this? I have not added anything to the pagecode. It's just the system generated code.
CowKing
To avoid the Pagecode being generated in a fresh new WebApplication in WebSphere: if you attempt to create a JSF file, don't choose File ?New ?Faces JSP File, but just choose JSP File. And don't touch the Page Data box in the Web Perspective.
I just can safely remove the Pagecode stuff from my WebApplication. Take care that there are no bindings in the appl to the pc_Bean stuff. Be sure to remove the <%-- jsf:codeBehind --%> line in the top of the JSF file too.
Thanks! It's too risky to attempt doing what you suggest right now because my product is so close to release. I think I've tried the method you suggest, but I didn't put a whole lot of effort into it. Maybe after I make my initial release (and have less deadline pressure) I'll revisit the issue.
Thanks again for the tip.
CowKing
I'm not smart enough to figure out what the generated pagecode classes are good for, so I've never used them.
You can tell Rational to not generate the pagecode classes. Go to Window -> Preferences / Web Tools -> Faces. Select "Suppress Page Code file generation".
I did this, removed all the pagecode tags from the pages I'd made before making the change, and deleted the pagecode package and had no problems.
In jsf a pagecode is need for bindings to components but the ibm guys make it a war zone with getter/setter generations to that components.. to disable it,
http://www.jroller.com/page/mert?entry=getter_setter_generation_for_jsf
and for those who wanna go along with the ibm's extension, read this,
http://www.jroller.com/page/mert?entry=ibm_guys_don_t_know
I would go with myfaces for a new project. for the existing ones on ibm's extensions, try to not use hx components as possible unless you are really into WYSIWYG editor.