reset password
Author Message
Urvashi
Posts: 34
Posted 11:09 May 20, 2009 |

Hello,

can anybody explain why is ajaxviewId used and what it does....

cysun
Posts: 2935
Posted 14:03 May 20, 2009 |

I use Ajax for subscribing/unsubscribing various things in CSNS, e.g. forums, topics, and mailing lists. They all share the same controller (SubscribeController/UnsubscribeController), but depending on the page on which the subscribe/unsubscribe link is displayed, the view returned by the controller could be different. So I used AjaxViewId to tell the controller which view (i.e. JSP) to return.