Message 1 « IceFaces « JSF Q&A

32.Web Service
JSF Q&A » IceFaces » Message 1 

1. Input File component error messages

I'm facing a serious problem with ice:inputFile component. When an error occurred while uploading process (like : invalid file name error, empty file name error, exceeding max size error), i use ice:message ...

2. ICESoft messages

I have a JSP with a managed bean. I want to display a message on the page, not related to any component, so, I do not need to use the "for" attribute.

My ...

3. facesMessage and ice:Messages

Quick question. Is it possible to associate a facesMessage with a particular ice:Messages tag? i.e. I create

facesMessage.add("Error message one");
facesMessage.add("Error message two");
And in my page I have
<ice:messages style="float:center;color: #FF0000" id="errorMessageOne"/>
<ice:messages style="float:center;color: #FF0000" ...

4. How do you set the message for an ICEfaces ice:inputFile filename validation error?

Setup: ICEfaces 1.8.2, Java EE 5, JSF 1.2. I'm using an ice:inputFile tag to allow the user to upload a PDF file, and an ice:messages tag to provide error feedback to the ...

5. render error message on a new line

I have this ice faces component with validator:

<ice:inputText id="#{id}" value="#{bean[field]}" required="#{required}"
    rendered="#{rendered}" styleClass="#{inputCssStyle}">
    <f:validator validatorId="#{validatorId}" />
<br />
<ice:message style="color: red;" id="ageError" for="#{id}" />
As you see, I ...

6. How to show error message every time when validation fails on an icefaces component?

I'm facing some validation/message problem with ICEFaces. I have a page with some input fields, validators, and a message bar with an <ice:messages /> tag. If the user fails to properly ...

7. How to override default file upload h:message in ICEfaces

i am using the ace:fileEntry component to upload files and after successful upload i get the message that:

'File Entry' uploaded successfully 'filename'.
and i want to override this message and display other message ...

8. How to hide messages with id javax_faces_developmentstage_messages

sometimes, i see generated info messages (not validation) at bottom of xhtml pages with id javax_faces_developmentstage_messages how can i prevent such messages from being generated in a specific page, i don't want to ...

9. Faces messages are not cleared on subsequent requests

Case is as follows: you have a bean method which parses a file, and if parsing fail, error message is added, and if parsing successful, success message is added. But when you make ...

10. Icefaces error messages

11. Problem setting a message from servlet.

Hello everyone, there's my situation: i need to set an error message when i have an empty list in my servlet's my code sample: (Inside servlet's doPost Method) ........ List listaPadre = GanttUtil.statiPadre(dataInizio,dataFine,lidElemento); if (listaPadre.size() == 0 ){ System.out.println("listaPadre VUOTA"); FacesContext context = FacesContext.getCurrentInstance(); FacesMessage msg = new FacesMessage(); msg.setDetail(" ERRORE: Nessun dato trovato "); msg.setSummary(" ERRORE: Nessun dato trovato"); ...

13. ice:messages with effect

15. when the validated message was displayed , other action can't work.

Hi, I used input text like these: [code] [/code] the error message is : value is required. then I click another button on the page, its actionListener is #{myBean.inputNewEmail}. I thought that when the email validate error,I could input a new email address. But I click the button , value was ...

17. ice:message change error text

18. [SOLVED] Messages added in inputFile's actionListener don't allways get rendered

Mda ... solved it. Pretty stupid of me. I used the progressRender="true" stuff since I use a progressbar and because of this I hadn't declared my controller as Renderable anymore. I made it Renderable and now the messages are shown correctly. (Should have been pretty straight forward, considering upload takes place asynchronously). Eduard

20. FacesContext.addMessage - How to clear the message

Hi, I have a long running operation that needs to update the status message. Should I use FacesContext.addMessage() to do this? Or is there another way? If I use FacesContext.addMessage(), how can I clear older messages? I use component to show the message. I conditionally render this tag if there are any messages in the FacesContext. But I am not ...

21. Messages in popup window

23. Any idea about why my faces messages gets only rendered shortly and vanish after a few milliseconds?

Dear all, I have no idea how to solve this problem and maybe you will have an idea about to solve this problem? i have a form , I made a validation at the end but I have some partial submit for populate drop down list, when i click on the submit button the messages get only rendered shortly and vanish ...

28. [SOLVED] Why do I get the required message twice?

messages errorMessages When I tried to do this I got missingResourceExeption for properties defined in I was able to read properties defined in errorMessages file. How do I resolve this? I want to keep my error messages in seperate file Thank you.

33. Ice message for GMAP component

34. Display ice:messages on popup

35. message for empty table?

36. 1.8, I never see "User Session Expired" messages when session expires

Hi. I'm using 1.8, Netbeans 6.5.1 and facelets. To better see this issue I set my session timeout to 1 minute. I see this both on IE, and firefox. I leave my icefaces page on the screen and after 1 minute as expected my output connection status component turns red. But I never see the "User Session Expired" message. I want ...

37. selectOneListbox and messages

I have a selectOneListbox with several items in it. For example: - "Choose an item" - "Item 1" - "Item 2" I also work with the ice:messages. When I set the required on true of a inputText, I get a message when I push on a submit button and I didn't fill in something (in the inputText). Now my question, is ...

38. JSF forward and adding messages.

39.  or

At this moment I use a to display all my warnings. But I want to use specific 's after each component (what isn't a problem). And 1 or something like that at the top of my page (where I use now the ) which always tells me the same message, for example: "Not everything is completed", when there are ...

