[JBoss JIRA] Created: (RF-2844) ListShuttle: JS error when doubleclicking any input
by Tsikhon Kuprevich (JIRA)
ListShuttle: JS error when doubleclicking any input
---------------------------------------------------
Key: RF-2844
URL: http://jira.jboss.com/jira/browse/RF-2844
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: 3.2.0.CR7
FF
Reporter: Tsikhon Kuprevich
Assigned To: Nick Belaevski
ListShuttle: JS error when doubleclicking any input
selectItemNode has no properties
getSelectItemByNode(undefined)ListBase.js.jsf (line 350)
moveItem(Object rich:destructor=destroy selectedItems=[0], Object rich:destructor=destroy selectedItems=[0], undefined)ListShuttle.js.js... (line 168)
moveItemByClick(dblclick clientX=0, clientY=0, Object rich:destructor=destroy selectedItems=[0], Object rich:destructor=destroy selectedItems=[0], undefined)ListShuttle.js.js... (line 221)
(no name)(dblclick clientX=0, clientY=0)ListShuttle.js.js... (line 65)
bindAsEventListener(dblclick clientX=0, clientY=0)a4j_3_2_0.CR7org.... (line 217)
wrapper(dblclick clientX=0, clientY=0)a4j_3_2_0.CR7org.... (line 3850)
[Break on this error] if (selectItemNode.rowIndex == item._node.rowIndex) {
--
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, 4 months
[JBoss JIRA] Created: (RF-3200) listShuttle: boardered columns' headers aren't shown completely.
by Mikhail Vitenkov (JIRA)
listShuttle: boardered columns' headers aren't shown completely.
----------------------------------------------------------------
Key: RF-3200
URL: http://jira.jboss.com/jira/browse/RF-3200
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: IE,FF,Safari,Opera
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Attachments: listShuttleBoarder.png
see attached mock up.
& code:
<%@ 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"%>
<f:subview id="listShuttleSubviewID">
<rich:listShuttle id="listShuttleID" var="item" sourceValue="#{listShuttle.sourceValue}" targetValue="#{listShuttle.targetValue}"
bottomControlLabel="#{listShuttle.bottomControlLabel}" copyAllControlLabel="copy-copy"
copyControlLabel="copyControll" downControlLabel="#{listShuttle.downControlLabel}"
fastMoveControlsVisible="#{listShuttle.fastMoveControlsVisible}" converter="listShuttleConverter"
fastOrderControlsVisible="#{listShuttle.fastOrderControlsVisible}" first="#{listShuttle.first}"
moveControlsVisible="#{listShuttle.moveControlsVisible}" orderControlsVisible="#{listShuttle.orderControlsVisible}"
removeAllControlLabel="#{listShuttle.removeAllControlLabel}" removeControlLabel="#{listShuttle.removeControlLabel}"
sourceSelection="#{listShuttle.sourceSelection}" targetSelection="#{listShuttle.targetSelection}"
showButtonLabels="#{listShuttle.showButtonLabels}" switchByClick="#{listShuttle.switchByClick}"
targetListWidth="#{listShuttle.targetListWidth}" sourceListWidth="#{listShuttle.sourceListWidth}"
listsHeight="#{listShuttle.listsHeight}" sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
topControlLabel="#{listShuttle.topControlLabel}" upControlLabel="#{listShuttle.upControlLabel}">
<h:column>
<f:facet name="header">
<h:outputText value="Number" />
</f:facet>
<h:outputText value="#{item.int0}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
<h:inputText value="#{item.str0}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Button" />
</f:facet>
<h:commandButton onclick="submit();" action="#{listShuttle.cbAction}" value="#{item.str0} submit();"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Input" />
</f:facet>
<h:inputText value="#{item.str1}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Link" />
</f:facet>
<a4j:commandLink action="#{listShuttle.clAction}" value="#{item.str1} submit()" reRender="listShuttleID"></a4j:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="select" />
</f:facet>
<h:selectOneMenu value="#{item.str2}">
<f:selectItem itemLabel="select0" itemValue="select0" />
<f:selectItem itemLabel="select1" itemValue="select1" />
<f:selectItem itemLabel="select2" itemValue="select2" />
<f:selectItem itemLabel="select3" itemValue="select3" />
<f:selectItem itemLabel="select4" itemValue="select4" />
<a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
</h:selectOneMenu>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Text" />
</f:facet>
<h:outputText value="#{item.str3}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="graphicImage" />
</f:facet>
<h:graphicImage value="#{item.str3}" />
</h:column>
</rich:listShuttle>
</f:subview>
--
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, 4 months
[JBoss JIRA] Closed: (RF-1713) RichFaces 'double implementation' MethodNotFoundException bug
by Aleksej Yanul (JIRA)
[ http://jira.jboss.com/jira/browse/RF-1713?page=all ]
Aleksej Yanul closed RF-1713.
-----------------------------
> RichFaces 'double implementation' MethodNotFoundException bug
> -------------------------------------------------------------
>
> Key: RF-1713
> URL: http://jira.jboss.com/jira/browse/RF-1713
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Environment: Linux, Jboss AS 4.2.2, Seam 2.0.0 GA
> Reporter: Bram Biesbrouck
> Assigned To: Aleksej Yanul
> Fix For: 3.2.0, 3.2.1
>
> Attachments: dummy.ear, dummy.zip
>
>
> When I use "adviseNodeOpened" in a rich:tree component, I end up with a javax.faces.el.MethodNotFoundException:
> adviseNodeOpened="#{fileSystemManager.adviseFileSystemTreeNodeOpened}": Method not found: FileSystemManagerImpl:3j011-9i11xv-faathdgv-1-faauxftc-h.adviseFileSystemTreeNodeOpened(org.richfaces.component.UITree)
> The former solution was to set UseJBossWebLoader to true, but this breaks the Seam Mail functionality.
> The new solution came when RichFaces impl and api were splitted, but nothing changed with "adviseNodeOpened"
> In the Wiki-example build.xml, I'm seeing this comment:
> <!-- Still need the * on richfaces due to bug in version mapper -->
> Could this be the reason (the fact that we can't split out the api in the war file just yet) for this exception to be thrown?
--
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, 4 months
[JBoss JIRA] Created: (RF-2969) richfaces calendar component does not support custom date type correctly
by Tim Evers (JIRA)
richfaces calendar component does not support custom date type correctly
------------------------------------------------------------------------
Key: RF-2969
URL: http://jira.jboss.com/jira/browse/RF-2969
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Tim Evers
To reproduce this problem:
Create a custom date type (eg. MyDate.class)
Create a converter(MyDateConverter.class) for the custom date type and register it for the custom date type (converter-for-class MyDate.class)
Now create a richfaces calendar component that has its value attribute bound to a variable of type MyDate.class
Expected result:
In Get Scenario - String value of MyDate.class is displayed on page, using MyDateConverter.getAsString()
In Post Scenario - value of MyDate.class is updated based on the string value in calendar component, using MyDateConverter.getAsObject()
Actual result
In Get Scenario - String value of MyDate.class is displayed on page, using MyDateConverter.getAsString() (This works!!! yay)
In Post Scenario - "Error, invalid attribute type", getAsObject is never called on MyDateConverter
Workaround:
Specify in the calendar component the converter. eg
<rich:calendar id="myDateInput"
enableManualInput="true"
value="#{MyBean.myDate}"
converter="MyDateConverter"
datePattern="dd/mm/yyyy" />
--
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, 4 months
[JBoss JIRA] Created: (RF-2482) calendar bundle is not used if message-bundle is not set
by Grigory Mischenko (JIRA)
calendar bundle is not used if message-bundle is not set
--------------------------------------------------------
Key: RF-2482
URL: http://jira.jboss.com/jira/browse/RF-2482
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Reporter: Grigory Mischenko
Priority: Minor
if message-bundle is not set in faces-config.xml, Calendar don't use org.richfaces.renderkit.calendar.
The bug is in CalendarRendererBase.writeStringsFromBundle. CALENDAR_BUNDLE should be used if varibal "lable" is not null. At present code CALENDAR_BUNDLE is used if message bundle exists and it don't cantain lable.
Wrong code:
public void writeStringsFromBundle(ResourceBundle bundle1, ResourceBundle bundle2, String name,
ResponseWriter writer) throws IOException {
String label = null;
try {
if(null != bundle1){
label = bundle1.getString("RICH_CALENDAR_" + name.toUpperCase() + "_LABEL");
}
} catch (MissingResourceException e) {
// Current key wasn't found in application bundle, use CALENDAR_BUNDLE
try {
if(null != bundle2){
label = bundle2.getString("RICH_CALENDAR_" + name.toUpperCase() + "_LABEL");
}
} catch (MissingResourceException exc) {
// Current key wasn't found, use default, ignore this exception.
}
}
writeStringFoundInBundle(name, label, writer);
}
Right code:
public void writeStringsFromBundle(ResourceBundle bundle1, ResourceBundle bundle2, String name,
ResponseWriter writer) throws IOException {
String label = null;
try {
if(null != bundle1){
label = bundle1.getString("RICH_CALENDAR_" + name.toUpperCase() + "_LABEL");
}
} catch (MissingResourceException e) {
}
if(null == label) {
// Current key wasn't found in application bundle, use CALENDAR_BUNDLE
try {
if(null != bundle2){
label = bundle2.getString("RICH_CALENDAR_" + name.toUpperCase() + "_LABEL");
}
} catch (MissingResourceException exc) {
// Current key wasn't found, use default, ignore this exception.
}
}
writeStringFoundInBundle(name, label, writer);
}
--
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, 4 months