request 1 « IceFaces « JSF Q&A





1. Why does IceFaces seem to be eating my get request?    stackoverflow.com

I have an IceFaces page which is powered by several Request scoped beans. When I make an initial GET request, I grab the external context via the faces context grab a ...

2. Request attributes in jsf / icefaces behaves strange (survive request end)    stackoverflow.com

I have the following code in a listener method:

FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put("time", new Date());
When a button is clicked the following code is executed
System.out.println(FacesContext.getCurrentInstance().getExternalContext().getRequestMap().get("time"));
One could except that "time" is null when the listener was not ...

3. Request scope backing bean... not in request    stackoverflow.com

I have a backing bean (say MyPageBean) with request scope, but it seems to be in session because, navigating my application, when I visit the page myPage, I always get the ...

4. ICEfaces: How to pass parameters from one page to another    stackoverflow.com

I have this simple scenario which doesn't work: I use icefaces and i have a simple page with some inputTexts and a submit button, this button will redirect to another page ...

6. ICE Face request scope    coderanch.com

7. Displaying popup on ajax request    icefaces.org

8. How to cancel Icefaces AJAX Request    icefaces.org

Hi, I am using icefaces 1.6.2 as the front end implementation for a Mortgage Based Application which uses Business services exposed as webservices to display screen contents. I have a use case in which customer after filling in required information, system performs bulk processing of data synchronously and displays some result. To notify the user, i have used a javascript to ...





12. Icefaces 1.7.2SP1 http GET request not calling INIT()    icefaces.org

Hi Certainly, I'm using Icefaces 1.7.2sp1 .nbm plugins together with Netbeans 6.5 IDE. The default Visual Icefaces Web Page I create is derived from the AbstractPage class, which has these methods defined. Thus the init() method is available through this AbstractPage bean by default. I had a look at the post you sent, and its exactly the same symptom. The page ...

13. onpostclick request    icefaces.org

Would it be possible to add an onpostclick attribute to commandLink and menuItem that would run the the javascript given after the icefaces partial submit? I'd like to open a window after the submit is complete. I am requesting this, because I can't get the target attribute working how I would like. If the target attribute gets fixed, then I would ...

14. do all requests go through requestVerifier or just post    icefaces.org

Do all xmlhttpRequest go through the requestverifier class or just posts. Looks like gets arn't evaluated for ice.session id. However , I can't seem to get some simple xmlhttprequests to work. They work fine outside of icefaces. // set handler for the loading data var onloadHandler = function() { xmlLoaded(xmlRequest); }; // start the progress bar pi.style.visibility = 'visible'; var xmlRequest ...

15. Navigation and request scope beans    icefaces.org

16. request scope beans    icefaces.org





21. Request missing 'ice.session' required parameter    icefaces.org

The message you are seeing is not an error. As you can see it has INFO level. A request that does not contain 'ice.session' parameter can mean one of these things: * Firebug can re-send requests without the POST parameters when inspecting HTTP requests/responses * When redirects are used heavily in the application, JIRA http://jira.icefaces.org/browse/ICE-4275 explains why under certain circumstances requests ...

22. Request Beans and faces-navigation.xml    icefaces.org

Hi, I'm starting with JSF and IceFaces and there's something I can't get working. I've got some jsf pages with some backing beans declared as request beans (usually one jsf with one backing bean), and I have all my jsf declared on the faces-navigation.xml. The thing is that when I switch between pages using the navigation rules, the pages don't "refresh" ...

25. Request bean not disposed on browser close    icefaces.org

I have created a minimal test case to verify that I'm not doing something in my application to keep a request bean from being disposed. It is my understanding that a request bean should have its dispose() method called when the user closes the browser window. This is not happening. Try running the attached webapp and see if the bean is ...

27. request scope?    icefaces.org

30. commandbottom post request    icefaces.org

31. No request available for dispatch    icefaces.org

32. How to distinguish between user initiated request from async render request?    icefaces.org

Hi, Using ICEfaces 1.7.2, JSF 1.1. Is there a way to distinguish between user initiated request v/s request generated by async renderer? I observed that IntervalRenderer.requestRender() causes all 6 JSF phases to execute and so can a user initiated request. We've some code in PhaseListeners that needs to do special processing for user initiated requests only. Thanks. -Abhijit

33. Request: Component that displays a matrix of objects (3x3,4x4,etc.)    icefaces.org

Here's what I see people (including myself) wanting to do over and over, with no solution. I have a list of objects, where each object has a photo and several fields describing the photo. I want to display these in a grid by specifying the number of columns and being able to walk through the list of objects. So for example, ...

34. request attributes    icefaces.org

35. Problem with request scope    icefaces.org

36. receive-updated-views 50 seconds request    icefaces.org

