• Post Reply Bookmark Topic Watch Topic
  • New Topic

Some problems with JSF  RSS feed

 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are presently refactoring our JSPs to JSFs. Some problems we have faced with JSFs are as mentioned below.

1. Cache: When we make a change to any JSP it gets automatically reflected when we call that JSP. In case of JSF the window needs to be closed and then reopened to reflect that change. I think this is related to the JSF cache.

2. JSFs seems to be slower than JSPs.

3. Does JSFs support NOWRAP in tables?

These are a few of the problems we faced.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Anupam Sinha:
1. Cache: When we make a change to any JSP it gets automatically reflected when we call that JSP. In case of JSF the window needs to be closed and then reopened to reflect that change. I think this is related to the JSF cache.


Weired. Assuming you set your browser to not to proxy/cache for localhost.


2. JSFs seems to be slower than JSPs.


Nope. Quite neglegible. See what Hans Bergsten said in this thread.


3. Does JSFs support NOWRAP in tables?


You can use styleClass instead.
 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weired. Assuming you set your browser to not to proxy/cache for localhost.


It's only happening with JSF. So I don't think it's a browser issuse.

Nope. Quite neglegible. See what Hans Bergsten said in this thread.


Still reading.


You can use styleClass instead.


Yes we can. But its not the only thing what I want to put forward is there is a lack of attributes. So yes we may have workarounds but then again workaround might make things quite messy.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Anupam Sinha:
Yes we can. But its not the only thing what I want to put forward is there is a lack of attributes. So yes we may have workarounds but then again workaround might make things quite messy.


It is encouraged to use style while doing with pure HTML too.

Originally posted by Anupam Sinha:
It's only happening with JSF. So I don't think it's a browser issuse.


Better say it's only happening with you.
By the way which implementation aer you using?
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to delete server cache.
 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Adeel for your responses.

I wouldn't say that it's happening with just me. In my office I know a couple of people facing the same problem.

We are using MyFaces.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!