Resource « Development « JSF Q&A





1. What / where are the required libraries for JSF (specifically javax.faces stuff)    stackoverflow.com

I've spent the last several hours searching the web, and I can't figure this one out. I want to include some javax.faces classes in a java package I'm working on. Specifically: import javax.faces.application.Application; import javax.faces.context.FacesContext; import ...

2. JSF 2.0 How to link CSS from resources folder    stackoverflow.com

I'm designing the template for my new JSF2.0 App and I want to use the resources folder to store my css-file. Now I started to create a template-file, but I don't ...

3. What is a good resource for learning JSF?    stackoverflow.com

A book recommendation or a website would be fine. Also, how proficient must I be with Java to use JSF effectively? Here are some notes about my background and what I need ...

4. JSF: Resource bundle key (name) as EL expression?    stackoverflow.com

How to make work something like that:

<c:forEach items="#{bean.data}" var="key" >
   <h:outputText value="#{m[#{key}]}" />
</c:forEach>
I need to get value from messages.properties, but dynamically using #{} expression.

5. How to reload resource bundle in web application?    stackoverflow.com

I have resource bundle as Java class that read values from database. When i update db i need to reload bundle, but i don't know how. Anybody helps ?

package model.helpers;
public class ...

6. Program not finding JasperReports resource bundle (.properties file)    stackoverflow.com

I'm trying to use JasperReports in my JSF 2.0 application. I'm using NetBeans 6.9.1, mojarra 2.0.3, and PrimeFaces 2.2.RC2 as well. I've developed a trial report in iReport 3.7.6. I've ...

7. Resource Config in JSF framework    stackoverflow.com

Do anyone know how to configure resource-config.xml in JSF application. For a new enhancement i have started configuring resource-config.xml, i tried placing it under META-INF folder, WEB-INF/classes, java source root directory. ...

8. Dynamic JSF resource bundle/message bundle    stackoverflow.com

I would like to have a dynamic resource bundle in my application. I will show a form to the user where he can edit the value of Resource Bundle. I ...

9. JSF add resources programatically    stackoverflow.com

Is there anyway to add resources to a web application using JSF programatically? This would involve adding files in the resource folder (or any of it subfolders). I want to add ...





10. Load Images from within CSS resources in JSF 2.0    stackoverflow.com

I am new to JavaServer Faces and I'm trying to do the following: The template file "/template.xhtml" loads a stylesheet using

<h:outputStylesheet library="style" name="default.css" />
Within that CSS file I want to link to ...

11. How to access image resources in JEE6 project?    stackoverflow.com

I have to doubts regarding to calling images that are stored in my project: 1-If i have an image stored at MyApp/images/image.gif How can i tell the component h:graphicImage to find that image? I ...

12. JSF resource bundle params in javascript?    stackoverflow.com

I have a command button that generates a confirm pop-up. The text of the confirm comes from a message bundle. Is it possible to pass parameters to the confirm? This ...

13. Is it a good idea to place JS, CSS and images resources in a JAR for a JSF application?    stackoverflow.com

