• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Some problems with JSF

 
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try to delete server cache.
 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic