Message 3 « IceFaces « JSF Q&A





1. Why I get this warning message in Tomcat6+Icefaces 1.7?    icefaces.org

com.icesoft.faces.webapp.http.common.standard.CompressingServer$CompressingRequest$1 respond Warn: Connection aborted ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89) at java.util.zip.GZIPOutputStream.finish(GZIPOutputStream.java:95) at com.icesoft.faces.webapp.http.common.standard.CompressingServer$CompressingResponse.finishCompression(CompressingServer.java:83) at com.icesoft.faces.webapp.http.common.standard.CompressingServer$CompressingRequest$1.respond(CompressingServer.java:50) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:161) at com.icesoft.faces.webapp.http.common.standard.CompressingServer$CompressingRequest.respondWith(CompressingServer.java:45) at com.icesoft.faces.webapp.http.common.standard.CacheControlledServer$EnhancedRequest.respondWith(CacheControlledServer.java:63) at com.icesoft.faces.webapp.http.core.ServeJSCode.service(ServeJSCode.java:27) at com.icesoft.faces.webapp.http.common.standard.CacheControlledServer.service(CacheControlledServer.java:42) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19) at com.icesoft.faces.webapp.http.common.standard.CompressingServer.service(CompressingServer.java:29) at com.icesoft.faces.webapp.http.core.ResourceServer.service(ResourceServer.java:30) at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16) at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at ...

5. Problem with message display in valuechangelistener    icefaces.org

message is not getting displayed when I am adding message from ValueChnageListener method. I am making partialSubmit="true" for an inputText field and from the ValueChangeEvent lister method (in baking bean) I am adding some validation message. But messages are not getting displayed....... Is it a problem with ajax call? I am using icefaces 1.6.2 ....Please help

6.  generalizing    icefaces.org

Hi, I have such quetsion. Are there any possibility to generalize for example required value message? I mean that if some field are not field but requeried I should show one message "fill in required fields". But currently I have this message for all required fields. If 3 are not filled I've got 3 require messages. Is it possible to make ...

8. How to display error message for every field ?    icefaces.org

Hi, Login.jsp fle i want to display error message for UserName and password if the fields are empty but what i get is "{0} is required.I have set required ="true" for both the fields...It should display "name is required", "desgn" is required.The same file if i deploy with JSF implementation,it works fine... i have learned is that Icefaces is an extension ...

9. Practical message bundle size limitations?    icefaces.org

Are there any limitations or practical rules of thumb for the size of a message bundle? Any ideas about that? Any experience with huge bundles? As they are based on Java properties files, I assume they must all be loaded into memory, so available memory might be a restriction. Since they are declared in the application context I would assume they ...





13. user session expired message after initial refresh of browser    icefaces.org

Hello , I am currently running the sample Chat portlet (IceFace 1.70) inside of Jetspeed2 on Glassfish v2.2. Everything is working great with the asynchronous updates for concurrent browsers. However once I refresh the page, I will get a "user session expired" message each time I try interact with the portlet. This problem will continue until I either logout or snap ...

16.     icefaces.org

am using tag.My issue is about the overriding the default message of this tag.How I can customize the message for each field. Is there any attribute to override the default message shown by this tag. for example am using as follows. I want to provide the message as "Please enter valid Url " ...





17. Message from SelectInputDate    icefaces.org

19. messages.properties    icefaces.org

20. How to control NCI message behaviour    icefaces.org

21. Advice - Problem to display error/warning message    icefaces.org

First of all thank you for your reply. I check with the debugger and sure my method "validate" is called and enter in the block where is created the FacesMessage as soon as I move from the field for wich validator has been set. My metod is like that: public void validateEmail(FacesContext context,UIComponent toValidate,Object value) { String email = (String) value; ...

22. Validation message which sets the focus on a component.    icefaces.org

Hey hi. I face the following task: Validation errors that occur should be listed in the top of the website (--> ice:messages). Ideally, every message consists of two parts: A hyperlink with the name of the field in which the error occured, and a javascript onClick in the href, which sets the focus in that component (somewhat similar to trinidad). The ...

23. Message betwen Backing Beans    icefaces.org

24. Custom Error Messages    icefaces.org

Interesting. I am using icefaces in a liferay portal 4.4. I tried the attribute label on the

25. Problem to set my own validator message: ((UIInput)component).setValidatorMessage doesn't work    icefaces.org

Dear all, I have my application for which I don't want to have a common part for the error message like: I would like to have each component with its appropriate message: I try following but it doesn't work, why? In my jspx i have following field: My ...

27. Setting application message for an IceFace component    icefaces.org

Hi, I am trying to associate an application message programmatically with an IceFace component. I am using a form to collect user input and trying to update the database. If anything is going wrong I would like to set some error message for the form components. If I use the following method to add the error message: FacesContext.getCurrentInstance().addMessage(String clientId, FacesMessage message) ...

29. problem with icefaces messages    icefaces.org

Hello Everybody, I have a problem regarding ice:messages. I dont want to display ALL messages at one point, but instead I want to diplay first the errors and the infos I want to display somewhere else. Unfortunately I didnt find any way to configure the ice:messages tag so that it just displays the info messages (without the errors). Does anyone know ...

31. Add box with border to ice:messages    icefaces.org

33. ice:messages and applying effect on it    icefaces.org

Hi, Thanks for the reply. I have an outputText working off a similar Highlight Effect successfully, however icefaces auto catches any e.g. text entered into a textbox that is bound to an integer variable. I can't seem to catch this myself as this validation happens prior to the valueChangeListener firing. The ice:messages display tag catches this and is therefore fine, but ...

34. Putting HTML tags in message bundle ???    icefaces.org

Hi all, I am using icefaces for one of my projects. My portal contains some pages having static data (text basically), which I want to display using message bundle. The problem is how do I format the data with HTML tags within message bundle? If someone has came across such a problem and has solved it, please help me out with ...

35. error message    icefaces.org