I would like to ask you a question, which is related to another question I asked some times ago (without answer unfortunately :( ) Imagine that your project is divided into ...

14. Accessing and using .jsf files from the database    stackoverflow.com

What is the best way to enable my webapplication to use JSF files stored in the database? I'd like to be able to dynamically (during runtime) create new JSF pages which will ...

15. JSF 2.0 How to link CSS from external resources    stackoverflow.com

I was wondering if I can use <h:outputStylesheet/> to link CSS from an external resources. I want to link the Yahoo Grids. Using the following code, I got a RES_NOT_FOUND:

<?xml version="1.0" ...

16. JSF2 + Netbeans: JSF editor code completion for resource-bundle    stackoverflow.com

I have web application in JSF2 which is localized. Netbeans (7.0) doesn't show code completion for my resource-bundles in JSF (HTML) editor. Is there a way, how to fix it? My faces-config.xml includes ...





17. Recommended location of Resource Bundles for a Dynamic Web Project    stackoverflow.com

I'm looking at restructuring an old Web Application. I have extracted out all Java source files from my Dynamic Web App and put them in a jar that gets added to the ...

18. Do we need to set parent in a child class of JDK6 resource bundle    stackoverflow.com

Using JSF 2.0 & trinidad. Requirement: To generate request specific UI texts & images. There will be 1 general message.properties file & 1 message_.properties(specific to org). When UI is rendered the resource ...

19. Get all used javascript resources in jsf 2    stackoverflow.com

we want to build a mashup framework in jsf2 via ajax/javascript. The mashup which is integrated at customer side only contains a div container with the content to load, but no ...

20. Absolute path name in my template to get resources    stackoverflow.com

In my JSF 2.0 Facelets application I have one glorious template that I want all the pages to use. It is in the root directory of the web-app disguised with ...

21. JSF2.0, How to load external resource bundle files?    stackoverflow.com

I currently have my properties files put inside my project folder, so if I change the content of those files while my web app is deployed, the JSF pages that use ...

22. Best place to put a resource file in a JSF application    stackoverflow.com

In a regular java application if I have a static resource file I am used to using a ClassLoader to get it. However I have discovered that this is a ...

23. requested resource is not available    stackoverflow.com

I am using JSF in one of my application and the scenario is as follows: 1.I have "pages" folder under "WEB_INF" 2.in side "pages" I have "a.jsp" 3.When I deploy this application with the ...

24. JSF2 Static Resource Management -- Combined, Compressed    stackoverflow.com

Is anyone aware of a method to dynamically combine/minify all the h:outputStylesheet resources and then combine/minify all h:outputScript resources in the render phase? The comined/minified resource would probably need to be ...

25. nesting of el expressions in JSF for resource API    stackoverflow.com

<p:graphicImage value="#{resource['images:primefaces-ui/#{car.manufacturer}.jpg']}"/>
I would like to calculate the inner el first and then calculate the path using resource API. I tried <c:set> tag but its variable is also an EL, so it does ...

26. JSF1064 "Unable to find or serve resource" warning on jsf 2.0    stackoverflow.com

I'm working on an Enterprise project with Java EE 5 and JSF 2.0 (Mojarra 2.0.3) on Weblogic 10.3.3 I don't have an error, but a very annoying warning in my console when ...

27. JSF 2 resources with CDN?    stackoverflow.com

As i understand it, the needs for JSF 2 resources is to help organizing resources directories, and add some versioning and localization. But is it possible to combine this feature with a ...

28. Variable substitution JSF Resource Bundle property file    stackoverflow.com

Can i do something like in JSF Resource Bundle property text file:

receptionContact=Reception
reservationContact=Reservation

receptionEmail={receptionContact}
reservationEmail={reservationContact}

29. Can JS in JSF reach the resource bundle?    stackoverflow.com

I have a JS script which is called when a submit button action is fired successfully:

<h:panelGroup rendered="#{user$webreports$webfilteroverview.submitted}">
    <f:verbatim>
    <script  type="text/javascript">alert('Done!');</script>
    </f:verbatim>
</h:panelGroup>
the ...

30. JSF with External Resource Bundle    stackoverflow.com

I'm doing a JSF 2.0 application on Tomcat 6.x. I have a resource bundle in different languages, is it possible to externalize the properties files outside the webapp? For the moment I ...

31. JSF naming conflict with Entity "Resource"    forums.netbeans.org

David Bender Posted via mailing list. Posted: Wed Aug 19, 2009 7:01 pm Post subject: JSF naming conflict with Entity "Resource" I've hit a snag building my first ...

32. Where to put resource bundles?    coderanch.com

33. resources for JSF    coderanch.com

34. how to declare element type "resource-bundle" must be declared    coderanch.com

I have a simple web application with JavaServer Facase framework and when i deploy tomcat return : Element type "resource-bundle" must be declared. Element type "base-name" must be declared. Element type "var" must be declared. this is my code faces-config.xml en bg SKMsystem.messages msgs userBean SKMsystem.userBean session ...

35. JSF - resources    coderanch.com

36. resource bundle    coderanch.com

38. smart way to deliver resources    coderanch.com

40. requested resource is not available    coderanch.com

41. HTTP Status 403 - Access to the requested resource has been denied    coderanch.com

I'm trying to redirect user who attempts to open login page if there is a cookie indicating that he is already logged in but I'm getting this message: "HTTP Status 403 - Access to the requested resource has been denied". This is my manage bean: package org.domain.prodavnicaseam.session; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import javax.ejb.Remove; import javax.ejb.Stateful; import javax.ejb.Stateless; ...

42. a4j:loadScript loads resource once during application work    coderanch.com

In a lot of cases, a change to the WAR will cause the script file to be reloaded on the next page request that needs it. Sometimes that doesn't happen, however, though. I find I can usually force a reload by calling the script file's URL directly from the browser navigation toolbar. In extreme cases, I'll see that the displayed file ...

43. jsf resource bundle    coderanch.com

44. Common resources for multiple projects    coderanch.com

Hello everybody, we have made up a small multi- application framework that will allow switching between multiple web applications. The web apps are also developed by us. Each web app will contain a messages.properties file with the messages, this will be loaded as a resource bundle. And, each web app will also have a layout.xhtml which will be the "top view" ...

45. Resource bundle in JSF    coderanch.com

47. Customized Resource bundle with XML    coderanch.com

Hi, I am implementing internalization for my website to suite to different languages. I need a way where I can use customized resource bundles from XML rather than loading from the traditional message property files to UI components since Chinese unicode etc characters are giving problem while displaying to UI. I would like to use XML to load different language html ...

48. overriding jsf default message resources mechanism    coderanch.com

Hi, I would like to use the custom XML file for loading the internalization messages instead of message resource property file key value entries for implementing internalization for my website to support current 10 languages and to support future new language entries by keeping 99.999% uptime without bouncing the server and to support few other database internal requirements. I found couple ...

50. reg resource bundle    coderanch.com

53. Getting /resources in a BackedBean to send mails    coderanch.com

Hi there, I need to code a "Forgot password" backedbean in JSF2 that sends the password reminder mail. I used to use Freemarker templates for this in my previous Struts2 webapps and want to keep them. I need to access these templates, which I guess /resources/freemarker/ is a good place for them but how can I read them from a [Managed] ...

54. locating the JSF resources directory    coderanch.com

56. Control Position of Resources within in JSF 2.0    coderanch.com

Is there a way to control the location where resources are placed within ? I've noticed that most component libraries include css or js resources and that in the html output they appear at the very beginning of . Ideally I would like them to appear at the very end right before so that my title and meta elements ...

58. CX-310-086 Preparation Resources    coderanch.com

59. Http 404, type - status message and resource not found    coderanch.com

Hello All, I am trying to develop a rich faces application in tomcat 7.0.11. My xhtml page is a search page comes up right the first time with the search filters. When I enter the search criteria, and hit the a4j:commandButton to fetch the results, I get a 404, type - status message and resource not found. I dont see any ...

61. Any free online resource to learn jsf    coderanch.com