richfaces

rich:autocomplete breaks style of the page

余生长醉 提交于 2019-12-11 19:27:55
问题 I've been implementing address autocompletion for our project which uses RichFaces 4.3.0.Final. I've used rich:autocomplete tag. Autocomplete works fine, but style of our page breaks. Here's how our fields looks like without rich:autocomplete : And here's how it looks with tag in place: Here's HTML generated by RichFaces for h:inputText : <span id="manualEligibilityCheck:zipWrapper"> <span id="manualEligibilityCheck:j_idt111"> <script id="manualEligibilityCheck:j_idt111Script" type="text

Richfaces theme issue and datatable style class issue

醉酒当歌 提交于 2019-12-11 19:07:42
问题 I am using RichFaces 3.1.6 for an old project with JSF 1.1 Are there any Richfaces themes exists for 3.1.6 version? Because when I add themes-3.3.3.Final.jar my application doesn't work, however if I remove the jar from my classpath, then application works fine. I have the following in JSF page <rich:dataTable width="100%" id="dataemp" columnClasses="colClass" value="#{test.beanValues}" var="emp"> <rich:column> <f:facet name="header">Employee Number</f:facet> <h:outputText value="#{emp

Invoke Rich Modal Panel Onclick

天涯浪子 提交于 2019-12-11 17:22:50
问题 I am using the following code for displaying dynamic image in rich DataTable. Onclick of the thumbnail I need to display Full Image fetched from different location. But the second a4j:mediaOutput tag is fetching all the Full images and keeping in memory. (Ofcourse modalPanel is displayed on click only ) I want the second a4j:mediaOutput tag to call daImageRetrievalBean.retrieveFullImage only after click. Please help. 回答1: <h:outputLink value="#" id="link"> <a4j:mediaOutput element="img"

Rich:Columns - FilterBy

会有一股神秘感。 提交于 2019-12-11 17:16:34
问题 Good morning!! I have a dynamic datatable and I'm using Columns of Richfaces, but when I assign the value to FilterBy, it does not work. Can anyone help me? Woe is my code .. <rich:dataTable id="dtAtendimento" value="#{CadastroAtendimentoTecnico.listaAtendimento}" var="atendimento"> <rich:columns index="index" value="#{CadastroAtendimentoTecnico.listaCampos}" var="column" filterBy="#{column.nomeAtributo}" filterEvent="onKeyUp"> <f:facet name="header"> <h:outputText value="#{column.label}"/> <

@ManagedProperty + @PostConstruct + init() = Nullpointer

人盡茶涼 提交于 2019-12-11 16:22:11
问题 Im getting a Nullpointer exception when using a managedProperty in my @PostConstruct - init() method as follows: package mx.com.clubjava.pexapp.view.bean; import java.io.Serializable; import java.util.List; import javax.annotation.PostConstruct; import javax.faces.bean.ManagedBean; import javax.faces.bean.ManagedProperty; import javax.faces.bean.ViewScoped; import mx.com.clubjava.pexapp.model.domain.Estado; import mx.com.clubjava.pexapp.model.service.EstadoFacade; @ManagedBean(name =

Richfaces fileuploader nullpointer firefox

喜欢而已 提交于 2019-12-11 15:42:45
问题 With the introduction of Firefox 62 my existing RichFaces fileuploader is suddenly throwing null pointers upon trying to decode the uploaded file. This is using Richfaces 3.3.3 on a JBoss 5.1 environment. I've tried uploading different image types to no avail. It's also to be noted that this issue only occurs on Firefox 62 and later all other browsers are working fine. Stacktrace: Caused by: java.lang.NullPointerException at org.richfaces.renderkit.FileUploadRendererBase.doDecode

RichFaces 4 fileupload clear and clear all buttons

a 夏天 提交于 2019-12-11 13:43:54
问题 Well currently I have this: <rich:fileUpload addLabel="Agregar" clearAllLabel="Quitar todos" clearLabel="Quitar" deleteLabel="Quitar" doneLabel="Completado" uploadLabel="Subir archivos" fileUploadListener="#{uploadBean.doUpload}" acceptedTypes="txt, csv" noDuplicate="true"> <a4j:ajax event="uploadcomplete" render="validationButton"/> <a4j:ajax event="clear" listener="#{uploadBean.doClearFilesList}" render="validationButton"/> </rich:fileUpload> On the backing bean I have a list of the files

JSF Extended Datatable Sorting and Filtering

余生长醉 提交于 2019-12-11 13:34:00
问题 I have a extended datatable, RICHFACES 3.3.3 with sorting and filtering enabled. The table is rendered dynamically. Based on the requirement, I need to disable certain rows(which contain editable fields) when the table is displayed. I have that logic written in a Javascript function rowBlur() , and call it whenever the page is displayed. Hence, when the table is loaded the required rows are disabled as expected. The problem is whenever I filter/sort the table, the disabled rows get enabled

<a4j:loadScript> for Loading JQuery Script Throwing Exception

为君一笑 提交于 2019-12-11 13:04:29
问题 I am trying to use JQuery in my JSF page embedded with RF3.3.1.. Here is my code snippet:- <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <html> <head>

JSF 2.0 - Richfaces ViewExpiredException

倾然丶 夕夏残阳落幕 提交于 2019-12-11 11:27:47
问题 Sometimes, when I interact with some component of richfaces (eg: clicking a a4j:commandbutton) I get an exception of type ViewExpiredException. If I make an interaction during ajax requests (eg: while the screen is loading) the error ALWAYS happens. Ps 1: the server was not restarted Ps 2: I'm using myfaces 2.1.8. Exception: 09:03:49,385 ERROR [br.com.enterprise.enterprisex.faces.common.EnterpriseExceptionHandler] EnterpriseExceptionHandler.handle: javax.faces.application.ViewExpiredException