Resource « PrimeFaces « JSF Q&A





1. how to put an apostrophe in my message resource without breaking the javascript confirm?    stackoverflow.com

I'm using JSF2 (Primefaces 2.x, and GlassFish 3.1.x). I have a 'delete' button with a javascript confirmation.

<p:commandButton ajax="false" value="#{msg.common_delete}"
  action="#{profileHandler.doDelete}"
  onclick="return confirm('#{msg.profile_confirmDeleteMessage}')"
  immediate="true"
/>
The problem is the message in the ...

2. Resource Loading, Ampersand Problem    forum.primefaces.org

Ok, this is a workaround if you run into the same problem: add a custom ResourceHandler and Resource class: Code: package your.package; import javax.faces.application.Resource; import javax.faces.application.ResourceHandler; import org.primefaces.util.Constants; import ...

3. How to get resource loading to use normal path?    forum.primefaces.org

4. Primefaces resources not available    forum.primefaces.org

12 May 2011, 09:28 by zakgun Primefaces resources not available Hi, i am using richfaces 3.3.1 with seam 2.2 under a project. My project is running on weblogib 11gR1 as. I ...

5. Primefaces 2.0 resource loading    forum.primefaces.org

21 Jan 2010, 14:56 by justin Primefaces 2.0 resource loading Hi, primefaces 2.0 latest snapshot no longer requires . However primefaces built in css are rendered last in the html, after ...

6. p:resource and JSF 2 issue    forum.primefaces.org

>> << Oleg Posts: 1787 Joined: 02 Oct 2009, 09:41 Location: Russia, Siberia => Germany, Black Forest 03 Feb 2010, 00:10 by Oleg p:resource and JSF 2 issue Hello Cagatay, I've ...

7. Strange resources loading after page reload    forum.primefaces.org

Hello, I have faced a strange behavior if I act a update of entire page - e.g. reload via push F5. Not always, but sometimes I get an exception ...

8. Stack and resource loading problem    forum.primefaces.org

...





10. [SOLVED] Resources not loaded with primefaces-1.0.1-SNAPSHOT    forum.primefaces.org

24 Feb 2010, 13:48 by giladno [SOLVED] Resources not loaded with primefaces-1.0.1-SNAPSHOT Hello forum, I'm trying to use the 1.0.1 version, when server boots, I get the following: INFO: Added Library ...

11. Primefaces 3.0.M3 resources problem    forum.primefaces.org



17. Error in new Dynamic Resource Loading Feature    forum.primefaces.org

var scriptURI = $('script[src*="/javax.faces.resource/primefaces.js"]').attr('src').replace('primefaces.js', resource + '/' + resource + '.css'), cssURI = $('link[href*="/javax.faces.resource/primefaces.css"]').attr('href').replace('primefaces.css', resource + '/' + resource + '.js'),

18. M4 and Customizable Resource Ordering    forum.primefaces.org

I'm getting a warning with latest M4 on JBoss 7.0.2 and JSF 2.1.3. 22:37:40,338 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (http-192.168.0.199-192.168.0.199-8080-1) JSF1064: Unable to find or serve resource, primefaces/primefaces.js, from library, primefaces. Is there something ...

19. HeadRenderer ignores resources without name    forum.primefaces.org

Hello, in PrimeFaces 3.0.M4, org.primefaces.renderkit.HeadRenderer won't encode any resources whose attribute name is null. This is bad. For example, in RichFaces 4.0.0, there are resource components related to event queues which ...

20. dynamic resource loading?    forum.primefaces.org

How to use it? I downloaded 3.0M4, use it with java 6, tomcat 7, mojarra 2.1.1, but I don't seem to get the following working. Code: ...

21. Unable to find or serve resource, primefaces.js,from library    forum.primefaces.org

WARNING: JSF1064: Unable to find or serve resource, primefaces.js, from library, primefaces. Nov 25, 2011 9:38:08 AM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource WARNING: ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error

22. fileUpload bug using #resource ??    forum.primefaces.org

23. PrimeFaces Resources Problem    forum.primefaces.org

26 Mar 2010, 15:27 by leonardo.moreira PrimeFaces Resources Problem Hi, I am using Netbeans 6.8 M2 with GlassFish V3. I have created a simple Web Application with JSF 2.0 just like ...

24. js css resources failed to load    forum.primefaces.org

Hi Cagatay, I successfully set up PrimeFaces 1.0.1 + Seam project settings, and I began to convert to PrimeFaces framework component by component from another JSF framework. Now, I have a ...

25. PrimeFaces custom Resource handling solution    forum.primefaces.org

06 Apr 2010, 05:45 by cnoevil PrimeFaces custom Resource handling solution Hi Cagatay, As the developer of PrimeFaces I guess my question is directed to you, but any one is welcome ...

26. Problem in loading primefaces resources    forum.primefaces.org

I am using JSF 1.2 with primefaces 1.0.1 and facelets. I have inside . Also I have the ResourceServlet defined in the web.xml. The primeface resources are loading when I ...

27. Resource at upload    forum.primefaces.org

PrimeFaces FileUpload Filter ...

