Brian Ata wrote:... I am in the progress of learning Jspx ...
In the content part, I have a div that I append html returned by an ajax call handled by jQUERY
But when I hit Page Reload, all dynamic content is gone, i lose the state of the page.
Bear Bibeault wrote:
jspx? really? You mean the JSP XML document format? Why would you be using that? That format is unsuitable for hand coding -- it's used only as an intermediary format, and for JSPs automatically generated from code.
Bear Bibeault wrote:
jQuery, not jQUERY.
Brian Ata wrote:
Bear Bibeault wrote:
jspx? really? You mean the JSP XML document format? Why would you be using that? That format is unsuitable for hand coding -- it's used only as an intermediary format, and for JSPs automatically generated from code.
I am sorry, I meant the JSP XML document format.
I am using it because it is well-formed.
Sorry again : - ) I just realized , are you the software engineer/developer who wrote the "jQuery in Action", If it is you,
I am honored to meet you here : ) , I have only read the first 30 pages so far (recently got the book from amazon), and loved the book.
How can I trigger a javascript function with parameters pulled from a session object after a page reload?
Edit: Ok, I just realized you have the links to your books , so my first question is answered.
Thanks again for exiting ideas (FrontMan - first heard of it from my professor as an alternative approach to
struts for if my memory is not failing me simplified front controller pattern applied and also thanks for
at least one particular book I have : )
Do you know why this cup is useful? Because it is empty.
Brian Ata wrote:One more question that is bugging me is what if I carry the AJAX generated view itself in the PageStateBean,
not the necessary information to build it, so that I can just render that information directly on page.
The only problem with this I can see is, I use AJAX to improve responsiveness of the web application, so
any extra baggage I put on the communication layer, or cpu and ram for processing, etc .. is like I am
betraying the whole concept.
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|