[JBoss JIRA] Created: (RF-4426) Framework: error parsing date header under WL 10.3
by Nick Belaevski (JIRA)
Framework: error parsing date header under WL 10.3
--------------------------------------------------
Key: RF-4426
URL: https://jira.jboss.org/jira/browse/RF-4426
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: WL 10.3/FF 3.01 as client
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: 3.2.2
09.09.2008 4:50:59 org.ajax4jsf.resource.InternetResourceService serviceResource
WARNING: Error in parsing request If-Modified-Since header
java.lang.IllegalArgumentException: Bad date header: 'Tue, 09 Sep 2008 01:47:21 GMT'
at weblogic.servlet.internal.ServletRequestImpl.getDateHeader(ServletRequestImpl.java:983)
at javax.servlet.http.HttpServletRequestWrapper.getDateHeader(HttpServletRequestWrapper.java:83)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:167)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
--
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
13 years, 10 months
[JBoss JIRA] Created: (RF-7235) tabPanel: valueChangeListener called in UPDATE_MODEL_VALUES phase instead of PROCESS_VALIDATIONS phase
by Vadim Mikovoz (JIRA)
tabPanel: valueChangeListener called in UPDATE_MODEL_VALUES phase instead of PROCESS_VALIDATIONS phase
------------------------------------------------------------------------------------------------------
Key: RF-7235
URL: https://jira.jboss.org/jira/browse/RF-7235
Project: RichFaces
Issue Type: Bug
Components: component-output
Affects Versions: 3.3.2.CR1
Reporter: Vadim Mikovoz
Assignee: Nick Belaevski
Precondition:
<rich:tabPanel value="#{custom.value}"
valueChangeListener="#{custom.valueChangeListener}"
immediate="false">
<rich:tab></rich:tab>
<rich:tab></rich:tab>
</rich:tabPanel>
In bean:
public void valueChangeListener(ValueChangeEvent e) {
System.out.println("***>> valueChangeListener");
}
1. Open test page
2. Switch between tabs
3. See server log
------------------------
Actual result: valueChangeListener called in UPDATE_MODEL_VALUES phase
Expected result: valueChangeListener should be called in PROCESS_VALIDATIONS phase
--
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
13 years, 11 months
[JBoss JIRA] Created: (RF-6030) tabPanel: in IE6-7 works wrong in scrollable container within modal Panel.
by Ilya Shaikovsky (JIRA)
tabPanel: in IE6-7 works wrong in scrollable container within modal Panel.
--------------------------------------------------------------------------
Key: RF-6030
URL: https://jira.jboss.org/jira/browse/RF-6030
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
tabs not scrolled together with the other content inside.
<rich:modalPanel
showWhenRendered="true"
resizeable="false"
width="940"
height="600">
<f:facet name="header">
<h:outputText value="Test" />
</f:facet>
<s:div style="overflow: auto; height: 400px; width: 870px">
<rich:simpleTogglePanel switchType="client" width="790">
<f:facet name="header">
Header 1
</f:facet>
<div style="height:200px;width:700px">
<rich:tabPanel switchType="client">
<rich:tab>
</rich:tab>
<rich:tab>
</rich:tab>
<rich:tab>
</rich:tab>
</rich:tabPanel>
</div>
</rich:simpleTogglePanel>
<rich:simpleTogglePanel switchType="client" width="790">
<f:facet name="header">
Header 2
</f:facet>
<div style="height:200px;width:700px">
<rich:tabPanel switchType="client">
<rich:tab>
</rich:tab>
<rich:tab>
</rich:tab>
<rich:tab>
</rich:tab>
</rich:tabPanel>
</div>
</rich:simpleTogglePanel>
</s:div>
</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
13 years, 11 months
[JBoss JIRA] Created: (RF-5385) rich:comboBox ignore label of SelectItem(s)
by Andreas Höhmann (JIRA)
rich:comboBox ignore label of SelectItem(s)
-------------------------------------------
Key: RF-5385
URL: https://jira.jboss.org/jira/browse/RF-5385
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: java 1.5
myfaces 1.2
Reporter: Andreas Höhmann
Priority: Critical
<rich:comboBox id="scaleOfActions"
defaultLabel="Enter some value"
directInputSuggestions="false"
enableManualInput="false"
selectFirstOnUpdate="false"
value="#{Bean.value}">
<f:selectItems value="#{utils:selectItemsLocalizedEnumString('PER_HOUR,PER_DAY,PER_WEEK,PER_MONTH,PER_YEAR')}" />
</rich:comboBox>
I expected this (this is the correct output of h:selectOneMenu with a4j:support ...)
<select id="form_subsystem_safety:scaleOfActions" class="smallField" name="form_subsystem_safety:scaleOfActions" size="1" onkeyup="if(event.keyCode!=13) return false; ;A4J.AJAX.Submit('_viewRoot','form_subsystem_safety',event,{'eventsQueue':'sid','parameters':{'form_subsystem_safety:scaleOfActions_livevalidation_enterpressed':'form_subsystem_safety:scaleOfActions_livevalidation_enterpressed'} ,'actionUrl':'../../sid-base-web-app/main/sid.jsf;jsessionid=1xss4deh2fa52','ignoreDupResponses':true,'requestDelay':250} )" style="" onchange=";A4J.AJAX.Submit('_viewRoot','form_subsystem_safety',event,{'eventsQueue':'sid','parameters':{'form_subsystem_safety:scaleOfActions_livevalidation_onchange':'form_subsystem_safety:scaleOfActions_livevalidation_onchange'} ,'actionUrl':'../../sid-base-web-app/main/sid.jsf;jsessionid=1xss4deh2fa52','ignoreDupResponses':true,'requestDelay':250} )">
<option value="PER_HOUR" selected="selected" title="PER_HOUR">Pro Stunde</option>
<option value="PER_DAY" title="PER_DAY">Pro Tag</option>
<option value="PER_WEEK" title="PER_WEEK">Pro Woche</option>
<option value="PER_MONTH" title="PER_MONTH">Pro Monat</option>
<option value="PER_YEAR" title="PER_YEAR">Pro Jahr</option>
</select>
You see the items are correct localized ...
but rich:combobox render this:
<div id="form_subsystem_safety:scaleOfActions_r"><div class="rich-combobox-font rich-combobox smallField" id="form_subsystem_safety:scaleOfActions_rcombobox" style="width: 148px; position: static; z-index: 0;" onkeyup="if(event.keyCode!=13) return false; ;A4J.AJAX.Submit('_viewRoot','form_subsystem_safety',event,{'eventsQueue':'sid','parameters':{'form_subsystem_safety:scaleOfActions_r_livevalidation_enterpressed':'form_subsystem_safety:scaleOfActions_r_livevalidation_enterpressed'} ,'actionUrl':'../../sid-base-web-app/main/sid.jsf;jsessionid=1xss4deh2fa52','ignoreDupResponses':true,'requestDelay':250} )"><div class="rich-combobox-list-cord"/><div class="rich-combobox-font rich-combobox-shell" style="width: 150px;"><input type="text" autocomplete="off" class="rich-combobox-font-inactive rich-combobox-input-inactive" id="form_subsystem_safety:scaleOfActions_rcomboboxField" name="form_subsystem_safety:scaleOfActions_rcomboboxField" readonly="true" style="width: 135px;" value="PER_HOUR"/><input type="text" class="rich-combobox-font-inactive rich-combobox-button-background-inactive rich-combobox-button-inactive" id="form_subsystem_safety:scaleOfActions_rcomboBoxButtonBG" readonly="true"/><input type="text" class="rich-combobox-font-inactive rich-combobox-button-icon-inactive rich-combobox-button-inactive" id="form_subsystem_safety:scaleOfActions_rcomboboxButton" readonly="true" style=""/><div class="rich-combobox-strut rich-combobox-font" style="width: 140px;">Strut</div></div><input type="hidden" id="form_subsystem_safety:scaleOfActions_rcomboboxValue" name="form_subsystem_safety:scaleOfActions_r" value="PER_HOUR" class=""/><div class="rich-combobox-list-cord" id="form_subsystem_safety:scaleOfActions_rlistParent" style="position: absolute; z-index: 1000; visibility: visible; left: 458px; top: 173px; display: none;"><div class="rich-combobox-shadow"><table cellspacing="0" cellpadding="0" border="0" id="form_subsystem_safety:scaleOfActions_rshadow" style="width: 157px; height: 129px;"><tbody><tr><td class="rich-combobox-shadow-tl"><img height="1" width="10" border="0" src="../../sid-base-web-app/a4j/g/3_2_2.SR1images/spacer.gif.jsf"/><br/></td><td class="rich-combobox-shadow-tr"><img height="10" width="1" border="0" src="../../sid-base-web-app/a4j/g/3_2_2.SR1images/spacer.gif.jsf"/><br/></td></tr><tr><td class="rich-combobox-shadow-bl"><img height="10" width="1" border="0" src="../../sid-base-web-app/a4j/g/3_2_2.SR1images/spacer.gif.jsf"/><br/></td><td class="rich-combobox-shadow-br"><img height="10" width="10" border="0" src="../../sid-base-web-app/a4j/g/3_2_2.SR1images/spacer.gif.jsf"/><br/></td></tr></tbody></table></div><div class="rich-combobox-list-position" id="form_subsystem_safety:scaleOfActions_rlistPosition"><div class="rich-combobox-list-decoration" id="form_subsystem_safety:scaleOfActions_rlistDecoration"><div class="rich-combobox-list-scroll" id="form_subsystem_safety:scaleOfActions_rlist" style="height: 120px; width: 148px;"/></div></div></div></div><script type="text/javascript">//<![CDATA[
var clientId = 'form_subsystem_safety:scaleOfActions_r';
RichComboUtils.execOnLoad( function(){
Richfaces.ComboBox.CLASSES = {
BUTTON : {CLASSES :
{NORMAL : "rich-combobox-font-inactive rich-combobox-button-icon-inactive rich-combobox-button-inactive ",
ACTIVE : "rich-combobox-font rich-combobox-button-icon rich-combobox-button ",
DISABLED : "rich-combobox-font-disabled rich-combobox-button-icon-disabled rich-combobox-button-disabled ",
HOVERED : "rich-combobox-button-hovered"},
STYLE :
{NORMAL: "",
ACTIVE: "",
DISABLED: ""}
},
BUTTONBG : {CLASSES :
{NORMAL:"rich-combobox-font-inactive rich-combobox-button-background-inactive rich-combobox-button-inactive",
ACTIVE: "rich-combobox-font rich-combobox-button-background rich-combobox-button",
DISABLED : "rich-combobox-font-disabled rich-combobox-button-background-disabled rich-combobox-button-disabled"}
},
BUTTONICON : {STYLE :
{NORMAL: "",
ACTIVE: "",
DISABLED: ""}
},
FIELD : {CLASSES:
{NORMAL : "rich-combobox-font-inactive rich-combobox-input-inactive ",
ACTIVE : "rich-combobox-font rich-combobox-input ",
DISABLED : "rich-combobox-font-disabled rich-combobox-input-disabled "},
STYLE :
{NORMAL : "",
ACTIVE : "",
DISABLED : ""}
},
COMBO_LIST : {
LIST : {CLASSES :{ACTIVE : "rich-combobox-list-cord rich-combobox-list-scroll rich-combobox-list-decoration rich-combobox-list-position "},
STYLE : {ACTIVE: ""}
},
ITEM : {NORMAL : "rich-combobox-item ",
SELECTED : "rich-combobox-item rich-combobox-item-selected "
}
}
}
var combobox = new Richfaces.ComboBox( "form_subsystem_safety:scaleOfActions_r",
"form_subsystem_safety:scaleOfActions_rlist",
"form_subsystem_safety:scaleOfActions_rlistParent",
"form_subsystem_safety:scaleOfActions_rcomboboxValue",
"form_subsystem_safety:scaleOfActions_rcomboboxField",
"form_subsystem_safety:scaleOfActions_rcomboboxButton",
"form_subsystem_safety:scaleOfActions_rcomboBoxButtonBG",
"form_subsystem_safety:scaleOfActions_rshadow",
Richfaces.ComboBox.CLASSES,
"150px", "200px",
['PER_HOUR','PER_DAY','PER_WEEK','PER_MONTH','PER_YEAR'] ,
false,
true,
false,
null,
null,
"Enter some value",
false, 'PER_HOUR',
0, 0);
}, RichComboUtils.Condition.ElementPresent("form_subsystem_safety:scaleOfActions_r"), 100);
//
//]]>
</script></div>
The result is a unlocalized ui.
I guess the problem is in org.richfaces.renderkit.ComboBoxBaseRenderer:
public List<Object> encodeItems(FacesContext context, UIComponent component) throws IOException, IllegalArgumentException {
if (!isAcceptableComponent(component)) {
return null;
}
UIComboBox comboBox = (UIComboBox) component;
Object suggestionValues = comboBox.getSuggestionValues();
ResponseWriter writer = context.getResponseWriter();
List <Object>values = encodeSuggestionValues(context, component, writer, suggestionValues);
List<SelectItem> selectItems = SelectUtils.getSelectItems(context, component);
for (SelectItem selectItem : selectItems) {
String value = getConvertedStringValue(context, comboBox, selectItem.getValue());
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// selectItem.getLabel() will never called - why?
values.add(value);
encodeSuggestion(writer, comboBox, value, RICH_COMBOBOX_ITEM_CLASSES);
}
return values;
}
--
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
13 years, 11 months