[JBoss JIRA] Created: (RF-5453) SuggestionBox: some cosmetic in richfaces-demo.
by Alexander Dubovsky (JIRA)
SuggestionBox: some cosmetic in richfaces-demo.
-----------------------------------------------
Key: RF-5453
URL: https://jira.jboss.org/jira/browse/RF-5453
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA5, richfaces-demo
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Trivial
Attachments: 30.png
1)
# Open "Objects usage example" for SuggestionBox under Safari.
# Click arrow => suggestion pop up appears, the 1th line is selected
# Click arrow again
Result: the second line become selected and only after that pop up is closed
2)
# Open "Objects usage example" for SuggestionBox under Safari.
# Check arrow near suggestion input
Result: see screen shot. It should be aligned with input.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4605) onsubmit on a4j:support causes wrong form not found js error
by Ilya Shaikovsky (JIRA)
onsubmit on a4j:support causes wrong form not found js error
------------------------------------------------------------
Key: RF-4605
URL: https://jira.jboss.org/jira/browse/RF-4605
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Fix For: 3.3.0
this works fine
<h:form>
<rich:panel style="width:220px;">
<f:facet name="header">
<h:outputText value="Person Info"/>
</f:facet>
<h:panelGrid columns="2">
<h:outputText value="Name: "/>
<rich:inplaceInput defaultLabel="click to enter your name"
showControls="true"/>
<h:outputText value="Email:"/>
<rich:inplaceInput defaultLabel="click to enter your email"
showControls="true">
<a4j:support event="onviewactivated"></a4j:support>
</rich:inplaceInput>
</h:panelGrid>
</rich:panel>
</h:form>
and this does not
<h:form>
<rich:panel style="width:220px;">
<f:facet name="header">
<h:outputText value="Person Info"/>
</f:facet>
<h:panelGrid columns="2">
<h:outputText value="Name: "/>
<rich:inplaceInput defaultLabel="click to enter your name"
showControls="true"/>
<h:outputText value="Email:"/>
<rich:inplaceInput defaultLabel="click to enter your email"
showControls="true">
<a4j:support event="onviewactivated" onsubmit="if (event.memo.oldvalue!=event.memo.nevalue) return false;"></a4j:support>
</rich:inplaceInput>
</h:panelGrid>
</rich:panel>
</h:form>
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-3619) org.ajax4jsf.webapp.WebXml doesn't respect namespaces within the web.xml
by Gena Batalski (JIRA)
org.ajax4jsf.webapp.WebXml doesn't respect namespaces within the web.xml
------------------------------------------------------------------------
Key: RF-3619
URL: http://jira.jboss.com/jira/browse/RF-3619
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0, 3.2.0.SR1, 3.2.1, 3.2.2
Environment: richfaces from SVN, SAP Netweaver CE 7.1 JEE
Reporter: Gena Batalski
Hello,
the SAP deployer checks the web.xml for errors and enriches the file with xml namespaces. The deployed file is also correct, but it can not be correctly recognised by org.ajax4jsf.webapp.WebXml. The line
dig.setNamespaceAware(false)
in init(..) method of WebXml prevents richfaces from correct parsing of web.xml in this case. I think, it could be possible to parse both flavour of web.xml, with and without namespaces, also if the usage of namespaced version is unusual.
Setting dig.setNamespaceAware(true) resolved the problem but i didn't test it on a web.xml without namespaces.
Gena
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-961) Drag'n Drop: dragValue is null, when dragging across different regions
by Maksim Kaszynski (JIRA)
Drag'n Drop: dragValue is null, when dragging across different regions
----------------------------------------------------------------------
Key: RF-961
URL: http://jira.jboss.com/jira/browse/RF-961
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Maksim Kaszynski
Assigned To: Maksim Kaszynski
Fix For: 3.2.0
On the following page, dragValue is null.
In terms of JSF concepts, everything is correct - other regions just don't get processed.
maybe, we should hack it in some way.
<%@ 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://labs.jboss.com/jbossrichfaces/ui/drag-drop" prefix="rich"%>
<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/panel" prefix="p"%>
<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/dataTable" prefix="t"%>
<html>
<head>
</head>
<body>
<f:view>
<center><rich:dragIndicator id="indicator"></rich:dragIndicator>
<h:form>
<h:panelGrid styleClass="generalTable">
<a4j:region>
<p:panel>
<t:dataTable id="iItems" value="#{PjCreationDataBean.initItems}" var="item">
<t:column>
<a4j:outputPanel style="border:1px;">
<rich:dragSupport dragType="item" dragIndicator=":indicator"
dragValue="#{item}">
<rich:dndParam name="label" value="#{item.item}" />
</rich:dragSupport>
<h:outputText value="#{item.item}" />
</a4j:outputPanel>
</t:column>
</t:dataTable>
</p:panel>
</a4j:region>
<a4j:region>
<p:panel>
<rich:dropSupport acceptedTypes="item"
dropListener="#{WeaponDropListener.processDrop}"
dropValue="#{PjCreationDataBean.selectedItems}" reRender="sItems">
</rich:dropSupport>
<t:dataTable id="sItems"
value="#{PjCreationDataBean.selectedItems}" var="item">
<t:column>
<a4j:outputPanel style="border:1px;">
<h:outputText value="#{item.item}" />
</a4j:outputPanel>
</t:column>
</t:dataTable>
</p:panel>
</a4j:region>
</h:panelGrid>
<center>
</h:form>
</f:view>
</body>
</html>
public class WeaponDropListener implements DropListener{
public void processDrop(DropEvent event) {
Dropzone dropZone = (Dropzone) event.getComponent();
ArrayList<InitItem> selected = (ArrayList) dropZone.getDropValue();
System.err.print(selected.size());
Object ob = event.getDragValue();
System.out.println("DragValue " + event.getDragValue());
System.out.println("DropValue " + event.getDropValue());
if(ob == null)
System.err.print("objeto nulo");
selected.add((InitItem) event.getDragValue());
}
}
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4520) OrderingList causes a "invalid value expression"
by wert wert (JIRA)
OrderingList causes a "invalid value expression"
------------------------------------------------
Key: RF-4520
URL: https://jira.jboss.org/jira/browse/RF-4520
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Windows XP SP2, Vista SP1, Eclipse 3.3 (Europe), Sun JDK 1.5.015, IBM JVM (WebSphere 6.1)
Reporter: wert wert
ManagedBean contains List of Objects
- Rendering: IO
- Extend with a4j:support works on client side
- server side a "invalid value expression" is produced
Affected class: UIOrderingBaseComponent
Affected method: isSuitableValue(Object value, Object restoredObject) (Line: 76)
return ((Collection) value).contains(restoredObject);
value contains specified Objects whearas restoredObject is a java.lang.String. So the string is compared against the object instead of the opposite!
Internally the following code is proceeded: restoredObject.equals(object)
Solutions:
- convert the Collection to a Array
- work with HashMaps whereas the key is represented by the string of the object (myObject.toString)
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4543) calendar loses its value in an Ajax request inside an ajax:include but outside the updated region
by Aimar Tellitu (JIRA)
calendar loses its value in an Ajax request inside an ajax:include but outside the updated region
-------------------------------------------------------------------------------------------------
Key: RF-4543
URL: https://jira.jboss.org/jira/browse/RF-4543
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: JDK 1.6.0_05, JBoss AS 4.2.1, Mojarra 1.2_09-b02-FCS, RichFaces 3.2.2
Reporter: Aimar Tellitu
rich:calendar loses its value in an Ajax request if it is inside an ajax:include, but outside the updated region. This problem is not present in previous versions of RichFaces like the 3.2.1, 3.2.0, ...
Here is a very simple example. First, you choose any date in the rich:calendar, and then you click the selectBooleanCheckbox.
The main page, home.xhtml:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j">
<f:view>
<head></head>
<body>
<h:outputText value="with a4j:include"/>
<a4j:include id="homepage" viewId="/homepage.xhtml" />
</body>
</f:view>
</html>
And the included template, homepage.xhtml:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich">
<body>
<ui:composition>
<h:form>
<rich:calendar value="#{test.date}" popup="true" />
<a4j:region>
<h:selectBooleanCheckbox value="#{test.check}">
<a4j:support event="onclick"/>
</h:selectBooleanCheckbox>
</a4j:region>
</h:form>
</ui:composition>
</body></html>
This problem is only happening if the rich:calendar is inside an <a4j:include> and outside the region that is updated.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4548) rich:dropDownMenu: display and behavior problems
by Seg Fault (JIRA)
rich:dropDownMenu: display and behavior problems
------------------------------------------------
Key: RF-4548
URL: https://jira.jboss.org/jira/browse/RF-4548
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2, 3.2.1, 3.2.0.SR1, 3.2.0
Environment: Fedora 9 x86_64, OpenJDK 1.6.0-b09 64bit version, Apache Tomcat 6.0.18 , Sun JSF 1.2_09-b02, Richfaces 3.2.2
Reporter: Seg Fault
I need to use the Richfaces 3.2.x version (actually, 3.2.2) for the new features of data scroller and scrollable table.
However, the migration breaks the correct behavior of rich:dropDownMenu component.
I read the migration guide, but this should not affect me since my JSF version is greater than 1.2_08.
I've already submitted a post in the Richfaces users forum
http://jboss.com/index.html?module=bb&op=viewtopic&t=142972
There you can find output examples and a sample code you can use to *hopefully* reproduce this *possible* bug.
Thank you in advance for the help!!
-- Marco
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4730) Disable Jtidy filter in Richfaces
by Andrey Koukharenko (JIRA)
Disable Jtidy filter in Richfaces
---------------------------------
Key: RF-4730
URL: https://jira.jboss.org/jira/browse/RF-4730
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Andrey Koukharenko
<context-param>
<param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
<param-value>NONE</param-value>
</context-param>
//To set all pages to work without any parser
<context-param>
<param-name>org.ajax4jsf.xmlparser.NONE</param-name>
<param-value>/*</param-value>
</context-param>
//Some new configuration to stop parsing(the parameter could changes because it's not in current release yet)
<context-param>
<param-name>org.ajax4jsf.xmlfilter.forcenotrf</param-name>
<param-value>false</param-value>
</context-param>
<filter>
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<init-param>
<param-name>enable-cache</param-name>
<param-value>true</param-value>
</init-param>
//also disable parser that are default
<init-param>
<param-name>forceparser</param-name>
<param-value>false</param-value>
</init-param>
</filter>
Doesn't work at all. Jtidy is still running.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4929) a4j commandLink not invoking action method in action class
by Durgesh Vasmatkar (JIRA)
a4j commandLink not invoking action method in action class
----------------------------------------------------------
Key: RF-4929
URL: https://jira.jboss.org/jira/browse/RF-4929
Project: RichFaces
Issue Type: Bug
Components: portal
Environment: Dev: Windows 9X
Reporter: Durgesh Vasmatkar
Hello,
I am using a4j commandLink in a rich:dataTable as below
<rich:dataTable value="#{callLogAction.callsLogged}" var="callLogBean">
<rich:column>
<a4j:commandLink id="lnkCallDetails" action="#{callLogAction.loadPreviousCallDetails}">
<h:outputText value="#{callLogBean.dateStamp}" />
</a4j:commandLink>
</rich:column>
</rich:dataTable>
Somehow, loadPreviousCallDetails method in action class callLogAction is not invoked.
But if i write just like below (outside rich:dataTable)
<a4j:commandLink id="lnkCallDetails" action="#{callLogAction.loadPreviousCallDetails}">
<h:outputText value="#{callLogBean.dateStamp}" />
</a4j:commandLink>
action method is invoked.
Please help !!!
Durgesh
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-3670) Modal Panel preventFocus JS function slow
by Tom Tamulewicz (JIRA)
Modal Panel preventFocus JS function slow
-----------------------------------------
Key: RF-3670
URL: http://jira.jboss.com/jira/browse/RF-3670
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: Windows XP, Sun RI 1.2
Reporter: Tom Tamulewicz
I have a page with a 500 row table. Each row has a "delete" link that brings up a modal panel. The modal panel takes 4-5 seconds (with CPU spiked) to appear under MSIE 6 or 7. The time it takes to show up is proportional to how many rows in the table. If I have a small number, the modal panel shows quickly. The problem appears to be due to slowness in the modalPanel.js preventFocus() function, which is called from the show() function.
My test page wasn't very complicated, with a bean providing a list of 500 objects.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html 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:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
<body>
<!-- The text above will not be rendered. -->
<ui:composition>
<h:form id="testForm">
<rich:modalPanel id="confirmModal" height="200" width="425" zindex="2000" resizeable="false">
<table width="100%">
<tr>
<td align="center" colspan="3">
<h:commandButton id="yes" value="yes"/>
</td>
<td align="center" colspan="3">
<h:commandButton id="no" value="no"/>
</td>
</tr>
</table>
</rich:modalPanel>
<rich:dataTable id="testTable" value="#{testList.dataList}" var="element">
<rich:column>
<h:outputText value='#{element.index}' />
</rich:column>
<rich:column>
<h:outputText value='#{element.name}' />
</rich:column>
<rich:column id="deleteObjectColumn" width="10%" sortable="false">
<a4j:commandLink value="delete" id="commandDialogLink"
onclick="Richfaces.showModalPanel('confirmModal',{width:425, top:200});"/>
</rich:column>
</rich:dataTable>
</h:form>
</ui:composition>
<!-- The text below will not be rendered. -->
</body>
</html>
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4573) Hide of information when we use modal panel resizing
by Slava Davidovich (JIRA)
Hide of information when we use modal panel resizing
----------------------------------------------------
Key: RF-4573
URL: https://jira.jboss.org/jira/browse/RF-4573
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JBOSS AS 4.2.2 RF3.2.1 SE1.5
Reporter: Slava Davidovich
Priority: Critical
When we open resizeable modal panel using script "Richfaces.showModalPanel('testMPanel');" and resize it we expect that modal panel content scrolling appears, but it just hide data.
for example:
<rich:modalPanel id="testMPanel" width="260" height="100" resizeable="true">
<f:facet name="header">
<h:outputText value="testTitle"/>
</f:facet>
<a4j:form>
<h:panelGrid columns="1"></h:panelGrid>
<h:outputText value="test"/>
<h:outputText value="test"/>
<h:outputText value="test"/>
<h:outputText value="test"/>
<h:outputText value="test"/>
<h:outputText value="test"/>
<h:outputText value="test"/>
<h:outputText value="test"/>
</table>
<a4j:commandButton value="#{messages['No']}" styleClass="button" onclick="Richfaces.hideModalPanel('testDlg');"/>
</h:panelGrid>
</a4j:form>
</rich:modalPanel>
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-2648) Wrong place of context menu in datatable with scrollbar
by Marcin Bednarek (JIRA)
Wrong place of context menu in datatable with scrollbar
-------------------------------------------------------
Key: RF-2648
URL: http://jira.jboss.com/jira/browse/RF-2648
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: Windows Vista, Firefox 2.0.0.12
Reporter: Marcin Bednarek
I have a datatable with css scrollbar.
<rich:panel id="dirView" style="margin-left: 310px;width:830px;height:420px;position:absolute;top:65px;overflow:auto;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;">
<rich:dataTable id="lineItemTable" cellpadding="0" cellspacing="0" border="0" var="element" value="#{treeBean.folderData}">
.......
In one column I have context menu :
<rich:column style="width:580px;">
<s:div id="fileName" rendered="#{element.nodeType=='F'}">
<rich:contextMenu id="fileNameContextMenu" event="oncontextmenu" attached="true"
submitMode="ajax" hideDelay="60000">
<rich:menuItem value="History"
action="#{treeBean.setSelectedDocument(element)}"
oncomplete="Richfaces.showModalPanel('versionModalPanel');"
id="showVersion" status="statusDirView"
reRender="fileVersionModalHeader">
</rich:menuItem>
</rich:contextMenu>
<h:graphicImage value="/images/iconFile.gif">
</h:graphicImage>
<h:outputLabel value="#{element.name}">
</h:outputLabel>
</s:div>
</rich:column>
</rich:dataTable>
</rich:panel>
There are a lot of rows in the table. When I scroll down and click on column to show context menu it is shown in wrong place (near
top of the table). It looks like the scrollbar position isn't taken into consideration when calculating the position of context menu.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-2977) Caption not rendered immediately after table element in rich:dataTable
by Peter Haldbæk (JIRA)
Caption not rendered immediately after table element in rich:dataTable
----------------------------------------------------------------------
Key: RF-2977
URL: http://jira.jboss.com/jira/browse/RF-2977
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: OS: Windows XP
Platform: JBoss AS 4.2.1.GA, Sun JDK 1.6.0_02
Reporter: Peter Haldbæk
According to the HTML 4.01 specification the CAPTION element is only permitted immediately after the TABLE start tag. When using the rich:dataTable component together with the facet:caption component a COLGROUP tag is inserted before the CAPTION tag making the html invalid.
Consider the following snippet:
<rich:dataTable id="list" var="region" value="#{regions.regions}">
<f:facet name="caption">Regions</f:facet>
<rich:column>
<f:facet name="header">Value</f:facet>
<h:outputText value="#{region.value}" />
</rich:column>
<rich:column>
<f:facet name="header">Label</f:facet>
<h:outputText value="#{region.label}" />
</rich:column>
</rich:dataTable>
Where the parameter 'regions' is a seam component containing a method getRegions returning a List of SelectItem (containing the methods getValue and getLabel).
This will result in HTML like this:
<table id="list" class="dr-table rich-table" cellspacing="0" cellpadding="0" border="0">
<colgroup span="2"/>
<caption class="dr-table-caption rich-table-caption">Regions</caption>
...
</table>
which is invalid HTML. I have seen this in earlier versions (pre 3.2.0) of RichFaces as well.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4473) a4j:commandButton doesn´t show messages in <h:messages> when it's an exception in the actionListener.
by Aimar Tellitu (JIRA)
a4j:commandButton doesn´t show messages in <h:messages> when it's an exception in the actionListener.
-----------------------------------------------------------------------------------------------------
Key: RF-4473
URL: https://jira.jboss.org/jira/browse/RF-4473
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: JDK 1.6.0_05, JBoss AS 4.2.1, Mojarra 1.2_09-b02-FCS, RichFaces 3.2.2 and 3.2.1
Reporter: Aimar Tellitu
a4j:commandButton doesn´t show messages in <h:messages> when it's an exception in the actionListener. But with <h:commandButton> the messages are shown.
Here is a simple example:
<h:form>
<h:commandButton value="Test with h" actionListener="#{test.throwAbortProcessingException}" />
<a4j:commandButton value="Test with a4j" actionListener="#{test.throwAbortProcessingException}" />
<a4j:outputPanel ajaxRendered="true">
<h:messages/>
</a4j:outputPanel>
</h:form>
And the code of the Managed Bean:
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.event.AbortProcessingException;
import javax.faces.event.ActionEvent;
public class Test {
public void throwAbortProcessingException( ActionEvent event ) {
addMessage( event, "Message before AbortProcessingException");
throw new AbortProcessingException();
}
public void addMessage( ActionEvent event, String message ) {
FacesContext context = FacesContext.getCurrentInstance();
String clientId = event.getComponent().getClientId(context);
context.addMessage( clientId, new FacesMessage("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
17 years, 3 months
[JBoss JIRA] Created: (RF-5168) icon is transparent in the FF and Safari in the application with darkX style
by Tatyana Romanovich (JIRA)
icon is transparent in the FF and Safari in the application with darkX style
----------------------------------------------------------------------------
Key: RF-5168
URL: https://jira.jboss.org/jira/browse/RF-5168
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
1. Create test application, add rich:modalPanel component with control facet:
<rich:modalPanel id="_panel"
minHeight="100" minWidth="550" height="125" width="750" zindex="2000">
<f:facet name="header">
<h:outputText value="Events..." />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="/pics/disc.gif" onclick="Richfaces.hideModalPanel('_panel');" />
</f:facet>
<h:outputText value="Event 5678789678..." />
</rich:modalPanel>
2. Set darkX style
3. Run and open application in FF, Opera, IE 6,7, Safari
4. Verify modalPanel displaying:
FAILURE: icon in the control facet is transparent in the FF and Safari
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-5300) columns: begin attribute ignore last columns, instead of earliest under facelets & seamApp application(jsf1.2_10)
by Mikhail Vitenkov (JIRA)
columns: begin attribute ignore last columns, instead of earliest under facelets & seamApp application(jsf1.2_10)
-----------------------------------------------------------------------------------------------------------------
Key: RF-5300
URL: https://jira.jboss.org/jira/browse/RF-5300
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA3)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Add rich:columns inside rich:dataTable following way:
<rich:dataTable id="richColumnsID" value="#{columns.data1}" var="d1" rendered="#{columns.dataTableRendered}">
...<rich:columns value="#{columns.data2}" var="d2" footerClass="test" headerClass="#{style.headerClass}" breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
columns="#{columns.columns}" index="index" rowspan="#{columns.rowspan}" begin="#{columns.begin}" end="#{columns.end}" width="#{columns.width}" style="#{style.style}" styleClass="#{style.styleClass}"
sortOrder="#{columns.orderings[index]}" sortBy="#{d1.str0}"
filterBy="#{d1.str0}" selfSorted="true" sortable="true"
filterValue="#{columns.filterValue[index]}" filterMethod="#{columns.filterMethod}">
<f:facet name="header">
<h:outputText value="header #{index}"></h:outputText>
</f:facet>
<h:outputText value="#{d2}"></h:outputText>
<h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
<f:facet name="footer">
<h:outputText value="Footer #{index}"></h:outputText>
</f:facet>
</rich:columns>
...</rich:dataTable>
#2. Define data for columns and fill it:
private ArrayList<String> data2;
for (int i = 0; i < length1; i++) {
data2.add("data[" + i + "]");
}
getter & setter.
#3. Set begin attribute to '2';
#4. Navigate to page & verify columns' data.
Actual behavior:
The last colunm is ignored.
Expected behavior:
The first colunm is ignored.
--
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
17 years, 3 months
[JBoss JIRA] Created: (RF-4005) calendar: there are no validation or error messages when firstWeekDay attribute gets unvalid value
by Tatyana Romanovich (JIRA)
calendar: there are no validation or error messages when firstWeekDay attribute gets unvalid value
--------------------------------------------------------------------------------------------------
Key: RF-4005
URL: https://jira.jboss.org/jira/browse/RF-4005
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RF-3.2.2.BETA2
jsp, facelets
Tomcat 6
all browsers
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
Priority: Minor
1. Create any tested application
2. Add calendar component and set incorrect value for firstWeekDay="13" (allowed value from 0 till 6)
2. Run application on the server and go to the page with calendar component, expand it
FAILURE: No warnings and errors are appeared, default value for firstWeekDay wasn't be applied, weekends were not highlighted.
It'll be better if some warning or info messages appears for developers about incorrect value of attribute.
--
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
17 years, 3 months