Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF files should not use jsp extension...  RSS feed

 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that jsf files should use a differenct extension and imported into jsp pages. This way if you want to use swing to render faces all you have to do is open the faces file and use a different renderer. Isn't this the goal behind jsf? To be able to render the 'view' with different renderers. If we use jsp / html the render, if we would have to rewrite the view to be display in a swing or other context.

Also, by this same token request scope with page backing beans should not be used, since that would not jive outside of http.

Just thinking aloud, any comments?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!