I would like to use JavaScript to manipulate hidden input fields in a JSF/Facelets page. When the page loads, I need to set a hidden field to the color depth of ...
I have a dynamic Facelets page that needs to show information from database when the page loads. At this point in the flow, there have not been any form submissions. Every ...
I want to watch and learn from Open Source projects that are using Facelets, but my Google skills failed me so I went here.
The closest thing I found ...
I have several places in my facelets web app where we are using custom facelet functions. For some reason they feel dirty and I can't quite peg why. What ...
I noticed that c:set does not work well used inside "include of include of include", as important notice facelets documentation does't recommend it too.
Now I am using ui:param inside ui:include, but ...
We'd like to set facelets.development to false to suppress stack traces in non-development environments, but we'd like to have it set to true in dev for debugging.
Our deployment process dictates one ...
I'm trying to migrate a JSF 1.2 project running on Tomcat to Mojarra 2 running on Glassfish v3 (b71). I tried creating a new test project in Eclipse (JEE Ganymede) ...
I'd like to learn how to develop Java-based web front-ends (I already work with J2EE server-side). Microsoft's path appears quite straight-forward (ASP.NET; like it or not).
However, I'm not sure about ...
In blogs i have read that JSF 2.0 is inlcuding Facelets. So i only included JSF-api.jar and JSF-impl.jar to my Java build path.
But if i try to use Facelet tags, they ...
I have been involved in JSF + Facelets dev for a month or so. I used composition, insert, define and other tags from facelets. I am finding it difficult to understand ...
I am using JSF2.0 Mojarra 2.0.2.
I have a method that logs out a user and puts a logout message in the flash, forwards to the login page (which has a div ...
Can we use Facelets in JSF RI 1.1_02? If we can please send me some piece of code relating to that? Can anyone tell me which version of Tomcat will support ...
I have a JSF page. At one point, I have a <h:selectManyCheckbox> that is displaying a number of items. The tag provides 2 attributes you can set to define whether ...
I have a / group of radio buttons , and a CommandButton
Two cases
1)When one of the button is clicked + The command Button is clicked, I should display some other ...
I'm trying to do a search form, depending on the selected item you can do searchs by start to end or month and year
Is it possible to do a form look ...
I have created a new web project and enabled its JSF and Facelets capabilities on MyEclipse, then I deployed it over weblogic. Everything look fine but it does not work for ...
I'm using JSF 2.0.
Is it possible to customize the way a <to-view-id>, from a navigation rule, is associated with an actual file/resource on the server when the next view is ...
I wrote a ViewScoped Managed-Bean and every time I refresh the page in my webbrowser, the Managed-Bean seems to be recreated, article is null, it loads a new article-object and so ...
I have an application that use composition (for page templates). But we think in create a web-application (war) to host all templates shared by all applications in the same host of ...
I have a checkbox which (depending on an AJAX context) may be both readonly on writeallowed. The problem is, that when I make it readonly, it becomes RO not only to ...
Simple question that I couldn't figure out how to do so far in the best way.
I'm starting a new project so I'm still somewhat flexible.
JSF 2.0, Facelets are welcome (Although I'm ...
I am working on a project to take an existing project using JSF1.2, JSP, Struts, Tiles, Richfaces ... to simply use JSF2.0, the built-in facelets support, and updating Richfaces to version ...
In a create form, the user types his name, then his surname, and when he focuses on the username text field, the surname.name String must be appended automatically.
In other words, Using ...
Is there a limit on the size of the file I can upload to the server using the hx:fileUpload component? I have a requirement of receiving 100 MB files, but I ...
Is there other Java Web frameworks other than JSF which work well with CDI? "Work well" could be simply to have a template system which can access @Named beans.
Rationale: I do ...
with jsp I can easily print the logged in principal using: <%= request.getUserPrincipal() %> now I would like to do the same using JSF 2.0 + Facelets. How to do that? ...
I'd like to draw a tree that is generated in JSF.
I thought I'd use DynaTree and avoid using component libraries, although i'm starting to have second thoughts seeing the complexity of ...
I am starting to explore JSF 2 facelet and I would like to test this in a simple project.
I just have some query regarding the file structure in JSF 2. ...
I'm using jsf 1.2 and have got some weird javascript which gets repeated at several places in my project.
I do not want to repeat myself.. but i found no way to ...
Using f:loadbundle when using jsp as the view description language for an JSF application is pretty straight forward.
I want to know where to put this f:loadbundle when i am using facelets
...
Should I use JSF2 resources instead of plain html like <link href... or url(image.png)? What are the benefits? For me this is a bit annoying when web-designer creates layout with XHTML, ...
Using facelet, jsf manager bean, netbean 7.0.1, glass fish 3.1, i want User can recovery their password. When User enter their email and confirm, an activation link will be sent to ...
The bigger question is "why use html at all?". I use xhtml even on my regular html pages. Because it's more stringent, I can use smarter tools. Also, if html ever goes obsolete, it will be because xhtml or one of its relatives replaces it. Even if the replacement isn't the xhtml of today, I'll stand a better chance of being ...
It is interesting but c:import works in my JSF pages. Ofcourse I need to import JSTL tag library. Otherwise JSF page will not be able to understand c:import. I can also use JSP includes to include content into my JSF pages. . Have you tried that? make sure you put your included content into as shown in ...
Hello all, I'm working with JSF (MyFaces) and Facelets. I've created a custom facelet (more precise: via a seperate xhtml-file), containing a tomahawk data-table But one big problem: in this file there is a reference to itselfs, because i have to represent a custom tree structure (with checkboxes to delete and create new nodes/subtrees). so it's seems logical to solve this ...
Hi there, I am developing a simple application using JSF and Facelets, running on Apache Tomcat 6. At the main page I'm using nice JQuery based menu, found at http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/, which is the root of the problem. Directory structure is as follows: +webapp +src +web +css +img (arrows which supposed to be placed next to menu labels) +down.gif +right.gif +js (js ...
Hi all, There's one thing in Facelets that always catches me out and I was just wondering if someone could give me guidance on what I should be doing. The webapp I'm creating (with Seam) will be created by me but configured by someone else. The configuration needs to be kept in a JSF page as the application itself is made ...
Hi, guys i am working on a project using facelets. I got a problem on displaying my pages correctly. On my root directory, i got a template.xhtml file which is a facelet template. i divided the template into 3 layouts which are header, content and footer. All other pages should be displayed in the content layout. But, only the pages under ...
Hi, I'm building a JSF custom taglibrary where I define some template components. I've been struggling for a few days to solve a problem with my custom tags. The problem is that my custom tags are not rendered. This is what I've added to my project: web.xml: (I've only picked the relevant code) ... ... ...
Technically, the "context" is the part of the URL that's the same for every page in the app. So for a Tomcat URL of http://myhost.com:8080/myapp/users/page1.jsf, the context would be "myapp". It doesn't have to be a single level, but it usually is. The context URL is therefore "http:/myhost.com:8080/myapp" From the sound of it, you're using relative URLs for your scripts and ...
TL;DR: Looking for ideas on how to do advanced theming in JSF, looking for more than just CSS/image libs tricks, need full view customization. Any ideas or concepts would be appreciated. We are attempting to build advanced themeing into a new version of our web application, to allow us to use one platform to provide many different brand/white label shops. Specifically, ...
You cannot access a backing bean without doing some form of submit, because submitting is the way that the client talks to the server in HTTP, and HTTP is the underpinning of JSF. AJAX makes it possible to do a partial page submit/render, but it's still an HTTP submit at heart. Since you're using JSF 1.2, you are either going to ...