[JBoss JIRA] Created: (RF-2046) "immediate" attribute for inputs
by Nick Belaevski (JIRA)
"immediate" attribute for inputs
--------------------------------
Key: RF-2046
URL: http://jira.jboss.com/jira/browse/RF-2046
Project: RichFaces
Issue Type: Bug
Components: doc
Affects Versions: 3.1.4, 3.2.0
Reporter: Nick Belaevski
Assigned To: Svetlana mukhina
Fix For: 3.1.4, 3.2.0
Cite from orderingList.xml:
<property>
<name>immediate</name>
<classname>boolean</classname>
<description>True means, that the default ActionListener should be executed immediately
(i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase
</description>
</property>
That applies to command components only, not the input ones
--
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, 10 months
[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
17 years, 10 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
17 years, 10 months
[JBoss JIRA] Created: (RF-2845) ListShuttle: JS error when clicking any input (switchbyclick=true)
by Tsikhon Kuprevich (JIRA)
ListShuttle: JS error when clicking any input (switchbyclick=true)
------------------------------------------------------------------
Key: RF-2845
URL: http://jira.jboss.com/jira/browse/RF-2845
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: 3.2.0.CR7
FF
Reporter: Tsikhon Kuprevich
Assigned To: Nick Belaevski
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(click clientX=0, clientY=0, Object rich:destructor=destroy selectedItems=[0], Object rich:destructor=destroy selectedItems=[0], undefined)ListShuttle.js.js... (line 221)
(no name)(click clientX=0, clientY=0)ListShuttle.js.js... (line 60)
bindAsEventListener(click clientX=0, clientY=0)a4j_3_2_0.CR7org.... (line 217)
wrapper(click 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
17 years, 10 months