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 ... |
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 ...
|
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" ...
|
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 ... |
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}" />
</ice:inputText>
<br />
<ice:message style="color: red;" id="ageError" for="#{id}" />
As you see, I ... |
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 ... |
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 ... |
|
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 ... |
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 ... |
|
Hello everyone, there's my situation: i need to set an error message when i have an empty list in my servlet result....here'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"); ... |
|
|
|
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 ... |
|
|
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 |
|
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 ... |
|
|
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 ... |
|
|
|
|
messages errorMessages When I tried to do this I got missingResourceExeption for properties defined in messages.properties. 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. |
|
|
|
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 ... |
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 ... |
|
39. or icefaces.orgAt 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 icefaces.org |
|
|
|
|
|
|
Hello, I was trying one example for ICEFaces: http://facestutorials.icefaces.org/tutorial/dataTable-JPA-tutorial.html 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 ... |
Hello, you can also use a |
|
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 ... |
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 ... |
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.target=form%3Amenu%3Amessages%3Aupdate%3Aout &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 ... |
|
|
|
|
|
|
How can i customize the message, which appears on session time out for german language? I found fin the File com.icesoft.faces.context.DOMResponseWriter.java 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: bridge-messages.properties and bridge-messages_de_DE.properties in the src directory but it does not ... |
|
|
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 ... |
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 ... |
|
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 ... |
|
|
Hello i am using the Message Bundle in ICEfaces to show labels.it 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 ... |
|
|
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 ... |
|
|
|
|
|
|
|
|
|
|
|
|
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); } ... |
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(MainServlet.java:177) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) Truncated. see log file for complete stacktrace java.lang.NullPointerException at java.io.File.(File.java:222) at com.icesoft.faces.webapp.http.servlet.MainServlet$2.locate(MainServlet.java:87) at com.icesoft.faces.webapp.http.core.FileServer.service(FileServer.java:26) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24) at com.icesoft.faces.webapp.http.common.standard.CompressingServer.service(CompressingServer.java:37) Truncated. see log file for complete stacktrace ... |
|
|
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 ... |
|
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 ... |
|
|
|
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 ... |
|
|
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 ... |
|
|
|