Maxim Sharai | Software Engineer | OPENSUITE CORPORATION maxim.sharai@opensuite.com | www.opensuite.com The information contained in this email is legally privileged and confidential. This email is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or ...

37. No Request to dispatch in IE    icefaces.org

hi, i am using the ICEFaces 1.8.1 and jsf 1.2 and jboss 4.2.3.my application is working fine firefox.when i am running the application in IE some(frequently) time giving the following error. executePhase(RENDER_RESPONSE 6,com.icesoft.faces.context.BridgeFacesContext@1b15387) threw exception javax.faces.FacesException: No request available for dispatch. at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:135) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:176) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.executeAndRender(PersistentFacesState.java:301) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.setupAndExecuteAndRender(PersistentFacesState.java:312) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState$RenderRunner.run(PersistentFacesState.java:431) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Unknown ...

38. icefaces managed bean scope greater than request scope less than session scope    icefaces.org

Hi There I am basically trying to have a search filter that searches the database and then gives back a dto list that is bound the ice:faces data table I have a

39. Request Scope bean    icefaces.org

Hi, I have a request scoped managed bean handles a page, when i navigate out this page using navigation rule to another page with other managed bean, and came back to the first one using the same way, i can see that the old managed bean is there holding the old data ... is this normal even for extened life time ...

40. request parameters    icefaces.org

41. Problem with POST-requests    icefaces.org

44. No request available for dispatch.    icefaces.org

Hello, I have problem, when running Icefaces 1.8.1 based application. It is deployed on GlassFish v2.1 with Enterprise profile. Some requests very randomly hang with following log4j output: Code: 05/02/2010 17:19:38 DEBUG com.icesoft.faces.context.View [httpSSLWorkerThread-38181-74] - Created View[2n-yU9G51QMDyQJ3jmw6NA:3] 05/02/2010 17:19:38 ERROR com.icesoft.faces.context.View [httpSSLWorkerThread-38181-74] - Problem encountered during View.servePage javax.faces.FacesException: No request available for dispatch. at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:135) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:19) ...

45. Extended Request Scope    icefaces.org

46. icefaces request scope    icefaces.org

Hi all; I have a problem in my Apps , Beans with request scope its constructor is called only one time for session imagine that : I have a page A with bean A , Bean scope is request and I have a page B with bean B , Bean scope is request for first time I am now in page ...

47. request scope    icefaces.org

i open a datatable in popup window where the bean is in request scope. i need to perform rowselect function for the datatable in popup window so that i can get detail information of that row. but when i perform a rowselect operation then popupwindow tries to refresh and looses all the data .can any one help !

48. Request: making a editableHTMLDataTable    icefaces.org

Hi all First of all, I would like to say you guys do a great job on making web application look jazzy, and as responsive as Rich Cliet..Well done.. Is there possible to make dataTable more like Java Swing Table, which the following features: -> User able to add/delete/modify rows data without any round trip to server, untill user click submit ...

50. Combine effects (Appear and Fade) within one request    icefaces.org

Hi folks, is there a possibility to combine two affects on one component? My intention is that I would like to show the user a confirmation message (f.ex. after successful saving). This message should fade in after clicking a button and after a few seconds fade out. Any chance to solve this issue? Thanks in advance!

53. Standard request scope problems ...    icefaces.org

Hi all, I have a problem with the standard request scope in icefaces 1.8. First of all i set to "TRUE" the context parameter "com.icesoft.faces.standardRequestScope" in the application's web.xml file. So, I expect that at every form submit (regardless of the page's URL) a new request is created by the framework and I can use this request (and all their contents) ...

55. Request for admin    icefaces.org

56. Bean Request Scope lifetime problem    icefaces.org

58. controling the request    icefaces.org

59. Getting request parameter on error page    icefaces.org

Hey folks, originally my page is called with a paramet like "example.jsp?test=test". I've got enabled a default errorpage called errorpage.jsp. So if javascript is disabled and that errorpage is called, i want to get the parameter "test" from the original call. The reason is that i want to provide a link within the errorpage to get back to example.jsp?test=test. So if ...

61. Client-side ajax request queue    icefaces.org

62. ICE Form to handle get requests    icefaces.org

Hi I want to develop a simple web app in which the user inputs a number via a text box and that number gets displayed on a 4 by 4 table. This app should be accessible via a get method in which the following url http://localhost:8080/appName/?param1=10 should direct the user the same form and display the 4 by 4 table filled ...

64. Long Request + BlockUI in 1.8    icefaces.org

65. Ajax request in icefaces    icefaces.org

66. Ajax request in icefaces    icefaces.org

Hi, I am new to icefaces. I read icefaces had in build support for ajax. I have developed a page with few filter inputs with filter button and a datatable and also few other components. By clicking on filter button, a bean method is getting called and new data is being loaded into datatable, and complete page is not getting loaded ...

