richfaces 2 « RichFaces « JSF Q&A





1. Rich Faces 4.0 With jsf2.0    stackoverflow.com

I am making web app using JSF 2.0 and Rich Faces 4.0 I want to know what should be minimum- entry in Web.xml and faces config.xml so that application will run successfully ...

2. New Line character in FacesMessage Jsf    stackoverflow.com

I wants to display the error message like, "The following headers not avail

1.Name
2.Roll no
How can i show this using faces message in jsf?Please help me.

3. annotated ManagedBean in Richfaces?    stackoverflow.com

I'm new to richfaces and I want to support a bean class using annotation instead of xml configuration [just like JSF 2.0] I'm using richfaces 4.0 and included all required jars ...

4. HTTP 404 While Deploying a Basic Web App    stackoverflow.com

I'm trying to learn the basics of RichFaces with basic tutorials over the internet. I'm Using this Development Environment:

  1. Eclipse Helios Service Release 2 (Build Id: 20110218-0911)
  2. Glassfish Open Source Edition 3.1 (Plugin ...

5. rich faces server switch type    stackoverflow.com

Rich tab panel has a server switch mode, when using this mode what is goings on ,that is if i put a form in each tab i expect only this form ...

6. Running jsf managed bean method from javascript    stackoverflow.com

I'm pretty new in JS and faced an issue of using managed bean from javascript. I'm trying to do this by means of h:inputHidden but still don't have a correct behavior.

<h:inputHidden id="hidden" ...

7. java.lang.OutOfMemoryError: PermGen space    stackoverflow.com

How can I prevent this?

Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-2" java.lang.OutOfMemoryError: PermGen space
It's happening for example if I reloading datatable page ...

8. Automatic logout in a given time    stackoverflow.com

I can logout user after defined time of inactivity.

<session-timeout>240</session-timeout> 
But, is there some way to logout in specified time, or better, for example until 5 minutes of inactivity after specified time..? Solution ...

9. JSF/JAVA boolean switchers (private for JSF, public static for Beans)    stackoverflow.com

I'm using boolean switchers to resolve a choosed behaviour of application, for example SAVEACCEPTED enables SAVE button of form.

<h:commandButton action="#{bean.save}" disabled="#{!bean.saveaccepted}">
JSF need private boolean and its getters and setters, but ...





10. @ManagedProperty in backing bean - setting getters and setters    stackoverflow.com

According this article, I've implemented @ManagedProperty(value="#{settings}") to my backing bean: BEAN Bde.java:

@Entity
@Table(name="bdeDATA")
@ViewScoped
@ManagedBean(name="BDE")
public class Bde implements Serializable
{
  /**/
  private static final long serialVersionUID = -705775502999920673L;

  @Transient
  @ManagedProperty(value = ...

11. javascript array and jsf/richfaces    stackoverflow.com

I have the following code in javascript:

        <script type="text/javascript"
            src="#{facesContext.externalContext.requestContextPath}/js/sample-points.js"></script>

    ...

12. Issue setting up richfaes 4    stackoverflow.com

i have been working on richfaces 3.3.3 for past 6 moths, and after seeing few components in RF 4, i thought to upgrade it to 4. My project is well set ...

13. Richfaces: problem with facesconfig    stackoverflow.com

i started working with RichFaces to decorate my page and I succeeded to create menu but when I added facesconfig to define the rules of navigation when I compile my page an error ...

14. Displaying dateTime values with client time zone in JSF    stackoverflow.com

I have following code:

<h:outputText value="#{myDataBean.date}">
    <f:convertDateTime type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
How can I display this dateTime element with client time zone in JSF (Richfaces)? I guess I should use ...

15. Can't set bean property in JSF when using richfaces list    stackoverflow.com

I have the following button that works fine:

<a4j:commandButton value="A000001" render="caseDetailsPane">
    <a4j:param value="A000001" assignTo="#{myCasesService.selectedCustomerNumber}" />
</a4j:commandButton>
When I click it, it sets the property on my bean correctly. However if I take ...

16. JSf2 sending ajax requests to the server of indididual input elements    stackoverflow.com

I have a dynamic set of input items that I create on the page load. I need to trigger an ajax request when each of these text boxes change its value. ...





17. Hosting JSF/Richfaces application and RAM problem    stackoverflow.com

I have developed a JSF/Richfaces application and hosted it on a VPS having 2 GB RAm and Ubuntu 10 OS. The problem is, after every 2 -4 hours, memory drains up, ...

18. JSF2 f:ajax ajax requests without query string?    stackoverflow.com

Right now on each f:ajax (or a4j:ajax) request I'm making, the POST includes the query string which I don't want. Is there a way to not have it pass them ...

19. How to integrate a time picker in Richfaces and bind it to a jsf managed bean    stackoverflow.com

Could you please explain me how to integrate a time picker component into my JSF/Richfaces web app, and bind its value to a managed bean? I know the rich:calendar component comes out ...

20. Richfaces and chart    stackoverflow.com

One big piece missing on richfaces is a chart support. In my case what I need is a simple bar chart, with no interactivity to put into a jsf (richfaces 3) ...

21. JSF + rich:fileupload + param    stackoverflow.com

I am using <rich:fileupload> and I need to send some extra parameters to my Controller. I tried to use <f:param> for this. Here is the view:

<rich:fileUpload 
    fileUploadListener="#{fileUploadController.listener}"
  ...

22. HtmlDataTable in Richfaces 4    stackoverflow.com

I'm getting the following message after upgrading all my jars to Richfaces 4.

The import org.richfaces.component.html.HtmlDataTable cannot be resolved
For this import:
import org.richfaces.component.html.HtmlDataTable;

Would I be correct in saying I need to use ...

23. Richfaces 4 UIDataScroller equivalent of setHandleValue    stackoverflow.com

Another Richfaces 4 question! It seems rather difficult to get answers from the JBoss Richfaces community. I have the following from 3.3:

HTMLDataScroller scroller = (HTMLDataScroller) component1;
scroller.setHandleValue("0");

And have updated it to 4:
UIDataScroller scroller = ...

24. Basic ajax functionality in RichFaces    stackoverflow.com

I have a lot of trouble finding proper, full examples on how to send values using Ajax when some event happens on the client side. A basic example could be a list ...

25. Rich javascript function findComponent    stackoverflow.com

I am trying to add a dynamic onclick event using rich:findComponent as:

<font class="topFirstTablehdCategory2" style="font-size: 12px; cursor: pointer;" onclick="#{rich:findComponent('benchmarkEndDate').value = channelPerformanceController.resetDate}">
    RESET
</font>
But I am getting
com.sun.el.parser.ParseException: Encountered "=" at line ...

26. javax.el.ELException: Function 'rich:component' not found    stackoverflow.com

I am creating the model in backing bean. My java lines of code are like this

UIColumn column = new HtmlColumn();
    dynamicDataTable.getChildren().add(column);

    UIAjaxCommandLink editLink = new HtmlAjaxCommandLink();

 ...

27. Serving javascript/jsf resources from a jsf app    stackoverflow.com

I have a "/js/ajax-error.js" file that I would to serve in a "richfaces way" as follows: "/js/ajax-error.js.jsf" so that I use that kind of jsf variables in my js file: "#{facesContext.externalContext.requestContextPath}". Is ...

28. Undefined javascript with richfaces    stackoverflow.com

wonder if you can help me. For some reason, I am getting javascript errors for my richface components, and this has seemed to have happened without any changes to the ...

29. Problem creating RichFaces page theme    stackoverflow.com

I'm trying to create a RichFaces page theme using the instructions here. I know NOTHING about Maven, so I've followed the instructions as best I can, but I've ...

30.  doesn't update model values on second run?    stackoverflow.com

I have the following in a JSF 2.0 page:

<rich:column styleClass="tbl-weight" id="weight">
                    ...

31. JSF2/Richfaces4 not loading contents of .ecss files    stackoverflow.com

I'm upgrading to Richfaces 4 and the Sun implementation of JSF2 (2.0.6) from Richfaces 3.3 and JSF 1.2. My css files are under 'WebContent/resources/css'. When pages get rendered, all .css files get loaded ...

32. Adding dynamic textboxes on click    stackoverflow.com

I am using JSF 2.0 and RichFaces 3.3.0. I want that when user click on a small add icon one textbox should be added. He will enter the value and if ...

33. JSF 2.0 with Richface 4.0 not rerendering component    stackoverflow.com

Do you have any idea why this part of code isn't working: View:

<a4j:commandButton value="#{labels.comments}" 
    action="#{reservation.displayComments}" 
    render="dataComments" />

<h:panelGroup id="dataComments" rendered="#{reservation.showComments}" >
    ...
<h:panelGroup/>
Bean:
 ...

34. Property 'xxxxxx' not found on type org.richfaces.component.UIRepeat    stackoverflow.com

I'm upgrading from JSF 1.2 to JSF 2 and Richfaces 3.3 to 4. I've tried various version of JSF2 (2.02, 2.06, etc) and all give the same error. I'm getting the following error ...

35. JSF 2 + RichFaces - problem with setting the variable in managed bean    stackoverflow.com

I have the following code and the commandLink on each row should pass username to the bean but it passes null. Why is that? The DataProviderBean is SessionScoped.

<h:form>
  ...

36. What are the target drop zones in rich:dragSupport?    stackoverflow.com

Can somebody give me a list of values drop zones?

37. How to work with c:foreach and other fields after it?    stackoverflow.com

My problem is that in my home page, I get the variable capacidade perfectly. Then I have that c:forEach there and the other field named "nome". When I try to persist, then I ...

38. How to mix annotations with faces-config.xml    stackoverflow.com

Using JBoss 6.0.0.Final, Richfaces 3.3.3.Final, MyFaces 2.0.6, facelets 1.1.15.B1 (a limitation of RF 3). I'm on a legacy project which contains hundreds of beans defined in faces-config.xml. I'd like to keep those ...

39. How to show a component by the controller?    stackoverflow.com

I need to register an user and after that I would like to call a <rich:popupPanel> for example to show the error or successful message with an icon.

<rich:popupPanel id="popup" ...

40. How to use the Java script in JSF?    stackoverflow.com

I'm trying to use:

<script type="text/javascript">
      function myfunc() {
         var param = 4;
       ...

41. Richfaces 4 rich:inputNumberSpinner: not getting "set" in backing bean    stackoverflow.com

I have done JSF work before, but am new to RichFaces. To test my set up and environment, etc. I have tried to make just a simple little app ...

42. How can I navigate to a different page when user clicks a row?    stackoverflow.com

I want to be able to navigate to a different page when user clicks are row.
Problems

  • No error is thrown I can see the selectionListener getting executed with expected row value but ...

43. Why is richfaces demo code setting RowKey to null and why do we need it?    stackoverflow.com

Please see the code below taken from

public void selectionListener(AjaxBehaviorEvent event) {
        UIExtendedDataTable dataTable = (UIExtendedDataTable) event.getComponent();
      ...

44. Conditional Mandatory fields in Richfaces    stackoverflow.com

I am using Richfaces 3.3.3 for my application. I am not sure how to achieve conditional mandatory check in rich faces. Below is my scenario: I have 3 text boxes input1,input2,input3 as ...

45. RichFaces4 startup fails with java.lang.IllegalArgumentException: duplicate key: class javax.faces.convert.DoubleConverter    stackoverflow.com

This seems not be not a simple task with RichFaces4 without Maven, I download myfaces-2.0.9 jars and richfaces 4.0.0 and added sac-1.3.jar, guava-r08.jar and cssparser-0.9.5.jar. The environment I am working is Tomcat ...

46. Richfaces ordering list -edit Operation    stackoverflow.com

I have tried to edit the rich:ordering list details.But i cannot update the details.The rich:ordeing list always hold the initail values. I have the rich ordering list and the i have treid ...

47. Can't get Richfaces 4.0.0 + JSF 2.0.3 to work    stackoverflow.com

I've included JSF(mojjara, 2.0.3) and Richfaces(4.0.0) jars along with guava.jar, sac.jar and cssparser.jar The page rendered shows no errors. All the JSF components work fine but the rich-components wouldn't show up on ...

48. InplaceSelect for Objects not Strings    stackoverflow.com

Form

 <h:inputText value="#{BackingBean.firstString}" />
 <h:inputText value="#{BackingBean.secondString}" />
 <rich:inplaceSelect value="#{BackingBean.myText}" defaultLabel="select">
  <f:selectItems value="#{???}" />
 </rich:inplaceSelect>

BackingBean

private List<MyText> myText;
private String firstString;
private String secondString;

MyText

private String id
private String desc
private String text
I want to select one ...

49. onchange="#{rich:component('ds')}.switchToPage(this.value)"> in richfaces    stackoverflow.com

I want to add a event handler after the switchToPage is finished. I tried onchange="#{rich:component('ds')}.switchToPage(this.value);formatAllRec();"> but the problem is, formatAllRec will execute before switchToPage is actually finished. How can I add a event handler and ...

50. JSF Siteminder logout    stackoverflow.com

Environment

  • Richfaces 3.3.3
  • JSF 1.2
  • Siteminder

Requirement

User enters the required application address. Siteminder intercepts and asks for username and password. Client provides with credentials. Clients uses application and clicks on logout/exit button. Application destroys sessions ...

51. JSF error "Expected a child component type ... Found null."    stackoverflow.com

When using the <a4j:support> like described in the RichFaces example I'm always getting the following error when changing the value of the drop-down-box.

Expected a child component type ...

52. How could I remove the first line of in JSF?    stackoverflow.com

I am using JSF, and all toturial has first line in the *.xhtml similar as follows:

<?xml version="1.0" encoding="UTF-8"?>
however, sometimes Richface generated JavaScript content is not wrapped in CDATA, which cause firefox ...

53. open source jsf 2 richfaces 4 based application that employs good practices    stackoverflow.com

I'm trying to learn jsf 2 and richfaces 4 and I was thinking you guys may know a really good jsf 2 richfaces 4 based open source application that I could ...

54. Ajax-enabled confirm in richfaces?    stackoverflow.com

I need some help with richfaces. Here's what I need to do in pseudocode:

//user clicked on a <h:selectBooleanCheckbox/>
if(!checkbox.checked) {
    ajax_call_method0_on_bean
    return
}
else {
    ...

55. maxIntegerDigits of jsf convertNumber    stackoverflow.com

I've got strange problem with <f:convertNumber>. When i set maxIntegerDigits to 15 and enter, say, 16 of "1"s, i get correct number with fifteen "1"s, but if i enter 20 of ...

56. How reload a page by checking/unchecking a selectBooleanCheckbox?    stackoverflow.com

how can I make a page reload (and the model values updated) by checking/unchecking a selectBooleanCheckbox? @Ellie: I tried both <a4j:ajax event="click" action="doiListView"/> and <f:ajax event="click" action="doiListView"/>, but nothing happens. The (piece ...

57. Rich vs Prime    community.jboss.org

Richfaces on the other hand are so well written and designed (architecture). However they are harder to use. I.e. try adding fade effect to panel in Prime and in Rich. Richfaces ...

58. Schedule    community.jboss.org

It allows eager and lazy loading (pagination). To do lazy loading of calendar events JS component must be provided with URL from where it will receive JSON formatted event list (it ...

59. Suggestion for component id addressing    community.jboss.org

While watching Jay's talk at JBossWorld on RichFaces, I had an idea for what I think is a cleaner way of doing dynamic component id addressing.

60. Roadmap and planning for RichFaces 4.1    community.jboss.org

Things are bit crazy around here getting ready for JBoss World, and JUDCon in Boston, so we have not had time to get the roadmap nailed down and posted yet.

61. Sandbox migration to Git    community.jboss.org

62. JSF Mockito    community.jboss.org

63. 10/18/2011 RichFaces Team meeting time change    community.jboss.org

64. Starting release process for 4.1.0.M4    community.jboss.org

65. Starting release process for 4.1.0.CR1    community.jboss.org

The release process for 4.1.0.CR1 is about to begin. Further commits into develop branch will not be considered in release.

66. Third-party dependencies in non-maven based projects    community.jboss.org

The question is if we should add only mandatory dependencies, or optional too and if it's necessary to add dependencies for servlet containers (as oppose to application servers).

67. 2011-11-29 Meeting delayed by one hour    community.jboss.org

Due to a conflict with another meeting, tomorrow's meeting has been delayed by one hour. It will start a 8:00 AM PST (11:00 AM EST).

68. RF 4.1 onbeforetoggle issue    community.jboss.org

69. Starting release process for 4.1.0.CR2    community.jboss.org

70. Roadmap and Planning for RichFaces 4.2 and beyond    community.jboss.org

With our 4.1.0.Final release at hand, its time to discuss what we want to do with RichFaces 4.2, and beyond. 4.1 addressed rounding out the 4.0 effort of migrating the ...

71. RichFaces styles and script ordering    community.jboss.org

I know that RF 4 page size is quite perfect, but I would like to hear your opinion about this (the message in the attached), can this increase RF page loading ...

72. how the check xmlparser order in 4.1    community.jboss.org

73. RF 4.1.0.Final dropped IE 7 Support    community.jboss.org

I dont't understand - why should this be a major bug? Since IE 7 is an old browser - a quite annoying one, too. I don't see, in your posted ...

74. rounded corner support out of the box    community.jboss.org

IMO since rounded corners have just an aesthetic usefulness (and not a functionnal one) a good compromise would be to just use CSS 3 styles (and modern browser equivalent ones) and ...

75. Docs migration to Git    community.jboss.org

76. RF 4.1.0.Final - javascript error when resource mapping enabled    community.jboss.org

I have an a4j:commandLink that just toggles a bean property (using setPropertyActionListener) and rerenders some content. When resource mapping is enabled I get the following errors when I click the button: ...

77. What happened to support on this Forum?    community.jboss.org

There was a time when we had the Richfaces developers answering questions on this Forum. That no longer seems to be the case. I realize they were not obligated to do ...

78. 2011-12-27 Meeting Cancelled    community.jboss.org

Given the significant amount of folks who will be taking time of before the New Year, we'll cancel the Team meeting for Dec. 27th.

79. Which Version of Mojarra for RF v 4.1.0-Final?    community.jboss.org

Is there a page on the RichFaces site documenting the versions of external components (especially Mojarra), on which v4.1.0 has been built/tested?

80. How to customize the Skin in richfaces    community.jboss.org

Can you please give me a link from where I can download a wroking exmaple to see the difference in my code and debug the things.

81. How to Build RichFaces 4.0    community.jboss.org

These instructions will walk through how to build the 4.0 version of the RichFaces project using the /trunk for the examples. These same instructions could also be used to build ...

82. Introduction to RF 4.1 Pre-Processed Resource Dependencies    community.jboss.org

The second problem brings RichFaces itself, since some of resources (ECSS, generated images) are generated in runtime, which can be restricted in certain runtime environments (Google App Engine), RichFaces wouldn't be ...

83. RichFaces 4.0 Build & Directory Structure    community.jboss.org

When components, examples, or other items are in prototyping, or early development they are placed into the /sandbox directory following the structure shown below. TODO: link to sandbox process documents ...

85. RichFaces CDK How To's    community.jboss.org

86. Workaround for LOAD_NONE resource loading strategy in RichFaces 4.1    community.jboss.org

/* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * ...

87. Rich Faces Input Number Slider    coderanch.com

89. FacesTrace and Richfaces?    coderanch.com

90. Rich Faces and RSA 7.0    coderanch.com

91. problem in using richfaces    coderanch.com

dear every body . i have this problem when use richfaces framework . when request first page (index.jsf) i get this error : 02/07/2008 03:39:57 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception java.lang.IllegalArgumentException: Parameter "size" for convert from HTML to java can not be decoded: [11px], reason: Unparseable number: "11px" at org.ajax4jsf.util.HtmlDimensions.decode(HtmlDimensions.java:65) at org.richfaces.renderkit.html.images.BaseControlBackgroundImage.getHeight(BaseControlBackgroundImage.java:113) at org.richfaces.renderkit.html.images.BaseControlBackgroundImage.getHeight(BaseControlBackgroundImage.java:120) at ...

92. RichFaces, where is the source?    coderanch.com

93. Waiting window in JSF/Richfaces/Ajax    coderanch.com

94. Richfaces rich:listshuffle question    coderanch.com

Hello All, I am currently trying to get this component to work, but am having problems with the oncopyclick event in the a4j:support tag. ****************** CODE SAMPLE *********************** ****************** CODE SAMPLE *********************** My issue at this point, is that my copyCheck method ...

95. JSF & RichFaces Problem    coderanch.com

97. Richfaces Deployment error    coderanch.com

I have deployed Richfaces 3.2.x and wanted to use InplaceInput. I am facing a problem as follows when i start the server java.lang.NoClassDefFoundError: org/richfaces/component/UIPanelMenuGroup I have the following jars in my web-inf/lib axis2-1.2.jar commons-beanutils-1.7.0.jar commons-collections-3.2.jar commons-digester-1.8.jar commons-logging-1.0.4.jar core-3.2.1.GA.jar el-api.jar el-ri.jar el.jar jhighlight-1.0.jar jsf-api.jar jsf-facelets-1.1.14.jar jsf-impl.jar jstl.jar richfaces-api-3.2.1.GA.jar richfaces-impl-3.2.1.GA.jar richfaces-ui-3.2.1.GA.jar standard.jar xercesImpl-2.8.1.jar the jsf jars are of size : jsf-api.jar(356k), jsf-impl.jar (680k). ...

99. Richfaces 3.2.2    coderanch.com

100. richfaces-3.2.2.SR1.jar    coderanch.com