• Post Reply Bookmark Topic Watch Topic
  • New Topic

Autorefresh of JSF  RSS feed

 
Miro Ricco
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to provide autorefresh in the data table.

The problem is there is dynamically created list of tables which display a data related to an selected object. So i need to identify the tables. The identification is solved as I've described
here.

The page with the table is opened from JSP request as JSF response.
I have a META tag in the head of the page, as it can refresh.
When I open the page it refreshes well because it's still the same JSP request.
But when I do some action in the table (sorting, paging...) a refresh repeats the JSF request from last action. And here is the problem. After this type of refresh the value of table ID in hidden input is lost. The other part of problem is if the refresh will not repeat the action ?

Does somebody understand what i've messed up ?

Nevertheless, more and more i have a feeling the jsf is not suitable for complex solutions. I must believe the feeling is wrong, but that's discussion for another topic. I'm sorry... :-)
 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about using a JavaScript timer to re-submit the page
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!