facelets 1 « IceFaces « JSF Q&A

1. How can I create an error handling page in ICEfaces (with Facelets)?    stackoverflow.com

I need a little help creating a catch-all error handling page in my ICEfaces application. I'd like to present a user-friendly message along with an exception stack trace. I can redirect to ...

2. Non-existing values evaluate to some random value in facelets custom component    stackoverflow.com

I have written a custom facelet component which looks like this:


3. JSF: logic based on iteration index    stackoverflow.com

Pardon me for the title, that's the best my limited brain can came up this late. So, i have a list of string, something like [abc, def, ghi]. The question: in JSF, ...

4. icefaces-facelets.jar Where is it on IceFaces 2?    stackoverflow.com

Does anyone know where can i get the icefaces-facelets.jar do i have to downloads the 1.8 specification? is it compatible?

5. IceFaces 2 Problem with facelets example    stackoverflow.com

i tried to run the icefaces tutorial example on my home machine ubuntu it works perfectly in tomcat 7 but here on a windows its just giving me this nasty exception ...

7. ICEfaces/Facelets and
elements    icefaces.org

8. Icefaces 1.7.2 custom 500 error page + facelets    icefaces.org

package com.web; import com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class PersistentFaces extends PersistentFacesServlet { @Override public void service(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException { try { super.service(arg0, arg1); } catch (Exception ex) { arg0.getSession().invalidate(); arg1.sendRedirect("/index.html"); // redirect only to other of jsf filter ( no *.jsp ...) } } }

10. Custom components using facelets    icefaces.org

Hi, I want to write a custom component something like After reading the facelets documentation, I am able to create a custom component using facelets if there are no sub-tags, like But I can't figure out how to write a component that can have sub-elements. Is it ...

11. Problems with icefaces-facelets    icefaces.org

12. HtmlUnit with Icefaces and Facelets.    icefaces.org

13. Help: Integrate ICE with Facelets    icefaces.org

14. Facelets composite component with ice:selectInputDate    icefaces.org

I'm trying to create a composite component that contains an ice:selectInputDate so we have a "unified" way of doing date input. Here's what I have in the source tag file: Code: 1 5

15. Issue trying to use facelets + Error Pages    icefaces.org

rvillane Joined: 30/05/2008 00:00:00 Messages: 34 Offline I forgot to post the exception displayed on the AppServer console but not properly handled by the Error Page: Code: [1/19/09 15:26:26:681 CST] 00000028 jsf E com.sun.faces.lifecycle.InvokeApplicationPhase execute /index.jspx @20,116 actionListener="#{authorizationBean.doSomethingNull}": java.lang.NullPointerException: Just a test... javax.faces.el.EvaluationException: /index.jspx @20,116 actionListener="#{authorizationBean.doSomethingNull}": java.lang.NullPointerException: Just a test... at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73) at javax.faces.component.UICommand.broadcast(UICommand.java:305) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:302) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:419) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77) at ...

17. ui:debug in facelets-enh version of component showcase    icefaces.org

Hello. I recently downloaded ICEfaces 1.7.2 SP1 and built the facelets-enh version of the component showcase application. It is deployed to WebSphere 6.1. I was trying to experiment with the tag and added it into page-template.jspx, the main facelets template for the application. When the showcase.jspx page of the application loads in Internet Explorer 6 and ...

18. Problem adding facelets to icefaces 1.8    icefaces.org

I did, anyway it seems a dependency problem, I can't figure it out. I have this jars: jstl.jar acegi-security-1.0.1.jar backport-util-concurrent.jar catalina-ant.jar commons-beanutils.jar commons-collections.jar commons-digester.jar commons-discovery.jar commons-el.jar commons-fileupload.jar commons-lang.jar commons-logging-api.jar commons-logging.jar el-api.jar el-ri.jar FastInfoset.jar grizzly-compat.jar icefaces-comps.jar icefaces-facelets.jar icefaces.jar jasper-compiler.jar jasper-runtime.jar jsf-api-1.2.jar jsf-impl-1.2.jar jsp-api.jar just-ice.jar jxl.jar krysalis-jCharts-1.0.0-alpha-1.jar portlet.jar push-server.jar servlet-api.jar spring-security-core-2.0.3.jar xercesImpl.jar xml-apis.jar There might be some extra jars as I put all ...

20. Unable to start with Facelets !!!    icefaces.org

22. Backing bean initialization on page load (Icefaces + Facelets + JSF 1.2)    icefaces.org

Hello everyone, I need help with Icefaces and Facelets. I am doing a small application which will serve as a proof of concept for using Icefaces and Facelets for a new web app. I have one JSP page (.jspx), and a backing bean (which has a getInit() method that I want to call at every page load). We normally use

23. IceFaces+Facelets Performance Issue - Attribute inheritance    icefaces.org

