icefaces

ICE Faces fileInput file path and file name properties

I'd like to utilize an ICE Faces fileInput control to fill in the file path & file name for the input to an input field on a web page based on file that the user selects. How can I capture these properties without actually performing any file transfer operations? ...

javax.faces.application.ViewExpiredException after upgrading to icefaces 1.7.2

Hello I've just upgraded icefaces 1.7.1 to 1.7.2 and started to get javax.faces.application.ViewExpiredException exceptions after clicking twice on the same link. I'm using JBoss Seam 2.0.2 and I suppose that it is some stupid mistake I've made during upgrade but I can't figure out what. I've just replaced three jars with newer ones (ice...

JSF with Struts

Has someone tried to integrate extended JSF-Implementations (like Icefaces or CaptainCasa Enterprise Client) with Struts (Classic), maybe with the help of the bridge Struts-Faces? Because my experience is that only the standard components are rendered without problems. Please tell me yours! ...

build the webmail project of icefaces library

Hi everybody: I make checkout from the url : http://anonsvn.icefaces.org/repo to the following folder in my file system : D:\WORK\Icefaces\IcefacesRepo. I need to build the webmail project, what should i do in details... I tried the following steps: 1- from the: D:\WORK\Icefaces\IcefacesRepo\projects\webmail\trunk\webmail> i execute an...

JSF IceFaces basic problem with redisplaying input value

I don't know what I'm doing wrong. I'm using IceFaces and I have simple managed bean: public class TestingController { private String name; public String submit() { setName("newName"); return null; } public void setName(String name) { this.name = name; } public String getName() { ...

ICEfaces: How to disable send-receive-updates mechanism for some forms

I am quite new to ICEfaces but already have experience with JSF/Facelets and the Java EE in general. Currently, I am not using to much of ICEfaces except some utility tags like outputStyle and outputDeclaration, but even this is really nice to have. Even though I plan on using some AJAX functionality later, I have some h:forms (or ice:...

Generating a Faces Context manually

I have two systems I'm trying to integrate. One is built on raw servlets, the new one is build on JSF with IceFaces. I'm trying to facilitate cross-system sign on. The idea is that I have a button in the old system that POSTs the appropriate information to the new site and logs them on. Well, ideally, I'd like to use just a regular old...

Hide .xhtml source - facelets/icefaces?

I'm new to Icefaces and Facelets both, but I'm using them on a new project. I've got everything working configured and working fine. However, when I visit mywebapp/file.xhtml, the entire facelets template source comes up in my browser. How could I hide this to prevent users from viewing my server-side templates? ...

ICEFaces Session Auto-Extension

I have an application in which users frequently leave the page running in their browser all day. The page has an intervalrendered that updates data every 30 seconds. However, if the user doesn't interact with the page for a while, it still expires. I'd like it to auto-extend for as long as the browser is open and making the scheduled r...

Question about Icefaces and valueChangeListener

Hi There... I used icefaces 1.7.1, and i use ice:inputText with valueChangeListener like that : <ice:inputText value="#{myBean.name}" valueChangeListener="#{myBean.nameChangedListener}"/> In MyBean.java i have: public void nameChangedListener(ValueChangeEvent event){ // test the new value : if it's ok continue but if it is not o...

How to pass data from JSF to a Java Applet

I'm building a web application with JSF and ICEFaces. Now I've integrated a Java Applet into one of the JSF pages. The Question is, how can I pass information stored in the backing bean to the applet? I don't think that I neeed a bidirectional communication. I'm collection data using ICEFaces input components. For instance, hitting a bu...

Mixing s:link, s:button action calls and icefaces SessionRenderer

Using SessionRenderer anywhere during a session after the user has clicked an action referencing s:link causes a Missing ViewRoot in restoreState error. It seems icefaces is attempting to rerender the view that contains the s:link, not the current view. When the s:link references a view instead of a method, nothing breaks. Any idea wh...

problem in ice:selectOneMenu

Hi There.... I'm facing a problem with the ice:selectOneMenu component in Icefaces.. In more details : When i fill the SelecItem arrayList i set an empty selcetItem at the first index in the arrayList, like that : mainClassificationsSI.add(new SelectItem(""));, and in My page i have the folowing : <ice:selectOneMenu partialSubmit="...

Iceface: reset old values while update

Hello all, I have information of user in bean, and I want to update this user. but my problem is: when the value of inputtext changed I want to put validation on it. and if the new value is wrong I want to reset the old value. please can any one help me ...

problem issue in using checkbox in datatable

Hi all I want to use as a column in datateble and I my code is </ice:checkbox> </ice:column> but I got this error: "java.lang.IllegalStateException: Could not find UISelectMany component for checkbox." can any body help me and tell me what is the right way to use checkbox in dataTable ...

setting value by clicking button in addition to using action

Hello, I have two bean Code: public class ApplContactDtl { ....... And Code: public class ApplNotifBean extends ApplNotif{ ... private List<ApplContactDtl> contactsList; ... Inside my JSPX I'm displaying the list of ApplContactDtl entries for every entry of ApplNotifBean I would like to add a delete action for these entries ...

ICEFaces + CMS + Netbeans + Tutorial

Do you know any good tutorial, for making a really simple journal(blog) like web app with ICEFaces, using Netbeans (6.5.1) as an IDE? Thanks! ...

Icefaces actionListener Issue

Hi All... I'm facing a problem with Icefaces ActionListener.... I need to prevent the actionListener to be fired while i still in client... In another way : I need to check a boolean expresion in javascript before the actionListener is fired, if my boolean expresion return false i want not to fire the actionListener, and if the result is...

Delete Files and Folders Issue

Hi there .... My project is a Web project built using three technologies : Icefaces for presentation layer. Spring for business layer. Hibernate for data access layer. My Project deployed on WebSphere 6.1 and the user can upload files, I use ice:inputFile component to handle the upload process... The first issue is: When the upload...

Is there a ICEfaces Maven archetype for NetBeans or Eclipse?

The NetBeans IDE still seems to offer Maven Archetypes only for Apache MyFaces or the "deprecated" WoodStock JSF framework. For future development or migration of existing Woodstock projects, Sun is officially endorsing ICEfaces as the replacement technology for Woodstock. I have not yet found a Maven Archetype which would set up a ne...