This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I create JSF from entity beans the generated .jsp files are not based on the JSP template that is available from Tools > Template Manager. This is a pretty significant bummer because it makes it hard for me to specify things like style sheets, etc. The workaround is to hand-edit each generated page which can get time consuming if the number of entities is large. If this is not supposed to be working yet, then please change this IZ to an RFE.
Greg, using *a* template is a good idea, but I am not sure the JSP template is the right one to use. This template has content in it: comments, commented taglib declaration, sample JSTL code -- none of that makes much sense for the generated pages. I think I would need to create a different template, ideally it would have markers for places where the generator will put its code. But then, in the bigger picture, I would be reinventing the wheel. There are existing templating frameworks and it would be better to use them bcs as soon as I create the template you will be asking for more features for templating :-). Facelets would be my first choice, if only we could get facelets support into netxt release.
Doesn't that indicate we need to generate a simple CSS for this? I guess this is why Greg is trying to add by hand...
By the way, the entity2jsf wizard does generate a simple css now.
JSF pages from entity use facelet template and css styles, so I consider this as fixed. But if you are not happy with the current situation, feel free to fill new Enhancement with details.