Hi, we have kind of performance problems with icefaces in combination with facelets. we profiled our application and noticed, that some of our getters are called thousands of times. tracing back that situation leaded me to the following: Facelets passes down all attributes to child tags which are facelets tags too. To be more precise, we have facelets wrapper tags for ...

24. Create a Custom Component using Icefaces and Facelets    icefaces.org

hello., do you know something about it, well I've red the tutorial : http://facestutorials.icefaces.org/tutorial/facelets-tutorial.html but is a basic sample, what I need is a component that work along with the panelPopup showing a list of users and when a click in somebody , I coukd obtein the Id and blah blah blah, I tried to build this , but my problem ...

28. facelets kindly error pages    icefaces.org

30. Help with ICEFACES and FACELETS    icefaces.org

Hi, i'm working with Icefaces and facelets to make a template.jspx, and the template works fine, but when i try to include the template to a page it doesnt work fine, and the error says: ERROR - JspPageToDocument.getTldInputStream(542) | Can't find TLD for location [http://java.sun.com/jsf/facelets]. JAR containing the TLD may not be in the classpath Please Help!! is very important!!

32. Looking for icefaces-facelets.jar    icefaces.org

35. Facelets lib in ICEfaces dist    icefaces.org

37. Reusable facelets taglibrary    icefaces.org

39. Am I really gaining a lot by using Facelets with ICEfaces?    icefaces.org

Hi Todd, I'm no Facelets expert, but from what I know it really depends on a few things: How large is your project and how many pages do you have? Facelets encourages component composition reuse through a type of templating architecture, so if you think you'll gain a lot of traction with reused templates in your pages, then Facelets will definitely ...

41. Icefaces 2.0 beta 1 + facelets + jsf    icefaces.org

42. How to create custom component with facelets    icefaces.org

(For validation only)

43. Problem Icefaces 2.0 + Facelets    icefaces.org

Good morning for all... Sorry by my bad english... I'm doing a review of the ICEfaces version 2.0, I use Netbeans 6.9 ... I have two templates (template_1 and template_2) and two pages (page_1 and page_2) using these templates, template_1 uses a style sheet style_1 and template_2 style_2, through an action button to page_1 to pag_2, the problem is that Pressing ...

44. IceFaces 1.8.2 + facelets, memory usage troubles    icefaces.org

Hi all, we are facing a memory leak in our application. The application is built on IceFaces 1.8.2, Facelets and PrettyFaces. There are approx. 30 pages in our application and we are using redirect to navigate between them. And now our problem. Our application handles max. 50 concurrent users and they are using the application the whole day. To analyse our ...

45. jsf-facelets    icefaces.org

47. icesoft 1.0.1 facelets error    icefaces.org

48. Problem when using ICEfaces 2.0 with Facelets    icefaces.org

dweidele Joined: 16/12/2010 02:35:47 Messages: 9 Offline Hello everybody, after 1 day of investigation - and in order to save another 1- i would now prefer to share my problem i.o. to make ICEfaces 2.0 working with Facelets. After having started to implement the project with ICEfaces 1.8 we decided to switch to ICEfaces 2.0 some days ago (for various reasons). ...

50. How to center content into a facelets composition???    icefaces.org

Hi. I'm using facelets as recommend in this forums. I attach a file to show one of the pages I use into my main template. I experience problems to center the content. For example if I use a div of 800px to insert all the content center on the screen always appears aligned to left. #center { width: 800px; margin: 10px ...

53. Icefaces + facelets    icefaces.org

54. Effects and Facelets issue    icefaces.org

Hi, I am trying to use effects with facelets, i am using the effects2 example from the tutorial applications but wehnever i do a mouseover on the on the text i get a javascript error saying that "Object required" Does anyone have an experience of using facelets with effects? Mailing the sample aplications. Help plssss. Regards Reagan

55. ICEFaces and FACELETS?    icefaces.org

57. Help with Facelets    icefaces.org

58. proper way to decorate ViewHandler (using Facelets)?    icefaces.org

Sorry, I kind of rushed off a response there. How things are supposed to work is that restoreView(-) is called first, and if it had nothing to restore, then createView(-) is called. But, when doing some Seam integration work, we found that our restoreView(-) would just call the code that createView(-) calls, and so createView(-) would never get called. Also, depending ...

59. progressListener and facelets    icefaces.org

60. facelets file extension    icefaces.org

63. Facelets error    icefaces.org

Hi i have following error when i tried to move my code from jdeveloper to eclipse. Also looks like this problem is caused by missing facelets tld. Any ideas to get around here??? THanks 007-03-31 11:05:24,714 DEBUG [http-8080-Processor25] - jsp.error.parse.xml com.icesoft.jasper.JasperException: jsp.error.parse.xml at com.icesoft.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:106) at com.icesoft.faces.webapp.parser.JspPageToDocument.getUriFromTld(JspPageToDocument.java:651) at com.icesoft.faces.webapp.parser.JspPageToDocument.scanJar(JspPageToDocument.java:619) at com.icesoft.faces.webapp.parser.JspPageToDocument.scanJars(JspPageToDocument.java:556) at com.icesoft.faces.webapp.parser.JspPageToDocument.getTldInputStream(JspPageToDocument.java:413) at com.icesoft.faces.webapp.parser.JsfJspDigester.startPrefixMapping(JsfJspDigester.java:99) at org.apache.xerces.parsers.AbstractSAXParser.startNamespaceMapping(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at ...

67. Facelets an Eclipse 3.2.2    icefaces.org

Hi, The only way I found to include tag libraries in a jspx page and using facelets so that the options feature in Eclipse 3.2.2 works is by declaring them the following way: At runtime, using IceFaces 1.6.0DR3 I'm getting the following message: 2007-04-23 18:17:55,890 DEBUG [com.sun.facelets.tag.TagDecorator] A JSP ...

68. HOw to configure Web.xml for facelets    icefaces.org

69. Passing ID To Facelets?    icefaces.org

72. Icefaces, Facelets & Title    icefaces.org

73. just-ice + facelets?    icefaces.org

74. Scope problems when using facelets w/dynamic includes    icefaces.org

I couldn't submit an issue in Jira, so I thought I'd just post it here and see if I get a response. I have three facelets doing dynamic includes into one-another passing parameters within the body of each include: file1.xhtml file2.xhtml This ...

75. Errors on facelets include param    icefaces.org

76. <ui:define> Just Not Happening On My Facelets Page    icefaces.org

I am integrating Facelets with ICEfaces, and I am applying some very simple content within a moderately simple template through Facelets' , , and tags. Unfortunately, the tag in the real page isn't "taking hold." The default content from the template is being rendered as if I had no tags in the page...or as if I were viewing ...

77. Facelets Version in ICEfaces 1.6    icefaces.org

78. ERROR with facelets    icefaces.org

79. ICEfaces 1.6.1/JSF 1.2/Facelets    icefaces.org

Hi all, I have a JSF 1.2/Facelets app that works on both the latest RI 1.2_05 and MyFaces, and wanted to try initially just to slide ICEfaces in on top to get the AJAX/look and feel benefit. Am I correct in thinking that ICEfaces doesn't support/work with JSF 1.2? I have read the docs and been deep into JIRA - and ...

80. Problem with facelets    icefaces.org

82. ICEFaces and Facelets    icefaces.org

Hi, As I understand, you should build a facelets project using html (xhtml) and not jsp (jspx). Unfortunatelly, Eclipses Code Completion and Properties view do not work with ICEFaces componentes in xhtml pages, so if you insist in using them (xhtml) your editor ens up like a simple text editor. I've read some treads in the forums and they all end ...

83. errors on facelets example    icefaces.org

The example for facelets dynamic including is successfully compiled and deployed. However, the following error happen when I access the url: please help ---------------------------- org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 6 3: Facelets Dynamic Include Tutorial 4: 5: 6: 7: 8:

84. Icefaces with Facelets    icefaces.org

85. Facelets, JSF and JavaScript (amongst other things)    icefaces.org

Hello everybody, First off: apologies in advance if I'm mixing up terms (I'm new to the concepts/technologies). I'm trying to setup a page with Faclets and ICEfaces. I'm having a really hard time, trying to get a few things working. 1. JavaScripts that are contained in the -element of the generated page. I need to be able to set a few ...

87. facelets source code    icefaces.org

88. Bypass IceFaces facelets    icefaces.org

90. Logout in Icefaces+Facelets    icefaces.org

91. Facelets Dynamic Includes    icefaces.org

I'm using dynamica facelets includes, and works fine.... but sometimes I lost the css styles in internet explorer, when it happen i have to refresh the page and they come back... i change the "encoding" to "UTF-8", but the problem don't change, it's a very great deal for my beacouse all my users have IE.

92. Problem using facelets and datatable componet    icefaces.org

Hi. From this forum is highly recommended to use facelets and that what I'm trying to do. After dealing with it (facelets) I have a problem with the datatable. I have different behavior using a datatable in a main-content of a facelets interface. The interface is very simple, just a header a main-content (where I want to show everything) and a ...

93. ICEFaces and facelets problem    icefaces.org

94. Facelets library behavior    icefaces.org

95. Duplicate IDs with Facelets    icefaces.org

97. Problems with ice:selectInputDate with facelets    icefaces.org

I have a simple usage of ice:selectInputDate as follows: Code: (Note: my apologies for the display of the code above -- I cannot figure out any way to get it to display in a readable format.) The problem is that the popup icons are not there (the only thing I see is ...