28.  JSF 2.0 resource image not shown    forum.primefaces.org

Works! Works! ...

29. Does import unused Resources?    forum.primefaces.org

I need to know whether <p:resource/> tag imports all the resources including the unused always. If it does, how can we control the resource imports according to our need? In the ...

30. Resource "/META-INF/resources/yui/json/json-min.js" not foun    forum.primefaces.org

I'm trying to create a piechart with primefaces 2.1 RC1. I get the Resource "/META-INF/resources/yui/json/json-min.js" not found message in the logs and a blank rectangle appears where the chart should have ...

31. Resource: json-min.js not found    forum.primefaces.org

Jul 23, 2010 3:18:13 PM org.primefaces.resource.ResourceServlet doGet SEVERE: Resource "/META-INF/resources/yui/json/json-min.js" not found

32. Primefaces resource on ROOT webapp    forum.primefaces.org

I think, it's Tomcat problem (was at least in the 5.5 version). I didn't find mistakes in ResourceRenderer and even deeper.

33. dataTable actions not active without     forum.primefaces.org

If adding p:resources solves the problem, then some resources are missing. What I find strange is that the dataTabel partially works and that you're only having problems with sorting and row ...

34. Dynamic updating of h:head resources    forum.primefaces.org

27 Sep 2010, 12:19 by Turjakas Dynamic updating of h:head resources I'm facing problems when trying to dynamically load new resources to JSF pages using AJAX requests. I'm dynamically including content ...

35. Problem with Primefaces 2.0 Resource loading    forum.primefaces.org

Hi, can we redefine the context path somewhere that will be used for the primefaces resource loading ? My problem is, that I run an application on a tomcat with context ...

37. Help with Ajax resource loading being slow    forum.primefaces.org

Hi, I'm using the layout component for my web app, and I have the p:remoteCommand dynamically updating the center layout content that is included with ui:include. The included page looks like ...

38. PrimeFaces not loading resources in JSF 2    forum.primefaces.org

18 Nov 2010, 16:07 by rogerjose81 PrimeFaces not loading resources in JSF 2 Hey guys , I'm using PrimeFaces 2.1 on JSF 2 with JSP. The problem is that PrimeFaces is ...

39. Had to use p:resources with PrimeFaces 2.0 and JSF 2.0    forum.primefaces.org

25 Nov 2010, 20:08 by Lisa Had to use p:resources with PrimeFaces 2.0 and JSF 2.0 We are using PrimeFaces 2.0 and JSF 2.0. I tried to use the

40. alternative to ?    forum.primefaces.org

...

41. JSF 2.0 resource management vs Primefaces Theme    forum.primefaces.org

Yeah, I saw the examples using link, but I don't know why it did not worked for me :/. But then, for me I find easier just to hack the CSS ...

42. [solved] Unable to find or serve resource...    forum.primefaces.org

WARNING: JSF1064: Unable to find or serve resource, jquery/ui/jquery-ui.js, from library, primefaces. Jan 26, 2011 4:41:28 AM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource WARNING: ClientAbortException: java.net.SocketException: Connection reset

43. Datatable missing resources (js, css)?    forum.primefaces.org

31 Jan 2011, 09:50 by mikke Datatable missing resources (js, css)? Hi! Thanks for the hard work of getting 2.2 released! I have datatable with paginator on two different pages. On ...

44. The requested resource () is not available.    forum.primefaces.org

10 Feb 2011, 13:23 by fuats The requested resource () is not available. Hi, I am newbie for JSF and PrimeFaces technology but I want to learn, analyze it. In eclipse ...

45. Hardcoding of javascript resources    forum.primefaces.org

12 Feb 2011, 14:36 by mores Hardcoding of javascript resources I am using primefaces 2.2 with JSF 2.0.3 (SNAPSHOT 20100726) In my xhtml I am building a panelGroup: ...

46. Order of resource rendering    forum.primefaces.org

Hello, What is the right order of resource rendering? Current order: at first PF resources added to head automatically and then a theme. At the moment I can not achive my ...

47. cannot find "theme.css" resource of "primefaces-" library    forum.primefaces.org

Theme handling changed between 2.1 and 2.2. Themes are now a resource on the classpath and loaded by the JSF resource loader. Here is a thread which discusses this: http://primefaces.prime.com.tr/forum/viewtopic.php?f=3&t=7784

48. Resource loading uses absolute paths    forum.primefaces.org

Thanks for pointing me in the right direction! If I use h:outputStylesheet tags to load my resources, JSF will translate them to link tags with absolute paths as well. I think ...

49. Resource loading issue    forum.primefaces.org

In CSS, you need to use #{resource} so JSF will parse it when loaded with JSF resource loading. See our theme css files for example or user's guide.

50. Resource Loading Problem, Jetspeed2    forum.primefaces.org

>> << nik Posts: 5 Joined: 15 Apr 2011, 11:03 15 Apr 2011, 11:14 by nik Resource Loading Problem, Jetspeed2 Hi community, I have a problem with the example portlet (can ...

51. Resource bundle in Prime faces    coderanch.com