40. messages

43. Ice:messages in pop up and main page


46. styling ice:message - how to?

47. Error message "Problem encountered during view.servePage"

Hello, I was trying one example for ICEFaces: I got the error message below. It was fairly confusing to me and wasn't sure how to go about analysing the problem. Any ideas? Thanks, 15:45:32,096 SEVERE [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /tutorial.jspx) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@14569d3] 15:45:32,106 ERROR [View] Problem encountered during View.servePage javax.faces.FacesException: java.lang.NullPointerException at ...

48. "Please Wait........" message

Hello, you can also use a

50. BridgeFacesContext adds global messages twice to the FacesContext

Hey, since 1.8.0 the BridgeFacesContext loops over the facesMessages with no id (the global messages) and adds them again to the facescontext with id "" (in the method unwrap). I don't know the reason for this but it has the following effect: when using the messages tag the global messages are shown twice. I don't want to filter on global messages ...

51. Many '[???] Views Have Accumulated Updates Messages'

I had a fairly active session this morning reviewing a number changes I'm making, and as my session timed-out from inactivity, I received over 20 of these messages in my system log, each one showing between 6 and 40 views. I am (very) concerned that I'm doing something (very) wrong. The only references I found in these forums said not to ...

52. "WARNING: Parameters: Invalid chunk ignored." messages with Tomcat 6.0

Hi, I have a hidden field (timezoneOffset) and a menu. With every (partial) submit I get: WARNING: Parameters: Invalid chunk ignored. I captured the parameters, displayed here with line breaks: ice.submit.partial=true & &ice.event.captured=form%3Amenu%3Amessages%3Aupdate%3Alink &ice.event.type=onclick &ice.event.alt=false &ice.event.ctrl=false &ice.event.shift=false &ice.event.meta=undefined &ice.event.x=124 &ice.event.y=57 &ice.event.left=false &ice.event.right=false &form=form &icefacesCssUpdates= &javax.faces.ViewState=2 &javax.faces.RenderKitId=ICEfacesRenderKit &form%3AtimezoneOffset=2 &= &menuParam=UpdateMessages &form%3A_idcl=form%3Amenu%3Amessages%3Aupdate%3Alink &ice.session=lAEXVtOnJUobrmo5jEoUGw &ice.view=2 &ice.focus=form%3Amenu%3Amessages%3Aupdate%3Alink &rand=0.25405607316242495 Where does the complete empty param come ...

55. Passing parameter to message resource

57. Newlines in message resource bundle?

59. How coustomize bridge-messages for session timeot

How can i customize the message, which appears on session time out for german language? I found fin the File code, that tries to load a message bundle wthe the FailoverBundleResolver. i dont now where to place the message bundle files. I tried to place a message bundle files: and in the src directory but it does not ...

60. Input File component error messages

62. Putting a border around a Messages component