67. ice:dataTable sends a request but don't sort    icefaces.org

Hi @all, i have implemented an ice:dataTable. It sends a request but don't sort the table. My Implementation: Code: ICEfaces Table

69. About request Scope    icefaces.org

Hello, I'm using iceface1.8.2. I have a search page. There are the condition and the result list. This JSF page is using a request scope managed bean "ManagedBean". It has a method search() to return "search". My problem is that the request managed bean isn't recreated after I click the "search button". I mean that I have a "search button", like ...

70. Panel popup not calling close method in request scoped bean    icefaces.org

Hello, I have a managed bean which is request scoped. I am opening a pop up panel (modal, if it matters) from my page. The text fields in the popup are tied to the instance variables in the managed bean. The popup opens, but after which it just does not call the close method in the managed bean (which just sets ...

72. request-scoped beans retained across requests?    icefaces.org

Hi, I have two pages: page1 and page2. Both use the same request-scoped bean #{myBean}. page1 has a ice:commandLink that navigates to page2. When page2 is displayed the state of #{myBean} is retained from page1. Also, I added a print statement in MyBean's constructor and it is *not* executed after command to navigate to page2 is issued. In other words, #{myBean} ...

74. Accessing request attributes    icefaces.org

76. too many requests    icefaces.org

This is not a problem, but how icefaces' asynchronous requests implementation. It allows to push data from the server side to the browser. Asynch is a default mode but you can change it to synchronous mode and requests will only be sent in response to user's interaction. Add the following to your web.xml file: com.icesoft.faces.synchronousUpdate true Noel.

77. call request page to page    icefaces.org

Hi! I have two inputText that the user enters the corresponding values and in pressing in the button to accept, I go to the other pagina and it does not show the data to me that I call in the call request For example Page destiny this works single if scope ...

78. HIERARCHY_REQUEST_ERR    icefaces.org

2007-03-23 10:48:42,397 ERROR [Parser] Failed to execute JSP lifecycle. javax.servlet.jsp.JspException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. at com.icesoft.faces.component.ext.taglib.OutputTextTag.doEndTag(OutputTextTag.java:395) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:203) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186) at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:134) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:550) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:402) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at ...

79. HIERARCHY_REQUEST_ERR on page reload    icefaces.org

org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown Source) at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source) at com.icesoft.faces.context.DOMResponseWriter.startElement(DOMResponseWriter.java:195) at com.icesoft.faces.renderkit.dom_html_basic.XMLRenderer.encodeBegin(XMLRenderer.java:51) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:579) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:586) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:569) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:406) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658) at org.apache.jsp.index_jsp._jspService(index_jsp.java:46) ...

80. Icefaces request scope    icefaces.org

86. HIERARCHY_REQUEST_ERR: Updated 1.5.3. to 1.6.0    icefaces.org

Hi, since the Version 1.6.0 is release i have updated my Projekt yesterday to fix some Problems in the old version like redirekt the user after session timeout etc... but after i changed the icefaces version to 1.6.0 and do some clicks on componets ( 2-3 Click not importent where) i get this errorpage: HTTP Status 500 - ________________________________________ type Exception ...

87. selectInputText feature request    icefaces.org

Do you mean selectInputDate? By highlighting, do you mean already selected, or do you mean using the new attributes or highlighting, like how the weekends are highlighted in the component-showcase's calendar on the left? Because of your bean property returns a Date, instead of null, then the popup will have that selected already.

89. NON-standard request scope    icefaces.org

92. Extended request scope and ui:include    icefaces.org

Hi there! I was trying these days to implement a wizard like app (actually a sort of processing workflow). For that I created the steps as separated xhtml pages, each with its own request-scoped controller bean. I use a dinamically ui:include which depends on a field "currentPage" of a higher workflowController (also request scoped). My problem is the following: If I ...

94. Request for Sample    icefaces.org

95. Extended request scope TOO extended ???    icefaces.org

We're experiencing an issue with request scoped beans in ICEFaces / Facelets / JBoss 3.2.7, where request-scoped managed beans appear to be far-too long-lived. We have quite a few request scope beans which are initialized out of a particular session-scoped bean, whereas when the session-scoped bean changes, we want the request scoped beans to display data particular to this new session ...

98. Custom Component - required request?    icefaces.org

100. Throwing 500 error due to continuous requests    icefaces.org

Hi, I am trying icefaces portlet. I have a dropdown box, when user selects a value an action is initiated to display the related info. When we are sending request continuously getting 500 error. Is there any way to stop the continuous requests. Environment Details: ICEfaces 1.7 Liferay 4.4.2 no facelets synchronous mode. Thanks, Ravi