• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question to Authors, can JSF do "real time" update to Browser

 
Charlie Havener
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am curious about the events and UI components. I know almost nothing about JSF. Suppose you have web site that offers customized business cards. As the user selcts font, style, background color, etc, does JSF make it easy to continuously update an image of the customized card without the user having to submit the form for every change? I have seen elaborate JavaScript pgms that do this, and I have considered a Java2D server side image maker that writes to an iframe in the browser window every time the user makes a change. What are you thoughts about how JSF could be applied to this problem? Thanks.
cdh@cdhconsult.com
 
Bill Dudney
Author
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Charlie,
Great question! This seems to be confused in many circles because of the discussion of 'component model' and 'events' in the JSF spec and on its front page...
Anyway, there are no client/server trips for events. JSF does not specifically address browser side events either, if you want to use JavaScript for events in the browser you will find JSF is friendly to that (because it does not know anything about it )
All JSF events happen on the server side between the time a request is received and a response is sent. There are no events that cross that boundary.
Hope this helps!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!