[JBoss JIRA] Created: (RF-1291) <a4j:repeat> doesn't work.
by Sergey Halipov (JIRA)
<a4j:repeat> doesn't work.
--------------------------
Key: RF-1291
URL: http://jira.jboss.com/jira/browse/RF-1291
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: jdk 1.6.0_03
jsf 1.2_05
tomcat 6.0.13
Reporter: Sergey Halipov
Priority: Critical
Fix For: 3.2.0
<a4j:repeat> throws strange exception.
My JSP:
<body>
<f:view>
<h:form>
<a4j:repeat value="#{bean.lists}" var="list" id="repeat">
<h:outputText value="#{list.controlsType}" />
</a4j:repeat>
</h:form>
</f:view>
</body>
I have in main bean:
public List<OrderingListDemoBean> getLists() {
return lists;
}
public void setLists(List<OrderingListDemoBean> lists) {
this.lists = lists;
}
In OrderingListDemoBean class:
public String getControlsType() {
return controlsType;
}
public void setControlsType(String controlsType) {
this.controlsType = controlsType;
}
Stack trace:
Nov 6, 2007 4:20:35 PM com.sun.faces.lifecycle.Phase doPhase
SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /pages/q.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@24226649]
Nov 6, 2007 4:20:35 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
org.apache.jasper.el.JspPropertyNotFoundException: /pages/q.jsp(18,4) '#{list.controlsType}' Property 'controlsType' not found on type java.lang.String
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:104)
at javax.faces.component.UIOutput.getValue(UIOutput.java:184)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:201)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:284)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:154)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:849)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
at org.ajax4jsf.renderkit.html.RepeatRenderer$1.process(RepeatRenderer.java:53)
at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
at org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:994)
at org.ajax4jsf.renderkit.html.RepeatRenderer.encodeChildren(RepeatRenderer.java:59)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:825)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:825)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:256)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:187)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:273)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 6 months
[JBoss JIRA] Created: (RF-2677) Transition sentences
by Svetlana mukhina (JIRA)
Transition sentences
--------------------
Key: RF-2677
URL: http://jira.jboss.com/jira/browse/RF-2677
Project: RichFaces
Issue Type: Task
Components: doc
Affects Versions: 3.1.0
Reporter: Svetlana mukhina
Assigned To: Michael Sorokin
Priority: Optional
Fix For: 3.2.1
It's necessary to write more transition sentences in between chapters (or some section) to summarize the old chapter and introduce the next chapter.
e.g.
"This chapter covers the main functinality of ...
Here we'd like to discuss the result of ...
Now you know how to install ...
The main purpose of this chapter is to tell you about ..."
and so on.
Find more examples in other guides online.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months
[JBoss JIRA] Created: (RF-4428) 3.2.2.CR4: ajaxValidator doesn't find ValidatorMessages.properties
by Juergen Zimmermann (JIRA)
3.2.2.CR4: ajaxValidator doesn't find ValidatorMessages.properties
------------------------------------------------------------------
Key: RF-4428
URL: https://jira.jboss.org/jira/browse/RF-4428
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RF 3.2.2.CR4, JSF 1.2_09, JBoss 4.2.3, Hibernate Validator 3.1.0.CR2, JDK 1.6.0_07
Reporter: Juergen Zimmermann
I have this entity class:
public class Kunde implements java.io.Serializable {
@Column(length=NACHNAME_LENGTH_MAX)
@NotNull(message="{kundenverwaltung.kunde.nachname.notNull}")
@Length(min=NACHNAME_LENGTH_MIN, max=NACHNAME_LENGTH_MAX, message="{kundenverwaltung.kunde.nachname.length}")
@Pattern(regex=NACHNAME_PATTERN, message="{kundenverwaltung.kunde.nachname.pattern}")
@XmlElement(required=true)
protected String nachname = "";
...}
The message keys like kundenverwaltung.kunde.nachname.length are declared in ValidatorMessages.properties and ValidatorMessages_de.properties. Both files are in the root of an EAR file. When doing Hibernate validation within the EJB module (resp. .jar file) there is no problem: the messages are picked up in the right language.
However, when changing an xhtml page to use the new rich:ajaxValidator like the following fragment, then only a message pops up containing the message key, e.g. kundenverwaltung.kunde.nachname.length (see above).
<h:form id="createForm">
<a4j:region>
<h:panelGrid id="panelGrid" columns="3" columnClasses="kundendetailsBezeichner, kundendetailsDaten">
<h:outputLabel value="#{i18n['createEinenKunden.nachname']}" for="nachname"/>
<h:inputText id="nachname"
value="#{kv.neuerFirmenkunde.nachname}"
required="true"
requiredMessage="#{i18n['createEinenKunden.nachname.required']}">
<rich:ajaxValidator event="onblur" reRender="fehlermeldungNachname"/>
</h:inputText>
<rich:message id="fehlermeldungNachname" for="nachname" errorClass="error" showSummary="true" showDetail="true">
<f:facet name="errorMarker">
<h:graphicImage url="/images/error.gif"/>
</f:facet>
</rich:message>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-3493) datascroller: facet pages it is displayed not skins
by Aleksej Yanul (JIRA)
datascroller: facet pages it is displayed not skins
---------------------------------------------------
Key: RF-3493
URL: http://jira.jboss.com/jira/browse/RF-3493
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
Attachments: skin.JPG
<ds:datascroller pagesVar="pages" pageIndexVar="index" onpagechange="return confirm('Do you want to go to: ' + event.memo.page + '?')" page="2" for="master" reRender="actionCount, eventCount" rendered="true" fastStep="2" actionListener="#{testBean.onAction}" renderIfSinglePage="#{testBean.renderIfSinglePage}" scrollerListener="#{testBean.doScroll}" maxPages="#{testBean.maxpage}">
<f:facet name="pages">
<h:outputText value="#{index} / #{pages}" />
</f:facet>
</ds:datascroller>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-4388) pickList: incorrect behavior if "required=true"
by Alexander Dubovsky (JIRA)
pickList: incorrect behavior if "required=true"
-----------------------------------------------
Key: RF-4388
URL: https://jira.jboss.org/jira/browse/RF-4388
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: 3.2.2.CR2
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
# Open page with pickList (source see below)
# Submit page => Required message appears
# Move some item to the right
# Submit page => Required message disappears
# Move all items to the left
# Submit page
Result: items moves to the right, message appears
Items should not move to the right!
Source:
<rich:pickList id="testList" copyAllControlLabel="Add All"
copyControlLabel="Add" listsHeight="90" sourceListWidth="200"
targetListWidth="200" required="true"
requiredMessage="Error input is required.">
<f:selectItem itemLabel="Human Resources" itemValue="1" />
<f:selectItem itemLabel="Product Development" itemValue="2" />
<f:selectItem itemLabel="Marketing" itemValue="3" />
<f:selectItem itemLabel="Sales" itemValue="4" />
</rich:pickList>
<h:commandButton value="submit()" />
<rich:messages></rich:messages>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-4320) Hi All, I have created a suggestionbox using richfaces which consists nationalitylist, but the problem is when I click on any letter only the first one in the is getting selected not the one which am trying to select.
by Samala Swathi (JIRA)
Hi All, I have created a suggestionbox using richfaces which consists nationalitylist, but the problem is when I click on any letter only the first one in the is getting selected not the one which am trying to select.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-4320
URL: https://jira.jboss.org/jira/browse/RF-4320
Project: RichFaces
Issue Type: Bug
Environment: Windows XP
Reporter: Samala Swathi
This is nationality.xhtml
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form id="suggestionbox_form">
<h:inputText value="" id="text" />
<rich:suggestionbox id="suggestionBoxId" for="text"
suggestionAction="#{capitalsBean.autocomplete}" var="result"
fetchValue="#{result.countryName}"
nothingLabel="No capitals found" columnClasses="center">
<h:column>
<h:outputText value="#{result.countryName}" />
</h:column>
</rich:suggestionbox>
</h:form>
</ui:composition>
This is the action class capitalsBean.java
package com.manam.sakana.session;
import java.io.IOException;
import java.io.Serializable;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.faces.FacesException;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.model.SelectItem;
import javax.persistence.EntityManager;
//import org.apache.commons.digester.Digester;
//import org.apache.commons.digester.xmlrules.DigesterLoader;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.xml.sax.SAXException;
import com.manam.sakana.entity.NationalityList;
@Name("capitalsBean")
public class CapitalsBean {
private String nationality;
private ArrayList<NationalityList> nationalityList = new ArrayList<NationalityList>();
@In EntityManager entityManager;
public List autocomplete(Object suggest) {
String pref = (String)suggest;
System.out.println("Received Letters " +pref);
ArrayList<NationalityList> result = new ArrayList();
Iterator iterator = getAllData().iterator();
while (iterator.hasNext()) {
NationalityList elem = ((NationalityList) iterator.next());
if ((elem.getCountryName() != null && elem.getCountryName().toLowerCase().indexOf(pref.toLowerCase()) == 0) || "".equals(pref))
{
result.add(elem);
}
}
return result;
}
public ArrayList<NationalityList> getAllData(){
ArrayList<NationalityList> tempList2 = new ArrayList<NationalityList>();
ArrayList<NationalityList> nationalityList = new ArrayList<NationalityList>();
tempList2 = (ArrayList<NationalityList>)entityManager.createQuery("from NationalityList order by id").getResultList();
if(tempList2!=null)
{
for(NationalityList nationality : tempList2)
{
nationalityList.add(nationality);
}
}
return nationalityList;
}
public String getNationality() {
return nationality;
}
public void setNationality(String nationality) {
this.nationality = nationality;
}
public ArrayList<NationalityList> getNationalityList() {
return nationalityList;
}
public void setNationalityList(ArrayList<NationalityList> nationalityList) {
this.nationalityList = nationalityList;
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-4321) I created suggestion box
by gopi b (JIRA)
I created suggestion box
------------------------
Key: RF-4321
URL: https://jira.jboss.org/jira/browse/RF-4321
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: Seam frame work using Rich faces server Jboss
Reporter: gopi b
Fix For: 3.2.2
I created suggestion box for country(nationality) using rich faces, and seam the problem am facing is "Only the topmost name in the list of the countries is displaying if also I select the country in the list of countries (like If I type "A", countries name starting with 'A' are displaying, at this time only the top most country is selected, If I select any of them).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-3350) Selection doesn't work in modalPanel with FF2
by Paul Andrews (JIRA)
Selection doesn't work in modalPanel with FF2
---------------------------------------------
Key: RF-3350
URL: http://jira.jboss.com/jira/browse/RF-3350
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: Tomcat 5.x, MyFaces 1.1.5.
Reporter: Paul Andrews
If there is an HTML element in a modal panel that requires a selection, it doesn't work in FireFox 2.x unless you drag or resize the modal panel first. It works fine in IE6. Here is a little test page:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>
Modal Test
</title>
</head>
<body>
<f:view>
<rich:calendar id="date" value=""/>
<h:form>
<h:commandLink onclick="Richfaces.showModalPanel('testPanel');return false;" value="Show test panel"/>
</h:form>
<rich:modalPanel id="testPanel">
<f:facet name="header">
<h:outputText value="Test Panel" />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="images/modal/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('testPanel')" />
</f:facet>
<h:form id="fdsdForm">
<h:commandLink onclick="Richfaces.hideModalPanel('testPanel');return false;" value="Hide this panel"/>
<h:selectOneListbox>
<f:selectItem itemValue="One"/>
<f:selectItem itemValue="Two"/>
</h:selectOneListbox>
</h:form>
</rich:modalPanel>
</f:view>
</body>
</html>
Trying to select an item in the list box doesn't work until you have dragged the page. I pored through the JavaScript source but couldn't see anything obviously wrong and all my attempts to fix the issue by simulating a drag from JavaScript failed. A work-around would be great since I get the feeling that work on the 3.1.x branch of RichFaces has ceased.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-2329) Components description improvement
by Svetlana mukhina (JIRA)
Components description improvement
----------------------------------
Key: RF-2329
URL: http://jira.jboss.com/jira/browse/RF-2329
Project: RichFaces
Issue Type: Task
Components: doc
Affects Versions: 3.1.4
Reporter: Svetlana mukhina
Assigned To: Michael Sorokin
Fix For: 3.1.5, 3.2.0
Look through description of the following components:
<rich:dragListener>, <rich:dropListener>, <rich:treeNode>, <rich:changeExpandListener>, <rich:nodeSelectListener>, <rich:recursiveTreeNodesAdaptor>, <rich:treeNodesAdaptor>, <a4j:portlet>.
Try to improve it and unify with other component descriptions (e.g. calendar, tree)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-2735) Error to clear node content by innerHTML when re-rendering
by Nick Belaevski (JIRA)
Error to clear node content by innerHTML when re-rendering
-----------------------------------------------------------
Key: RF-2735
URL: http://jira.jboss.com/jira/browse/RF-2735
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Nick Belaevski
Assigned To: Nick Belaevski
Fix For: 3.2.0
debug[20:56:36,276]: Such element exist in document
debug[20:56:36,289]: Attempt to update part of page for Id: j_id213:output
debug[20:56:36,303]: call selectSingleNode for id= j_id213:output
debug[20:56:36,318]: Replace content of node by outerHTML()
error[20:56:36,333]: Error to clear node content by innerHTML Unknown runtime error
debug[20:56:36,350]: search for elements by name 'script' in element input
debug[20:56:36,364]: selectNodes found 0
debug[20:56:36,379]: Scripts in updated part count : 0
debug[20:56:36,395]: Update part of page for Id: j_id213:output successful
debug[20:56:36,410]: Attempt to update part of page for Id: j_id213:j_id214:29:j_id215
debug[20:56:36,427]: call selectSingleNode for id= j_id213:j_id214:29:j_id215
debug[20:56:36,446]: Replace content of node by outerHTML()
error[20:56:36,461]: Error to clear node content by innerHTML Unknown runtime error
For page:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<p>This tree uses "ajax" switch type, note that for collapse/expand operations it will be Ajax request to the server. You may see short delay in this case.</p><br/>
<h:form>
<h:inputText id="output" />
<rich:tree style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}">
<rich:treeNode type="artist" iconLeaf="/images/tree/singer.gif" icon="/images/tree/singer.gif" reRender="output">
<h:outputText value="1 #{item.name}" />
</rich:treeNode>
<rich:treeNode type="album" iconLeaf="/images/tree/disc.gif" icon="/images/tree/disc.gif">
<h:outputText value="#{item.title}" />
</rich:treeNode>
<rich:treeNode type="song" iconLeaf="/images/tree/song.gif" icon="/images/tree/song.gif">
<h:outputText value="#{item.title}" />
</rich:treeNode>
</rich:tree>
</h:form>
<a4j:log popup="false"></a4j:log>
</ui:composition>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 8 months
[JBoss JIRA] Created: (RF-3427) component control not working on oncomplete event
by Ilya Shaikovsky (JIRA)
component control not working on oncomplete event
-------------------------------------------------
Key: RF-3427
URL: http://jira.jboss.com/jira/browse/RF-3427
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
<a4j:commandButton value="Show Current Selection" reRender="table"
action="#{dataTableScrollerBean.takeSelection}" id="button">
<rich:componentControl attachTo="button" for="panel" event="oncomplete" operation="show" />
</a4j:commandButton>
doesn't works but
<a4j:commandButton value="Show Current Selection" reRender="table"
action="#{dataTableScrollerBean.takeSelection}"
oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-996) aj4:support cannot be used to validate rich:calander.
by Chris Rudd (JIRA)
aj4:support cannot be used to validate rich:calander.
-----------------------------------------------------
Key: RF-996
URL: http://jira.jboss.com/jira/browse/RF-996
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Chris Rudd
The following can be used to valdiate the date entered manually, but there is not a way to validate when the date is "picked"
<rich:calendar value="#{bean.date}" enableManualInput="true">
<a4j:support event="oninputchange" reRender="..."/>
</rich:calendar>
There should be an event that is fired any time the date is changed, reguarless of the input method.
NOTE : ondateselect is not applicable as its not notification that the date was changed, it is allowing a hook to see if the date selection should occur.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-4239) PanelMenu: action is not fired in FF3
by Nick Belaevski (JIRA)
PanelMenu: action is not fired in FF3
-------------------------------------
Key: RF-4239
URL: https://jira.jboss.org/jira/browse/RF-4239
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6, 3.1.5, 3.1.4
Environment: FF3
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: 3.1.x
<rich:panelMenu style="width:200;background-color:#ccddaa" mode="ajax"
iconExpandedGroup="disc" iconCollapsedGroup="disc"
iconExpandedTopGroup="chevronUp"
iconCollapsedTopGroup="triangleDown" >
<rich:panelMenuGroup label="group 1">
<rich:panelMenuItem id="item1" label="item 1" action="#{menu.updateCurrent}">
<f:param name="current" value="Item1_1"/>
</rich:panelMenuItem>
<rich:panelMenuItem id="item2" label="item 2" action="#{menu.updateCurrent}">
<f:param name="current" value="Item1_2"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
</rich:panelMenu>
...
String current;
public String updateCurrent() {
System.out.println("currrent3_1:" + current);
FacesContext context=FacesContext.getCurrentInstance();
current = (String)context.getExternalContext().getRequestParameterMap().get("current");
System.out.println("currrent3_2:" + current);
return current;
}
...
menu item actions do not work in FF3, IE 6/7 are ok
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-4020) a4j:support doesn't work inside tomahawk dataTable
by tbech (JIRA)
a4j:support doesn't work inside tomahawk dataTable
--------------------------------------------------
Key: RF-4020
URL: https://jira.jboss.org/jira/browse/RF-4020
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: tomahawk, myfaces 1.1.5
Reporter: tbech
The a4j:support for the component (selectOneMenu or inputText, etc) in tomahawk dataTable doesn't work. The request to the server is done, but:
- component has binding, however the 'binding' doesn't have submitted value set (so no way to get the value);
- the component in 'rerender' attribute is not rerendered.
Log:
debug[13:33:03,009]: Full response content: <?xml version="1.0"?>
...
<body><select id="content:searchForm:data:myField" name="content:searchForm:data:myField" size="1" class="" onchange="A4J.AJAX.Submit('_viewRoot','content:searchForm',event,{
...
debug[13:33:03,056]: Attempt to update part of page for Id: content:searchForm:data:myField
debug[13:33:03,056]: call getElementById for id= content:searchForm:data:myField
warn[13:33:03,056]: Node for replace by response with id content:searchForm:data:myField not found in document
The problem is, that the name of the component is not well resolved - the missing part is the index. It should be
<body><select id="content:searchForm:data:0:myField" name="content:searchForm:data:0:myField" size="1" class="" onchange="A4J.AJAX.Submit('_viewRoot','content:searchForm',event,{
We have plenty of pages with tomahawk:dataTable, and migration to any other component (for example rich:dataTable) is not possible, however the a4j:support is needed now. I suspect that the same problem is with standard myfaces:dataTable.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-3651) modalPanel: keepVisualState="false" doesn't work for rich component.
by Mikhail Vitenkov (JIRA)
modalPanel: keepVisualState="false" doesn't work for rich component.
--------------------------------------------------------------------
Key: RF-3651
URL: http://jira.jboss.com/jira/browse/RF-3651
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: IE6, IE7, FF, Safari, Opera(3.1.6.CR1)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Set moveable="true" for rich:modalPanel;keepVisualState="false"
Step 2. Navigate to page, contained MP & call it, by clicking on link:
<a onclick="Richfaces.showModalPanel('modalPanelID');" href="#">Show MP</a>
Step 3. Move MP in right lower corner of the browser window.
Step 4. Close MP.
Step 5. Click on link "Show MP" again.
Step 6. Verify position of MP appearence.
Actual behavior:
MP appears in position, which it have before closing(Step 4), but if keepVisualState="false" I expect to see MP in position, defined in left & top attributes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-3824) Ajax reRender break Tomahawk commandButton
by Marine Wacheux (JIRA)
Ajax reRender break Tomahawk commandButton
------------------------------------------
Key: RF-3824
URL: http://jira.jboss.com/jira/browse/RF-3824
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: Windows XP + Firefox 2.0.0.14
Reporter: Marine Wacheux
Fix For: 3.1.x
After reRendering a richPanel that own a tomahawk commandButton, this button dosn't work anymore.
JavaScript error :
f has no properties
a4j_3_1_6.GAorg.ajax4jsf.javascript.AjaxScript - Line 986
Form HTML owning tomahawk button before reRender :
<form enctype="application/x-www-form-urlencoded" action="/gcm-web-patients/faces/jsp/rdv/DevisActeOperatoireSansNav.jsp" method="post" name="body:formActionsGlobales" id="body:formActionsGlobales" target=""><div class="DIV_BOUTONS_CENTRES"><input type="submit" class="BTN_FERMER" title="Fermer" onclick="if(typeof window.clearFormHiddenParams_body_formActionsGlobales!='undefined'){clearFormHiddenParams_body_formActionsGlobales('body:formActionsGlobales');}if(typeof window.getScrolling!='undefined'){oamSetHiddenInput('body:formActionsGlobales','autoScroll',getScrolling());}" value=" " name="body:formActionsGlobales:btnFermer" id="body:formActionsGlobales:btnFermer"/>
<input type="hidden" name="autoScroll"/>
</div><input type="hidden" value="1" name="body:formActionsGlobales_SUBMIT"/><input type="hidden" name="body:formActionsGlobales:_link_hidden_" value=""/><input type="hidden" name="body:formActionsGlobales:_idcl" value=""/><script type="text/javascript"><!--
function clear_body_3AformActionsGlobales()
{
clearFormHiddenParams_body_formActionsGlobales('body:formActionsGlobales');
}
function clearFormHiddenParams_body_formActionsGlobales(currFormName)
{
var f = document.forms['body:formActionsGlobales'];
f.elements['body:formActionsGlobales:_link_hidden_'].value='';
f.elements['body:formActionsGlobales:_idcl'].value='';
f.target='';
}
clearFormHiddenParams_body_formActionsGlobales();
//--></script><input type="hidden" value="8EgC7hvJoXWgMHaUZxk5rx66APlnNueyP32ajDxbvc/i5akMf2jX5WWSSrgXZJhYKzcAAFHyrv86yIYKdwr0uOheIjdsKfp03QYDic7/mAIYaFPjvIjow2OLV06wFNI0" id="javax.faces.ViewState" name="javax.faces.ViewState"/></form>
Form HTML owning tomahawk button after reRender :
<form id="body:formActionsGlobales" name="body:formActionsGlobales" method="post" action="/gcm-web-patients/faces/jsp/rdv/DevisActeOperatoireSansNav.jsp" enctype="application/x-www-form-urlencoded"><div class="DIV_BOUTONS_CENTRES"><input type="submit" id="body:formActionsGlobales:btnFermer" name="body:formActionsGlobales:btnFermer" value=" " onclick="if(typeof window.clearFormHiddenParams_body_formActionsGlobales!='undefined'){clearFormHiddenParams_body_formActionsGlobales('body:formActionsGlobales');}if(typeof window.getScrolling!='undefined'){oamSetHiddenInput('body:formActionsGlobales','autoScroll',getScrolling());}" title="Fermer" class="BTN_FERMER"/> <input type="hidden" name="autoScroll"/></div><input type="hidden" name="body:formActionsGlobales_SUBMIT" value="1"/><input type="hidden" name="body:formActionsGlobales:_link_hidden_"/><input type="hidden" name="body:formActionsGlobales:_idcl"/><script type="text/javascript">//<![CDATA[
function clear_body_3AformActionsGlobales()
{
clearFormHiddenParams_body_formActionsGlobales('body:formActionsGlobales');
}
function clearFormHiddenParams_body_formActionsGlobales(currFormName)
{
var f = document.forms['body:formActionsGlobales'];
f.elements['body:formActionsGlobales:_link_hidden_'].value='';
f.elements['body:formActionsGlobales:_idcl'].value='';
f.target='';
}
clearFormHiddenParams_body_formActionsGlobales();
//
//]]>
</script><span id="org.ajax4jsf.view.state" name="org.ajax4jsf.view.state"/></form>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-3652) simpleTooglePanel: component's content isn't fit to boarders in case size changing(height & width)
by Mikhail Vitenkov (JIRA)
simpleTooglePanel: component's content isn't fit to boarders in case size changing(height & width)
--------------------------------------------------------------------------------------------------
Key: RF-3652
URL: http://jira.jboss.com/jira/browse/RF-3652
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: IE6(special case), IE7, FF, Opera, Safari(3.1.6.CR1)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Navigate to test application page for rich:simpleTooglePanel. - several panel inside each other should appear.
Step 2. Open all simpleTooglePanels by click on it's header.
Step 3. Run beta test 1: height: 80px; width: 300px.
Step 4. Verify style of simpleTooglePanel component's content displaying.
Actual behavior:
For all browsers except IE6 content isn't fit to panel.
For IE6 component's header don't take whole width of simpleTooglePanel.
For more info see attached screenshots.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-3091) TogglePanel
by Aleksej Yanul (JIRA)
TogglePanel
-----------
Key: RF-3091
URL: http://jira.jboss.com/jira/browse/RF-3091
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
1. Open togglepanel
2. Press in heading Next, Next
3. Select ajax
4. Press in heading Next, Next
//
java.lang.NullPointerException
org.richfaces.component.UISwitchablePanel.broadcast(UISwitchablePanel.java:123)
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:309)
com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months
[JBoss JIRA] Created: (RF-3644) suggestionBox: incorrect view & functionality of component under Opera 9.27
by Mikhail Vitenkov (JIRA)
suggestionBox: incorrect view & functionality of component under Opera 9.27
---------------------------------------------------------------------------
Key: RF-3644
URL: http://jira.jboss.com/jira/browse/RF-3644
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: Opera(3.1.6.CR1)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Priority: Critical
Step 1. Navigate to page, contained suggestionBox rich component.
Step 2. Enter 'a' character into the component's input box.
Step 3. Verify style displaying of selected item.
Step 4. Verify style displaying of items with long name(name > component's width).
Step 5. Verify verticall & horizontall scroll presence.
Actual behavior:
Selected item area is more than suggestion boxe's pop up list width.
Item with long name is out of the boarders.
Selection of the last items in list is impossible, because of scrolls absent.
For more information see attached screenshot.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 9 months