| Author |
refresh/reload table data in jsp file (data return from ajax call)
|
david arnold
Ranch Hand
Joined: Apr 10, 2009
Posts: 129
|
|
Hi,
I have a jsp page (using struts 1) which has a table (on page left side) contain a list of messages, click on one message in the table will show its detail info on the right side.
I tried to reload the table when ajax call back return new data (from database) by using the following javascript which does not work.
I ever thought about using
the problem is that before listing the messages, I have to parse the message content to decide which image and font to use. I need use about six struts-logic tag
like <logic:present> <logic:equal> ... to display the message based on the message content. The following code is just a sample, I have not included all logic tags in yet.
Any good solution/advice to solve the table reload requirement in such case?
Thanks.
|
 |
david arnold
Ranch Hand
Joined: Apr 10, 2009
Posts: 129
|
|
Any idea? Or I should ask such question on other forums like struts forum?
Thanks.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56549
|
|
Where did you find the documentation for the refresh() method for DOM elements?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
david arnold
Ranch Hand
Joined: Apr 10, 2009
Posts: 129
|
|
|
oh, got it. Thanks.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56549
|
|
|
Have you solved your issue?
|
 |
Brijesh Jain
Greenhorn
Joined: Sep 28, 2011
Posts: 1
|
|
|
Can you please share your solution?
|
 |
 |
|
|
subject: refresh/reload table data in jsp file (data return from ajax call)
|
|
|