留言板

portletRequestDispatcher includes me all the page

thumbnail
Juanjo Hernández Cánovas,修改在12 年前。

portletRequestDispatcher includes me all the page

Regular Member 帖子: 183 加入日期: 08-8-11 最近的帖子
Hi to everybody,

I'm developing a Liferay/ajax-jquery portlet. When I select and option form a html select tag, I populate the information in another select tag after doing an sql query. All works fine but when I include the jsp that rewrites the second select, Liferays paints me "all" the site, it means the <head> ,<meta> and all other stuff of the page (logo, configuration controls, etc...). I don't know what happens, but I'm stuck on this.

Thank you in advance for you time.

Greetings,

Juanjo.
thumbnail
David H Nebinger,修改在12 年前。

RE: portletRequestDispatcher includes me all the page

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
I'd guess that you're trying to go through either the action or render urls which will result in the entire page. You should be hitting the page directly, and not go through either of those.