AjaxResponse response = new AjaxResponseImpl("UTF-8");
String subscriptionName = event.getParameters().get("subscription");
if (subscriptionName != null) {
try {
// Get the feed from user's subscriptions:
Feed feed = this.getFeedFromSubscriptionName(subscriptionName);
if (feed != null) {
// Get the feed entry at the corresponding index:
int entryIndex = Integer.parseInt(event.getParameters().get("entryIndex"));
Entry entry = (Entry) feed.getEntries().get(entryIndex);
// Set the entry object in the request:
event.getHttpRequest().setAttribute("entry", entry);
// Render the entry via external JSP content:
JspComponent jsp = new JspComponent(event.getHttpRequest(), "/personal/includes/entryPanel.page");