[JBoss JIRA] Created: (RF-11395) Metamer: rich:autocomplete: client side validation (CSV) on autocomplete causes not update values in output
by Ján Jamrich (JIRA)
Metamer: rich:autocomplete: client side validation (CSV) on autocomplete causes not update values in output
-----------------------------------------------------------------------------------------------------------
Key: RF-11395
URL: https://issues.jboss.org/browse/RF-11395
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 4.1.0.Milestone2
Environment: RichFaces 4.1.0-SNAPSHOT r.5fe1b72ff67eae7dfb1b1bb22f303576ebdcf6b5
Metamer 4.1.0-SNAPSHOT r.unknown
Mojarra 2.1.2-FCS
Apache Tomcat 7.0.19
Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20100101 Firefox/7.0
Reporter: Ján Jamrich
Example (newly added) with CSV for autocomplete shows that correct value filled into autocomplete is not updated in appropriate output element (even form with this values is submitted by a4j:button. Only JSF submit button causes update this values in output, but that is completely different way how to this element get re-rendered
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] Created: (RF-4366) InputNumberSpinner: Locale will not be used for number input
by Gerrit Brehmer (JIRA)
InputNumberSpinner: Locale will not be used for number input
------------------------------------------------------------
Key: RF-4366
URL: https://jira.jboss.org/jira/browse/RF-4366
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Firefox 3.0.1
Reporter: Gerrit Brehmer
Priority: Critical
Hi,
if i want to display a number with 1 fraction digit (like with f:convertNumber) and set step to "0.5" it will always use the english notation "." for output, but jsf use the locale (e.g. de) and convert my number "5.5" -> "55" before setting to my backing bean. And if i want to write the german notation into the input field with "," the javascript i think will drop my fraction digits before posting values. if I use "en" locale all functions properly.
Bye
--
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
12 years, 6 months
[JBoss JIRA] Created: (RF-9485) IE9 Beta - AJAX broken
by Andrew May (JIRA)
IE9 Beta - AJAX broken
----------------------
Key: RF-9485
URL: https://jira.jboss.org/browse/RF-9485
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: browser compatibility
Affects Versions: 3.3.3.Final, 3.3.2.SR1
Environment: Windows Vista SP2 (Virtual PC VM), IE9 Beta
Reporter: Andrew May
In the Rich Faces Demo (3.3.3 Final) there are a couple of errors shown in the JavaScript Console in IE9, and the Ajax demos do not work.
On loading a section:
SCRIPT5007: 'undefined' is null or not an object - framework.pack.js.jsf, line 1870 character 65
On trying one of the AJAX demos (e.g. the CommandButton demo):
SCRIPT16386: No such interface supported - framework.pack.js.jsf, line 2373 character 3
In our applications (3.2.SR1), we see an error for every Ajax request:
SCRIPT16386: No such interface supported - 3_3_2.SR1org.ajax4jsf.javascript.AjaxScript, line 120 character 1
For both the SCRIPT16386 errors, the JavaScript is assigning A.outerHTML = new XMLSerializer().serializeToString(C)
I believe that this is the first version of IE9 to include XMLSerializer.
I don't know enough about XMLSerializer to know whether this is an IE9 issue or a RichFaces issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] Created: (RF-11090) rich:collapsibleSubTable cannot be nested
by Val Blant (JIRA)
rich:collapsibleSubTable cannot be nested
-----------------------------------------
Key: RF-11090
URL: https://issues.jboss.org/browse/RF-11090
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Final
Reporter: Val Blant
When _<rich:collapsibleSubTable />_ s are nested, the following error occurs:
{quote}
This page contains the following errors:
error on line 202 at column 74: Opening and ending tag mismatch: tbody line 0 and tr
Below is a rendering of the page up to the first error.
{quote}
The page is rendered up to the nested _<rich:collapsibleSubTable />_.
This error happens b/c nested sub tables render an extra _</tr>_ element after the nested subtable row.
I was able to work around the problem by making a small tweak to _CollapsibleSubTableRenderer_. The lines I added or changes are marked with *"// fix line"* comment.
{code:title=FixedCollapsibleSubTableRenderer.java|borderStyle=solid}
/**
* Allows nested subTables to be rendered properly
*/
@ResourceDependencies({
@ResourceDependency(name = "jquery.js"),
@ResourceDependency(name = "richfaces.js"),
@ResourceDependency(library="org.richfaces", name = "collapsible-subtable.ecss"),
@ResourceDependency(library="org.richfaces", name = "collapsible-subtable.js")
})
public class FixedCollapsibleSubTableRenderer extends CollapsibleSubTableRenderer {
@Override
public void encodeRow(ResponseWriter writer, FacesContext facesContext, RowHolderBase holder) throws IOException {
RowHolder rowHolder = (RowHolder)holder;
Row row = rowHolder.getRow();
putRowStylesIntoContext(facesContext, rowHolder);
rowHolder.setRowStart(true);
Iterator<UIComponent> components = row.columns();
if (rowHolder.isUpdatePartial()) {
partialStart(facesContext,((AbstractCollapsibleSubTable) row).getRelativeClientId(facesContext) + ":b");
}
int columnNumber = 0;
boolean isSubtable = false; // fix line
while (components.hasNext()) {
UIComponent component = components.next();
if(component.isRendered()) {
if(component instanceof UIColumn ) {
component.getAttributes().put(COLUMN_CLASS, getColumnClass(rowHolder, columnNumber));
encodeColumn(facesContext, writer, (UIColumn)component , rowHolder);
columnNumber++;
} else if (component instanceof AbstractCollapsibleSubTable) {
if(component.isRendered()) {
isSubtable = true; // fix line
encodeRowEnd(writer);
}
if ( ((AbstractCollapsibleSubTable) component).isExpanded() ) {
component.encodeAll(facesContext);
}
rowHolder.setRowStart(true);
}
}
}
if ( !isSubtable) encodeRowEnd(writer); // fix line
if (rowHolder.isUpdatePartial()) {
partialEnd(facesContext);
}
}
}
{code}
This renderer needs to be registered in _faces-config.xml_:
{code}
<render-kit>
<renderer>
<component-family>org.richfaces.Data</component-family>
<renderer-type>org.richfaces.CollapsibleSubTableRenderer</renderer-type>
<renderer-class>bla.FixedCollapsibleSubTableRenderer</renderer-class>
</renderer>
</render-kit>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] Created: (RF-10994) DnD: scripts not getting loaded via ajax
by Ilya Shaikovsky (JIRA)
DnD: scripts not getting loaded via ajax
----------------------------------------
Key: RF-10994
URL: https://issues.jboss.org/browse/RF-10994
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-drag/drop
Affects Versions: 4.0.0.Final
Reporter: Ilya Shaikovsky
<rich:tree value="#{aaa.rootNode}" nodeType="#{node.type}"
var="node">
<rich:treeNode type="t1">
<a4j:outputPanel layout="block">
<rich:dropTarget acceptedTypes="file"
dropListener="#{aaa.process}" />
<h:outputText value="#{node.label}" />
</a4j:outputPanel>
</rich:treeNode>
<rich:treeNode type="t2">
<a4j:outputPanel layout="block">
<rich:dragSource type="file" />
<h:outputText value="#{node.label}" />
</a4j:outputPanel>
</rich:treeNode>
</rich:tree>
Tree by default using ajax mode. So when you expanding nodes -leafs which getting loaded should be draggable. But there is no draggable script resource so you could see JS errors instead saying that Draggable si not a constructor.
If change toggleType to client - works fine. If add any draggable component to the page - it also starts works as scripts already inplace.
(should be easier to reproduce with tab panel or just conditionally rendered panel for example).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] Created: (RF-10947) rich:dragSource doesn't work after being rerendered via ajax
by Adrian Meredith (JIRA)
rich:dragSource doesn't work after being rerendered via ajax
------------------------------------------------------------
Key: RF-10947
URL: https://issues.jboss.org/browse/RF-10947
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-drag/drop
Affects Versions: 4.0.0.Final
Environment: mojarra 2.1.1 gf3.1
Reporter: Adrian Meredith
Drag Source is not applied
using the following code in a composite component
{code}
<a4j:outputPanel layout="block" styleClass="rf-ind-drag" >
<rich:dragSource type="webResult" dragValue="1"/>
<h:outputText value="works"></h:outputText>
</a4j:outputPanel>
<h:panelGroup id="content" layout="block" rendered="#{cc.attrs.rendered}" style="width: 100%; height:100%;">
<a4j:outputPanel layout="block" styleClass="rf-ind-drag" >
<rich:dragSource type="webResult" dragValue="1"/>
<h:outputText value="doesn't work"></h:outputText>
</a4j:outputPanel>
...
{code}
Basically the panel at the top is draggable, the one at the bottom (which is below the panelGroup) is not. Looking at the source its as though dragSource isn't even there as it is rendered without any reference to it (i.e. no ui-draggable class for example).
Drag and drop support was the main reason i'm using richfaces! so its very important to me as i one to drag rows from our table widget onto another panel for quick tagging of results. Unfortunately I'm gonna be away for the next two weeks but It'd be good to get more information on it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] Created: (RF-11343) tooltip: does not work attached to parent input
by Dmitry Volkov (JIRA)
tooltip: does not work attached to parent input
-----------------------------------------------
Key: RF-11343
URL: https://issues.jboss.org/browse/RF-11343
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Affects Versions: 4.0.0.Final
Environment: Firefox 6, IE 8, MyFaces 2.0.3, Websphere AS 8
Reporter: Dmitry Volkov
Tooltip does not work:
{code:xml}
<h:form>
<a4j:outputPanel id="pn">
<h:inputText>
<rich:tooltip>
Hello world!
</rich:tooltip>
</h:inputText>
<a4j:commandButton value="rerender" render="pn"/>
</a4j:outputPanel>
</h:form>
{code}
But works after ajax rerender("rerender" button click).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months