There doesn't seem to be a way to "style" a Messages component. I basically want to put a border around it but there doesn't seem to be a way to do it. I've tried working around it, by surrounding it with a layoutPanel and setting its "rendered" attribute, but there also doesn't seem to be a Messages method I can bind ...

63. How to add ice:message to a Panel Popup

1.-Somebody could post an example for how to add an ice:message to a Panel Popup, i want to inform about an error, i'm using validator this is my code: 2.- how to add multiple error messages using one panel popup???. 3.-how to appear and disappear ...

65. How to add ice:message to a Panel Popup

1.-Somebody could post an example for how to add an ice:message to a Panel Popup, i want to inform about an error, i'm using validator this is my code: 2.- how to add multiple error messages using one panel popup???. 3.-how to appear and disappear ...

66. ice:message and render

67. message disappear

68. Message Bunlde

Hello i am using the Message Bundle in ICEfaces to show works fine for labels but for messages are not coming from Resource Bundle i have write the following code en en en_US de de.laliluna.tutorial.messageresource.MessageResources Message resource bundle welcome=Welcome on this site Utils class public class Utils { protected static ClassLoader getCurrentClassLoader(Object defaultObject){ ClassLoader ...

71. Message Deleted

This exception merely tells you that you haven't defined jsp on your facelet page....although if you are using facelets, why not define the ui tags and use ui:include ? Are you trying to use both jsp pages as well as facelets (normally xhtml or jspx) pages in this application? Normally, if you are using icefaces-facelets, you would not also use jsf-facelets ...

76. User Notification Message

81. Enhancement Request... ice:messages

83. ice:messages on page load

84. Newbie Question

I have a jsp with a managed bean. I want to display a message based on some logic, after a method is called. The message is not tied to any component, so no "for" attribute required. My message code: public void foo(ActionEvent event) { FacesContext context= FacesContext.getCurrentInstance(); if(true) { FacesMessage message = new FacesMessage(); message.setSeverity(FacesMessage.SEVERITY_ERROR); message.setSummary("BMW."); message.setDetail("BMW detail."); context.addMessage("foo", message); } ...

85. Facing problems in deploying ear, getting no message available exception

While deploying ear project, icefaces is not picking up the css files. Has anyone encountered a same problem? The exception is : java.lang.RuntimeException: no message available at com.icesoft.faces.webapp.http.servlet.MainServlet.service( at javax.servlet.http.HttpServlet.service( at weblogic.servlet.internal.StubSecurityHelper$ at weblogic.servlet.internal.StubSecurityHelper.invokeServlet( at weblogic.servlet.internal.ServletStubImpl.execute( Truncated. see log file for complete stacktrace java.lang.NullPointerException at at com.icesoft.faces.webapp.http.servlet.MainServlet$2.locate( at com.icesoft.faces.webapp.http.core.FileServer.service( at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service( at com.icesoft.faces.webapp.http.common.standard.CompressingServer.service( Truncated. see log file for complete stacktrace ...

86. Setting focus on ice:messages

87. outputChart error message

88. one error message for a group of checkboxes

Hi, I have a group of five checkboxes, out of which at most two can be checked at the same time. Once a user tries to click the third one, an error message has to appear. I wrote a validator and added elements to my page, but what obviously happens is that I get multiple identical error messages ( from ...

89. empty message?

90. Error message

Only to a limited extent. If there are two input fields with the same validator and the user enters in the first field a valid value and in the second an invalid value. If you want to transport within the error message the field which occurs the error you can't do this by edit the standard validation text. What I'm looking ...

92. Webmail Demo Message Exception/

94. ice:message component preceeds message with ids

Hi, I'm using the component to do basic validation of an input field. However, the message is always prefixed with the id of the form and the id of the field which looks very ugly. For example, when I use the component like this: The following output is printed if the "name" field is empty: material-type-editor:name: Validierungsfehler: Eingabe ...

96. Icefaces custom error messages

97. [USER SESSION EXPIRED MESSAGE] Can i handle it ?

Hi all I have a login page and a "secure" zone. When I log-in I insert in session singificative user's data,and when I logout I destroy the session. Well,so when user logout receives this ice-faces warning message: " User Session Expired , Do you wont to reload ....... " Now,I don't wont this message when a user logout,but only when session ...

99. Customize error messages

100. How to use messages bundles?  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.