Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Alaa Hendi
Servlets on ICEFaces and Popups
January 12, 2010 11:59 PM
Answer

Alaa Hendi

Rank: Junior Member

Posts: 34

Join Date: February 10, 2009

Recent Posts

Hi
I have a icefaces page which include a form fields and a buttons , one of the buttons is to call a Servlet to generate a report on a new window(Popup)

1
2<ice:commandButton value="Generate Report"
3                         onclick=" window.open ('ReportServlet?Time=' + new Date().getTime(),
4             '_blank', 'toolbar=1,location=1,scrollbars=1,directories=1,menubar=1,resizable=1,width=800,height=600');"></ice:commandButton>
5


i see a way at struts and JSP potlet using <portlet:renderURL> but how we can do this at icefaces portlet???


Then, when i decided to convert it to a portlet to test it , i found that the calling for a report servlet fails .
so , could you please help me how to do this? specially how to call a http servlet in icefaces portlet

Thnx[