icefaces

Java: How can I generate a PDF file from a JSP JSF page?

I need to generate a PDF from a JSP JSF page. I have searched the net, but I didn't found any examples of how should I do this. I need to transform the whole page, or maybe only the charts that I have on that page. P.S. I'm also using IceFaces. ...

JSF, Icefaces, Portlets and Requestparameter

Hi there, I'm trying ton include some JSF into my webapp. For the components lib I've choosed ICEFaces, now I'm facing a problem: ICEFaces doesn't trigger the processAction method which is required to get requestparameters. In my other "normal" portlets I can do - in JBoss Portal - e.g. /portal/dashboard/hellpPortlet_Window?action=1&...

Icefaces: Network Connection Timeouts in IE only

My application has a long running request that takes over a minute. If I'm using Chrome or Firefox I just need to be patient. If I use IE however, at the one minute mark I get the popup that says I've reached a Network Connection Timeout. Why is that? ...

Portlet Data sharing using liferay and icefaces

Am using liferay 1.8.2 and liferay 5.2. I have many portlets in differnt war files and I tried the examples in the liferay docs as to how to share data between differnet portlets across multiple wars with no succcess. 1) With sesssion sharing , I was not able to get the data from the first portlet to the second portlet, even thou the d...

Icefaces: Bulk File upload?

Hi Folks, I have a question regarding bulk uploading with icefaces. Currently I can upload one file at a time, ice:inputFile, but from a user point of view this isn't of much use. Is it possible to upload multiple files at one time? Over just upload all files in a given directory? Thanks for your help! ...

flex and jsf access the same instance of bean

i integrate a flex app in a jsf-icefaces app (in a jspx site with the ice:outputmedia-tag) and want to access the same instance of a bean from flex by remote, that jsf inject. i already connect with blazeds to a java-bean. this bean - like all other beans - get other beans by injection of jsf, but when i access the bean by remote from f...

Download File from server that uses Icefaces form based authentication

I am a newbie to ICEfaces and i have a requirement where i need to download a document from a given url (http://ipaddress/formexec?objectid=201). This URL uses a form based authentication that is deployed through ICEFaces. i tracked the request of this URL and i get the following line: &ice.submit.partial=false&ice.event.target=log...

Realtime website using Icefaces

Is there any real time (internet) site that has a login form using icefaces... if yes.. pls give me a sample ...

<ice:outputMedia>

<ice:outputMedia player="flash" source="... /ICEfaces_Flash.swf" style="width:300px;height:250px;"> <f:param name="play" value="true"/> <f:param name="menu" value="true"/> </ice:outputMedia> Above Code plays the flash file but doesnt show the controls ! ...

custom facelet component for input field

I'm creating a "big" form with a lot of input fields. To make things easier I tried to create a facelet componente which encapsulates the code for creating a table with two columsn where the first col contains the label and the second one the input field. The tag which includes the component looks like this: <ft:textInput cid="city" la...

Liferay error page if at least one portlet is unavailable

I'm tryin to setup a custom error page in Liferay portal if at least one portlet fails The portal always forward to portlet_error.jsp and display a red zone in the portlet position. How can I set a redirect or a forward to a page that fills the complete page layout? Regards ...

Ajax style loading with IceFaces

I have a page on which I show a list of objects which are loaded from a webservice. This may take a while. Now I'd like to do it the Ajax way and first show the page and then load the list. While the list is loading a animated should be shown. Can anybody give me an example how to do that with JSF/ICEFaces? Thanks. ...

Icefaces & JQuery

I would like to decide on the UI technology to be used. I'm considering to use jQuery for sure as a javascript framework, but would like to know if ICEFACES would be the right choice to be used with jQuery. I would like to go with Visual Web Icefaces Framework (Netbeans IDE). Please share your ideas here! Thank You ...

Jquery , selecting icefaces elements by ID

With jQuery, we do it like this: $(document).ready(function() { $("#orderedlist").append("Please rate: "); }); and de string appended to component with id orderedlist. Using icefaces framework , i got a component with id form1:p i tried accessing it using followin code : jQuery.noConflict(); jQuery("#form1:p").append("Please ra...

MenuItem Listener Test in IceFaces

I've created a MenuItem and added an ActionListener using allProducts.addActionListener(this); Is there a way to simulate the menu being clicked in a unit test? ...

JSF Adding Action Listeners

I'm creating a MenuItem dynamically and I want to add a custom listener when the MenuItem is clicked. I've tried adding addActionListener and setActionListener but neither of these get called when the link is clicked. It appears that there is a List called "listeners" attached to MenuItem (I can see this when debugging a MenuItem set...

Pop-up on validation error with ICEFaces

I have the following requirement: Each time a form is submitted and when there are validation errors a popup should be displayed saying "There are errors in the form..." (a ). I find this hard to do as I don't have the possibility to intercept the form submit action. The action method is only executed when there are no error messages....

Partial refresh of page with IceFaces SessionRenderer - unwanted side effect

I have a page with two areas. Left area is for notifications which should be updated frequently. The right area contains forms. I thought I could use the IceFaces SessionRenderer for updating the left part of the page by using SessionRenderer.render("notifications") I have created a Timer which is executing the refresh each 10 se...

Save Web Page at Server , adding few components at Run Time ?

Is there a way to save a web page at the server adding few components to the web page at runtime (wen an end user click Submit button a text field is added to the web page , for example)! I use ICEFACES Framework n itz Components ! Thanks ...

JSF/IceFaces Conditional Rendering

I am using Icefaces to conditonally render a component but it cant pick up the boolean: BeanCode: public boolean isEmpty(){ return true; } public int getCount(){ if (isEmpty()){ return 0; } return 1; } IceFaces <ice:panelGroup rendered="#{coverage.empty}"> //this doesnt work...