[JBoss JIRA] Created: (RF-2104) Static RF resources are not cached in browser (Cache-Control max-age=0, no-store, no-cache)
by Przemyslaw Jaskierski (JIRA)
Static RF resources are not cached in browser (Cache-Control max-age=0, no-store, no-cache)
-------------------------------------------------------------------------------------------
Key: RF-2104
URL: http://jira.jboss.com/jira/browse/RF-2104
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: Tomcat 6.0.14
Reporter: Przemyslaw Jaskierski
Priority: Critical
Fix For: 3.1.4
I have a lot of RF components on a page. Using YSlow nad Firebug I figured out that all these per-component .js files are not cached by Firefox (and any other browser, because of these headers returned:
Server Apache-Coyote/1.1
Last-Modified Tue, 29 Jan 2008 13:20:53 GMT
Cache-Control max-age=0, no-store, no-cache
Pragma no-cache
Expires 0
Content-Type text/javascript
Transfer-Encoding chunked
For a complex page this adds several hundreds of kB EVERY time page is load (normal HTTP, not HTTPS request).
Since RF version id prefix is added to every such resource I see no reason why RF is not allowing to cache these resources for ever...
--
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
18 years, 2 months
[JBoss JIRA] Created: (RF-1270) getting default view from portlet.xml broke in 3.1.2.GA
by Rajeev Chandrasekaran (JIRA)
getting default view from portlet.xml broke in 3.1.2.GA
-------------------------------------------------------
Key: RF-1270
URL: http://jira.jboss.com/jira/browse/RF-1270
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.2
Reporter: Rajeev Chandrasekaran
It seems that the fix to RF-1109, may have broken portlet support? I've been using richfaces since a 3.1.0-snapshot (mostly) successfully in liferay 4.3.x. When I tried to upgrade to richfaces 3.1.2.GA, I noticed that the view root is null coming in through the AjaxFacesPortlet and blowing up later on. I think it may be possible that the view root may not be set as a result of commenting out restoreView in AjaxFacesPortlet.doView. This restoreView call used to call the portletStateHolder.getViewId(facesContext), which in turn grabbed the default viewid from the portlet config on the first rendering of the portlet.
--
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
18 years, 2 months
[JBoss JIRA] Created: (RF-1944) ToolTip: : js error
by Aleksej Yanul (JIRA)
ToolTip: : js error
-------------------
Key: RF-1944
URL: http://jira.jboss.com/jira/browse/RF-1944
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
line 167
missing ; before statement
[Break on this error] new ToolTip({'delay':0,'showEvent':'mouseover','hideDelay':0,'hideEvent':''} ,{'...
it is missed ";"
code:
new ToolTip({'showEvent':'mouseover','hideEvent':'','hideDelay':0,'delay':0} ,{'onhide':function(event){showEvent('onhideInputID', 'onhide work!')return true;},'onshow':function(event){showEvent('onshowInputID', 'onshow work!')return true;},'oncomplete':null} ,"formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3","formID:tooltipSubviewID:inp1","client",false,"bottom-right",false,10,10,"A4J.AJAX.Submit('j_id_jsp_1792437080_0','formID',event,ajaxOptions)",{'parameters':{'formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3':'formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3'} ,'actionUrl':'/jsp/pages/Rich/Rich.jsf?javax.portlet.faces.DirectLink=true','oncomplete':function(request,event,data){showEvent('oncompleteInputID', 'oncomplete work!');{var _toolTip = $('formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3').component;_toolTip.toolTipContent = $('formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3content');_toolTip.displayDiv();}},'control':this,'onbeforedomupdate':function(request,showEvent,data){;{ var _toolTip = $('formID:tooltipSubviewID:j_id_jsp_1085836497_5pc3').component;_toolTip.toolTip.style.display = 'none'; }}} );;
168
//my code:
<rich:toolTip value="toolTip for input text" onclick="showEvent('onclickInputID', 'onclick work!')"
oncomplete="showEvent('oncompleteInputID', 'oncomplete work!')" ondblclick="showEvent('ondblclickInputID', 'ondblclick work!')"
onhide="showEvent('onhideInputID', 'onhide work!')" onkeydown="showEvent('onkeydownInputID', 'onkeydown work!')"
onkeypress="showEvent('onkeypressInputID', 'onkeypress work!')" onkeyup="showEvent('onkeyupInputID', 'onkeyup work!')"
onmousedown="showEvent('onmousedownInputID', 'onmousedown work!')" onmousemove="showEvent('onmousemoveInputID', 'onmousemove work!')"
onmouseout="showEvent('onmouseoutInputID', 'onmouseout work!')" onmouseover="showEvent('onmouseoverInputID', 'onmouseover work!')"
onmouseup="showEvent('onmouseupInputID', 'onmouseup work!')" onshow="showEvent('onshowInputID', 'onshow work!')">
<f:facet name="defaultContent">
<f:verbatim>DEFAULT VALUE</f:verbatim>
</f:facet>
</rich:toolTip>
--
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
18 years, 2 months