This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Is it possible for an AJAX response event to invoke a jsp taglib on a page? Like let's say I have a calendar widget and when a user select's a fwd >> link the AJAX code calls a servlet which sends a response. Right now, the servlet sends the response and AJAX reconstructs the page using the new variables.
Could the servlet instead set some variables in the session or response and have the AJAX response instruct the embedded taglib to reconstruct the page?
If you build a control to do it, yes it is possible.
Easier solution could be to place the calendar in an iframe.
Eric
graham king
Ranch Hand
Joined: Dec 30, 2004
Posts: 133
posted
0
So, you mean a taglib control object? Could ya point me to some reading material I could check out?
I've tried working with some IFrames before - do to the v|drop down z-index problem, but, wasn't ever able to get em to work.
I know this calendar implementation is kinda a hack, but, it seems to do the trick and it's also nice if we need customizations done for scheduling. I was just hoping to get the embedded html in the javascript file back into the taglib...
Anyway... Thanks for the help...
[ April 24, 2006: Message edited by: graham king ]
graham king
Ranch Hand
Joined: Dec 30, 2004
Posts: 133
posted
0
Hey Eric,
What do you mean by a control? I've had a hard time getting AJAX to execute java code. The only means I've been able to make it work is by ripping out HTML and replacing it with javascript (ouch!) written HTML.
Thanks Again.
Graham [ April 25, 2006: Message edited by: graham king ]